[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-cvs
Subject:    Re: [PEAR-CVS] cvs: pear /Net_UserAgent_Mobile/Mobile DoCoMo.php
From:       KUBO Atsuhiro <kubo () iteman ! jp>
Date:       2009-05-26 4:30:00
Message-ID: bf7311b70905252130q5f80384ev5edd2e80f647482a () mail ! gmail ! com
[Download RAW message or body]

2009/5/26 Daniel O'Connor <daniel.oconnor@gmail.com>:
>> There are my questions:
>>
>> 1. Should tests work in individual directories?
>
> Ideally, yes.
>
>
>>
>> 2. If tests should work in individual directories, what's the best way to
>> do it?
>
> If your package is Foo_Bar
>
> /pear-cvs/pear/Foo_Bar/Foo/Bar.php
>
> Everything is bold is exactly like the package structure when it's
> installed.
>
> That way the include_path of "." takes high precedence over /usr/share/php
> or whereever packages are installed; and you don't accidentally test the
> wrong version(s) (like I did oops!)

OK, I will change the directory structure before the next release.

>>  3. To change the directory structure will cause many CVS logs to be
>> lost. Even so, should I do it?
>
> That's a tough one :(
>
> My personal opinion - yes, it's worth it, you can always 'show dead files'
> and diff them by hand (its just a bit more of a PITA)
> Others might differ on that.

Thanks for your opinion.
Fortunately, we have a great software called git, we can get help from it.

--
KUBO Atsuhiro e-mail: kubo@iteman.jp

-- 
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic