rj
unread,Jun 3, 2015, 8:16:10 PM6/3/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to gito...@googlegroups.com
As we are looking for a solution of authorizing users based on their public keys and not with Unix posix permission at remote sites looking at using gerrit gitolite combo setup
scenario
1. User clones from gitolite (repo @all R)
2.pushes to gerrit for code review
3.gerrit updates changes to repository
4. gerrit "ref-updated" hook triggers "gitolite mirror push $slave $push" function to mirror different sites
The above above scenario works if the "gitolite setup" has been run or the repository entry is present under gitolite.conf file with out any issue
But
As I am only looking to have below entry under gitolite.conf file
repo gitolite-admin
RW = @admins
repo @all
R = @all
and the repositories are being created by gerrit or manually under "repositories path"
looking a way to force push/mirror the repository to remote sites , if we are able to scan using "gitolite list-phy-repos"
as observing below error messages when using
git-config -r $project mirror.slave and gitolite mirror push $slave $project"
error messages
2015-06-03.16:42:34 33650 mirror: fatal: 'repositories/test1.git' does not appear to be a git repository
2015-06-03.16:42:34 33650 mirror: fatal: Could not read from remote repository.
2015-06-03.16:42:34 33650 mirror:
2015-06-03.16:42:34 33650 mirror: Please make sure you have the correct access rights
2015-06-03.16:42:34 33650 mirror: and the repository exists.
2015-06-03.16:42:34 33649 system() failed,gitolite/src/commands/mirror,push,rmegitban,test1,-> 256
Thanks in advance
rj