[php-maint] Some goodies

Ondřej Surý ondrej at sury.org
Fri Feb 10 12:21:10 UTC 2012


On Fri, Feb 10, 2012 at 13:01, Lior Kaplan <kaplan at debian.org> wrote:
> On Fri, Feb 10, 2012 at 1:57 PM, Ondřej Surý <ondrej at sury.org> wrote:
>>
>> /git/pkg-php/php-maint-tools is a git repo which have some scripts:
>>
>> - I have used for mass bug filling (php54-reportbug)
>> - I have used to check packages for known bugs (php-check)
>>
>> If anybody has a time then php-check could be improved to transform to
>> generic phplint and include more tests (f.e. t1lib functions removal
>> should be checked)
>>
>> /git/pkg-php/php-src/ keeps up-to-date (update hourly) git-svn
>> repository of upstream SVN. You cannot use it using cloning, but you
>> will have to do rsync this directly to your local filesystem first.
>> But the 'git svn clone' is lengthy and cpu/bandwidth-intense process,
>> so it is a good head start. This would at least help me to not want to
>> kill myself everytime I work with upstream SVN.
>
>
> Do we really need a clone of upstream files?
>
> We usually only need the official versions (and cherry-pick once in a
> while).

I need it to keep my sanity level.

Have you tried to do git log vs svn log?

ondrej at howl:~/Projects/pkg-php/php-src$ time git log > /dev/null

real	0m1.236s
user	0m1.216s
sys	0m0.020s
ondrej at howl:~/Projects/pkg-php/php-src$ cd ../php-src-5.4
ondrej at howl:~/Projects/pkg-php/php-src-5.4$ time svn log > /dev/null
^C^C^C^C^C^C^C^\Quit

real	2m49.669s
user	0m0.212s
sys	0m0.024s

It is so f*cking hard to use big SVN repository (for me) that it's
almost impossible.

I am not forcing anybody to use it, I am just sharing the result of
git svn clone, so you don't have to run it again if you want to use
it.

O.
-- 
Ondřej Surý <ondrej at sury.org>



More information about the pkg-php-maint mailing list