aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Rename git-init-shared(1) to git-init-acl(1)HEADtrunkWolfgang Müller2022-03-03-8/+8
| | | | | | | We have always felt that the name of this program was too close to the invocation of 'git init --shared' which does something similar. Make it clear in the name that we're working with POSIX ACLs instead of normal permission sets as 'git init --shared' does.
* README: Link more information on signify(1)Wolfgang Müller2021-07-19-1/+1
|
* README: Link manuals in the script titleWolfgang Müller2021-07-19-5/+3
| | | | This way we do not need a 'See <manual>' line for each item.
* Add manual for git-init-shared(1)Wolfgang Müller2021-07-19-2/+44
|
* git-init-shared: Collapse calls to setfaclWolfgang Müller2021-07-19-4/+2
| | | | | setfacl(1) allows specifying multiple ACL entries with ','. This makes the code cleaner and easier to maintain.
* git-init-shared: Allow adding users to ACLs subsequentlyWolfgang Müller2021-07-19-3/+16
| | | | | | | | | | | | | | | | | | | git-init(1) allows users to safely reinitialize a git repository. This is useful, for example, if new permissions are set with --shared. This commit adds similar functionality to git-init-shared(1) by not only setting the right ACLs on the toplevel directory (and relying on ACL inheritance through the default entry), but also making sure that the correct rights are set for all files that already exist in the repository. Where before a user had to run the right 'setfacl' invocation themselves to add a new user to the access lists, now the same is possible by simply invoking git-init-shared(1) again with the right user. For example, the following invocation adds access to both 'foo' and 'bar': git init-shared repo/ foo git init-shared repo/ bar
* README: Add install instructionsWolfgang Müller2021-07-17-0/+9
|
* README: Link the manual for git-sign-for-cgit(1)Wolfgang Müller2021-07-17-0/+1
|
* Add rudimentary MakefileWolfgang Müller2021-07-17-0/+7
| | | | | With the addition of another manual it is high time we add a convenient way of installing both the tools and the manuals.
* Add manual for git-sign-for-cgit(1)Wolfgang Müller2021-07-17-0/+84
|
* Do not exit if package.format is unsetWolfgang Müller2021-07-04-2/+2
| | | | | | | | | | Both git-package(1) and git-sign-for-cgit(1) set 'errexit', making the shell exit immediately upon an error. Since git-config(1) exits with an error if a configuration entry could not be found, a missing entry for package.format would lead to both scripts bailing out. We want to fall back to the "tar.gz" format if package.format is unset, so make sure to ignore this particular error.
* Add git-package(1)Wolfgang Müller2021-05-22-0/+88
|
* git-sign-for-cgit: Use single quotes for strings that need no expansionWolfgang Müller2021-05-17-1/+1
|
* git-sign-for-cgit: Remove erroneous newline characterWolfgang Müller2021-05-17-1/+1
| | | | | This came from when usage did its own printing. errx() already adds a newline here (and this particular one was handled literally anyway).
* Initial importWolfgang Müller2021-05-16-0/+113