You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Konstantin Kolinko <kn...@gmail.com> on 2016/04/21 21:08:31 UTC

Cleanup Ant source directory at vmgump (Permissions issue writing to Git reflog file)

Hi!

"update_ant" step is failing with

error: Unable to append to .git/logs/refs/remotes/origin/master:
Permission denied

http://vmgump.apache.org/gump/public/ant/
http://vmgump.apache.org/gump/public/ant/gump_work/update_ant.html

I guess that it is really a permission error, as the message says.

Can somebody cleanup that directory, so that a fresh copy is cloned
from git repository?

Working Directory: /srv/gump/public/workspace/cvs/ant


The failing operation is Git trying to append to a reflog file. If
this issue affects more than one project, I think we can disable git
reflogs by setting "core.logAllRefUpdates" configuration property to
false, as Git manual says. [1]

[1] https://git-scm.com/docs/git-config

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Cleanup Ant source directory at vmgump (Permissions issue writing to Git reflog file)

Posted by Konstantin Kolinko <kn...@gmail.com>.
2016-04-21 22:08 GMT+03:00 Konstantin Kolinko <kn...@gmail.com>:
> Hi!
>
> "update_ant" step is failing with
>
> error: Unable to append to .git/logs/refs/remotes/origin/master:
> Permission denied
>
> http://vmgump.apache.org/gump/public/ant/
> http://vmgump.apache.org/gump/public/ant/gump_work/update_ant.html
>
> I guess that it is really a permission error, as the message says.
>
> Can somebody cleanup that directory, so that a fresh copy is cloned
> from git repository?
>
> Working Directory: /srv/gump/public/workspace/cvs/ant
>
>
> The failing operation is Git trying to append to a reflog file. If
> this issue affects more than one project, I think we can disable git
> reflogs by setting "core.logAllRefUpdates" configuration property to
> false, as Git manual says. [1]
>
> [1] https://git-scm.com/docs/git-config
>

I went on with

1. Setting core.logAllRefUpdates=false on new checkouts

2. As a temporary solution I modified workspaceMatchesModule() check
in git.py to unconditionally return False, so that all git checkouts
are deleted and recreated by Gump.

I expect that the next run of Gump starts in ~`15 minutes at 0:00 UTC.
We will see whether it clears that Ant issue.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org