fb3e6ba493
Fix duplicate system users added on every update
...
Was a mistake in the way how key de-duplication and non-phabricator-managed
commit access was dealt with.
For now simple fix: make sure user list is unique. Proper fix would require
something more sophisticated.
2021-03-05 12:05:49 +01:00
284204e6bb
Detect duplicate keys form user configuration
...
Apparently there are some duplicates in the phabricator
configuration, even though the interface has a check against
this.
2020-11-05 12:50:00 +01:00
1df20d771c
Initialize committers variable
...
Prevented the check for variable collision detection from
previous commit: first time the committers property was
null.
2020-11-05 12:45:23 +01:00
6fa976f749
Make sure committers variable is never overwritten
...
Solves possible issue when having repositories "foo-bar" and "boo_bar".
2020-11-05 10:15:13 +01:00
8808cf8e8c
Fix repositories not being properly escaped
...
In gitolite configuration variable which controls commit access must
not include dash.
2020-11-04 19:00:21 +01:00
f72b9824f3
Do not overwrite files if they did not change
...
This causes an extra file read, but the benefit is that it is easier
to compare data on the file system, quickly see what did actually change
and what did not.
2020-11-04 11:39:40 +01:00
ac94643ac7
Correct for the previous system keys refactor
2020-11-03 17:11:18 +01:00
ce3c14919d
Fix for previous commit
...
Syntax error.
That's what one gets by typing code on one machine and testing on another.
2020-11-03 17:09:39 +01:00
c9fb4c2945
More fixes for gitolite configuration script
...
More usages of undefined variable.
Corrected mistake in collection of system keys.
2020-11-03 17:08:00 +01:00
57099f29d1
Fixes for gitolite synchronization script
...
- Typo in the variable used, caused by bad refactoring skills.
- Explicitly do pull rebase semantic.
2020-11-03 17:04:03 +01:00
acfdc33789
Fix gitolite config incrementally adding more and more new lines
2020-11-03 16:24:29 +01:00
a5efb1e8cd
Initial implementation of gitolite integration script
...
Is based on old gitosis/gitadmin script, but it is heavily refactored
in the process of migration.
2020-11-02 16:13:24 +01:00