forwarded 675159 
http://fusionforge.org/tracker/?func=detail&atid=105&aid=414&group_id=6
thanks

Olivier Berger <[email protected]> writes:

> Olivier Berger <[email protected]> writes:
>>
>> By letting crons report errors, I get :
>>
>> fatal: Not a valid object name
>>
>> This can be reproduced with : # /usr/bin/php -q -d 
>> include_path=.:/etc/gforge:/usr/share/gforge:/usr/share/gforge/www/include 
>> /usr/share/gforge/cronjobs/generate_scm_snapshots.php
>>
>
> From first quick investigation, I can see it happens inside pre.php.
>

Obviously, that was too quick, as I missed the PHP output buffering
factor.

The error is actually in git archive instead.

There's a proposed fix upstream for this.

Will wait until it propagates.

Note that in case it happens because a repository doesn't have a valid
HEAD like a master branch, but has another branch, one can "fix" this
with :
# GIT_DIR="/var/lib/gforge/chroot/scmrepos/git/projname/projname.git" git 
symbolic-ref HEAD refs/heads/branch-whatever

Hope this helps.
-- 
Olivier BERGER 
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingenieur Recherche - Dept INF
Institut Mines-Telecom, Telecom SudParis, Evry (France)



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to