c90665645e
Gitosis sync fixes and improvements
...
- Fixed some remaining issues caused by the update process.
- Support custom rules for the repositories.
Currnetly only supports allowing users.
2014-11-10 01:38:58 +05:00
fb3c71820b
Fix rebuild gitadmin using old user typeconst class
2014-11-10 01:16:32 +05:00
5e4ce96266
Fix some more issues after the merge
2014-09-23 00:57:46 +06:00
d03569e908
Correction for the previous commit
2013-11-27 22:20:55 +06:00
b1097e9c61
Fix for crash when pushable project have unknown users
...
Apparently we've got Unknown Object (Phabricator User) in
translation project now.
Not sure how it became invalid, but automated scripts
better be robust for this.
2013-11-27 22:14:07 +06:00
ae2b0e63d6
Further tweaks to gi ermissions script
...
- Seems @all didn't work, now use explicit list of repos
- Handle cases when phab user uses the same key as used for
"system" repositories.
2013-11-15 20:19:20 +06:00
bcbae097de
Another attempt to make phab sync working
2013-11-15 18:55:16 +06:00
b59dca4eeb
Made it so public keys are stored in files with .pub extension
...
It is an attempt to solve issues with missing permissions on
pahabricator users.
2013-11-15 18:49:56 +06:00
5b73071d64
Removed debug-only left-over
2013-11-15 02:29:03 +06:00
9527d8aafd
tweak to shebang so cron is happy with it
2013-11-14 13:31:50 +06:00
e35bc58e0e
Fixes for gitosis admin script
...
Basically, pull wasn't happening correct and it was
updating files from CWD< not from workdir.
2013-11-14 12:44:59 +06:00
1f2471fa67
Use git repository name from uri. not from repo name
2013-11-14 00:09:40 +06:00
645a6a9f54
Made rebuild_gitadmin only take git repositories into account
2013-11-12 22:43:01 +06:00
428cdae3cf
Further tweaks to gitosis conf rebuild script
...
- Pull need SSH key as well
- Repository names are ensured to be lower case
- Use verbose name for commti author
2013-11-07 20:33:51 +06:00
1c689a6b24
Correct shebang for gitx-ssh
2013-11-07 20:33:51 +06:00
55972ef2c1
Gitadmin configuration now could be commited and pushed from update script
2013-11-07 20:33:51 +06:00
60cddad047
Whitespace cleanup
2013-11-07 20:33:51 +06:00
a77a33dc50
Rework gitosis config generator to use pushable settings from repository
2013-11-07 20:33:51 +06:00
259588e747
Added script which rebuilds gitadmin configuration
...
It generates new gitosis.conf and public key files.
Actual commit to repo would likely be done with a
wrapper script which will run in cron.
2013-11-07 20:33:50 +06:00