Package Details: gitosis-git 0.2.r49.gdedb3dc-2

Git Clone URL: (read-only)
Package Base: gitosis-git
Description: Software for hosting git repositories - git checkout
Upstream URL:
Licenses: GPL2
Conflicts: gitosis
Provides: gitosis
Submitter: alperkanat
Maintainer: eworm
Last Packager: eworm
Votes: 38
Popularity: 0.000000
First Submitted: 2009-01-24 23:29
Last Updated: 2015-06-30 08:02

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

rumtata commented on 2013-12-25 19:51

PKGBUILD improvements could be made by warning a user if "git" user exists (from other setup). This could be further checked if /srv/gitosis directory exists

rumtata commented on 2013-12-25 19:42

PKGBUILD should create /srv/gitosis directory if it does not exist before trying to chmod/chown it to gitosis user during install.

andrej commented on 2013-07-26 21:37

There are more issues:
1) There's no /usr/share/doc/gitosis, so it should be either added or *not* promised in the output.
2) Something related to /srv/gitosis fails (no such file or directory).

eworm commented on 2013-05-03 09:42

Please update you PKGBUILD for new pacman/makepkg:

slopjong commented on 2013-04-22 11:12

Or maybe create the user and group 'gitosis' as debian does. Then both, the 'git' and 'gitosis' users, can have their own home directory.

slopjong commented on 2013-04-22 11:00

Your PKGBUILD shouldn't try to create the 'git' user because the git package (dependency) already creates it. Your post_install() fails when trying to create an already existing user.

Instead create the gitosis directory and change gitosis' home:

In your PKGBUILD: mkdir -p "$pkgdir"/srv/gitosis
In your install script: usermod -d /srv/gitosis git

alperkanat commented on 2012-06-19 21:31

@aapzak: infact you're right. updating the package..

aapzak commented on 2012-06-19 20:01

@alperkanat: I don't have objections to using the git user but I really don't want my repositories to be deleted if I uninstall this package. Why not just delete the user but keep the files?

alperkanat commented on 2012-04-19 15:30

@Polizei: any suggestions? The only way I can think of is to create a user & group with a unique name which is unlikely to collide with user created ones. However, git user and group are supposed to be system objects (which are smallar than minimum uid & gid) and users are supposed to take care of the naming.

Anonymous comment on 2012-04-19 15:19

Yeah, nice. Seems that you've updated the package removal hooks and now it's probably even more shit than before -- pkg_remove() destroys the `git' user.

All comments