summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-08-17 08:31:21 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-08 11:21:43 +0200
commitc3708bc21bea076dbb014797e6ae9db88cc216a0 (patch)
tree1cc115d97ea5087f5ef69802f8ea945ab9e2a1b5 /acct-user/git/metadata.xml
parentacct-group/git: Add git group, GID 196 (diff)
downloadgentoo-c3708bc21bea076dbb014797e6ae9db88cc216a0.tar.gz
gentoo-c3708bc21bea076dbb014797e6ae9db88cc216a0.tar.bz2
gentoo-c3708bc21bea076dbb014797e6ae9db88cc216a0.zip
acct-user/git: Add git user, UID 196
Add 'git' user. UID 196 is used on Arch Linux for gitolite which serves the same purpose as 'git' in Gentoo. Note that since we have multiple git hosting providers in Gentoo, and they use disjoint home directories, we need to use USE flags to control the provider used. Upon switching flags, the home directory for git user will be updated accordingly to permit SSH access. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'acct-user/git/metadata.xml')
-rw-r--r--acct-user/git/metadata.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/acct-user/git/metadata.xml b/acct-user/git/metadata.xml
new file mode 100644
index 000000000000..159d766b8251
--- /dev/null
+++ b/acct-user/git/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <use>
+ <flag name="gitea">Set home directory for git hosting
+ via <pkg>www-apps/gitea</pkg>.</flag>
+ <flag name="gitolite">Set home directory for git hosting
+ via <pkg>dev-vcs/gitolite</pkg>
+ or <pkg>dev-vcs/gitolite-gentoo</pkg>.</flag>
+ </use>
+</pkgmetadata>