]> oss.titaniummirror.com Git - repo_shell.git/log
repo_shell.git
11 years agoDocument gitcreate -y option 0.5
R. Steve McKown [Fri, 28 Sep 2012 20:30:24 +0000 (14:30 -0600)]
Document gitcreate -y option

11 years agoFix directory creation instructions
R. Steve McKown [Fri, 28 Sep 2012 20:29:56 +0000 (14:29 -0600)]
Fix directory creation instructions

11 years agoFix subdirs create in git, add -y option
R. Steve McKown [Fri, 28 Sep 2012 20:27:17 +0000 (14:27 -0600)]
Fix subdirs create in git, add -y option

11 years agogitcreate creates subdirs after asking user
R. Steve McKown [Fri, 28 Sep 2012 19:57:05 +0000 (13:57 -0600)]
gitcreate creates subdirs after asking user

11 years agosvncreate creates default hooks dir if not present
R. Steve McKown [Fri, 28 Sep 2012 19:44:48 +0000 (13:44 -0600)]
svncreate creates default hooks dir if not present

11 years agoAdd help option, expand test option to normal and detail
R. Steve McKown [Fri, 28 Sep 2012 18:47:33 +0000 (12:47 -0600)]
Add help option, expand test option to normal and detail

11 years agoAdd check option to repo_shell
R. Steve McKown [Fri, 28 Sep 2012 18:37:05 +0000 (12:37 -0600)]
Add check option to repo_shell

11 years agoEmit perms in same form as used in .gitacls
R. Steve McKown [Fri, 28 Sep 2012 18:35:44 +0000 (12:35 -0600)]
Emit perms in same form as used in .gitacls

11 years agomake package builds simple .tgz for install
R. Steve McKown [Fri, 28 Sep 2012 18:22:57 +0000 (12:22 -0600)]
make package builds simple .tgz for install

11 years agogit_acl_file is always {git_root}/.gitacls
R. Steve McKown [Fri, 28 Sep 2012 17:54:48 +0000 (11:54 -0600)]
git_acl_file is always {git_root}/.gitacls

11 years agochange_user() correctly reports user on error
R. Steve McKown [Fri, 28 Sep 2012 17:53:12 +0000 (11:53 -0600)]
change_user() correctly reports user on error

11 years agoAllow tools to ref repopath.git as repopath
R. Steve McKown [Fri, 28 Sep 2012 17:42:07 +0000 (11:42 -0600)]
Allow tools to ref repopath.git as repopath

11 years ago/etc/repo_shell.cfg -> /etc/repo_shell.conf
R. Steve McKown [Fri, 28 Sep 2012 17:11:51 +0000 (11:11 -0600)]
/etc/repo_shell.cfg -> /etc/repo_shell.conf

11 years agogitcreate doesn't add .git to file name
R. Steve McKown [Fri, 28 Sep 2012 17:10:14 +0000 (11:10 -0600)]
gitcreate doesn't add .git to file name

11 years agoClearer commands to add user and create dirs
R. Steve McKown [Fri, 28 Sep 2012 17:02:31 +0000 (11:02 -0600)]
Clearer commands to add user and create dirs

11 years agoImplement allow_interactive feature
R. Steve McKown [Fri, 28 Sep 2012 19:11:00 +0000 (13:11 -0600)]
Implement allow_interactive feature

11 years agoScripts tolerate spaces in /etc/repo_shell.cfg
R. Steve McKown [Fri, 28 Sep 2012 16:56:38 +0000 (10:56 -0600)]
Scripts tolerate spaces in /etc/repo_shell.cfg

11 years agoBig README cleanup; add README.gitacls
R. Steve McKown [Fri, 28 Sep 2012 19:08:18 +0000 (13:08 -0600)]
Big README cleanup; add README.gitacls

11 years agoAdd make install, uninstall targets
R. Steve McKown [Fri, 28 Sep 2012 19:07:15 +0000 (13:07 -0600)]
Add make install, uninstall targets

11 years agoAdd scripts/gitcreate, mv svncreate to scripts/
R. Steve McKown [Fri, 28 Sep 2012 19:06:25 +0000 (13:06 -0600)]
Add scripts/gitcreate, mv svncreate to scripts/

11 years agostringutils.c collects funcs from several places
R. Steve McKown [Fri, 28 Sep 2012 19:04:21 +0000 (13:04 -0600)]
stringutils.c collects funcs from several places

11 years agoProper free on execvp fail
R. Steve McKown [Fri, 28 Sep 2012 15:58:54 +0000 (09:58 -0600)]
Proper free on execvp fail

11 years agoAdd extended wildcard matching 0.4
R. Steve McKown [Fri, 28 Sep 2012 05:49:25 +0000 (23:49 -0600)]
Add extended wildcard matching

Now '*' can be used as the last character of a userid or repoid target.
Such as:

[user_groups]
group = st* sm*

[repo_groups]
rgroup = mirrors/*

[repo oss*]
* = rw

11 years agoProperly handle wrong arg count when -t
R. Steve McKown [Fri, 28 Sep 2012 04:41:36 +0000 (22:41 -0600)]
Properly handle wrong arg count when -t

11 years agoCorrectly exit on interactive shell request when not allowed
R. Steve McKown [Fri, 28 Sep 2012 04:39:10 +0000 (22:39 -0600)]
Correctly exit on interactive shell request when not allowed

11 years agoformatting
R. Steve McKown [Fri, 28 Sep 2012 04:38:26 +0000 (22:38 -0600)]
formatting

11 years agoNo need for sections in repo_shell.cfg
R. Steve McKown [Fri, 28 Sep 2012 04:37:37 +0000 (22:37 -0600)]
No need for sections in repo_shell.cfg

11 years agoImplement * to mean any user or repo
R. Steve McKown [Fri, 28 Sep 2012 04:33:31 +0000 (22:33 -0600)]
Implement * to mean any user or repo

11 years agoMore meaningful examples
R. Steve McKown [Thu, 27 Sep 2012 23:31:54 +0000 (17:31 -0600)]
More meaningful examples

11 years agoUpdate README re: git acls
R. Steve McKown [Wed, 26 Sep 2012 22:39:41 +0000 (16:39 -0600)]
Update README re: git acls

11 years agorepo_shell honors git ACLs 0.3
R. Steve McKown [Wed, 26 Sep 2012 22:10:54 +0000 (16:10 -0600)]
repo_shell honors git ACLs

* repo_shell uses git_acl.c
* str_has_word returns C99 bool
* git acl filename is set in repo_shell.cfg
* git_acl() accepts const char* args
* git_acl.h doesn't need to include stdbool.h
* git_acl.c manages no default git acl filename
* Use meaningful error message if permission denied due to ACL rule
* repo_shell has -t mode to get git acl function

11 years agorepo_shell changes indention rules
R. Steve McKown [Wed, 26 Sep 2012 21:29:03 +0000 (15:29 -0600)]
repo_shell changes indention rules

11 years agorepo_shell uses utility.c
R. Steve McKown [Wed, 26 Sep 2012 21:28:33 +0000 (15:28 -0600)]
repo_shell uses utility.c

11 years agoCode for supporting git ACLs. acl_test is useful.
R. Steve McKown [Wed, 26 Sep 2012 21:26:24 +0000 (15:26 -0600)]
Code for supporting git ACLs.  acl_test is useful.

11 years agoAdd the svncreate script
R. Steve McKown [Mon, 24 Sep 2012 17:10:51 +0000 (11:10 -0600)]
Add the svncreate script

11 years agoAdd the svncreate script
R. Steve McKown [Mon, 24 Sep 2012 17:10:51 +0000 (11:10 -0600)]
Add the svncreate script

11 years agoAdd license file; update README
R. Steve McKown [Mon, 24 Sep 2012 16:48:29 +0000 (10:48 -0600)]
Add license file; update README

11 years agoRename handler() -> ini_handler() 0.2
R. Steve McKown [Mon, 24 Sep 2012 14:23:28 +0000 (08:23 -0600)]
Rename handler() -> ini_handler()

11 years agoMisc cleanups
R. Steve McKown [Mon, 24 Sep 2012 14:21:34 +0000 (08:21 -0600)]
Misc cleanups

11 years agoSimpler and better handling of non-repo access
R. Steve McKown [Mon, 24 Sep 2012 14:21:05 +0000 (08:21 -0600)]
Simpler and better handling of non-repo access

11 years agoRemove unused code
R. Steve McKown [Mon, 24 Sep 2012 14:18:34 +0000 (08:18 -0600)]
Remove unused code

11 years agoEnsure non-repo ssh commands run as connecting user.
R. Steve McKown [Mon, 24 Sep 2012 02:52:58 +0000 (20:52 -0600)]
Ensure non-repo ssh commands run as connecting user.

11 years agoFix getting a shell on server
R. Steve McKown [Mon, 24 Sep 2012 02:46:49 +0000 (20:46 -0600)]
Fix getting a shell on server

11 years agoAdd version option, derived from repository tags 0.1
R. Steve McKown [Mon, 24 Sep 2012 01:26:45 +0000 (19:26 -0600)]
Add version option, derived from repository tags

11 years agoSome support for a future git acl implementation.
R. Steve McKown [Sun, 23 Sep 2012 19:19:09 +0000 (13:19 -0600)]
Some support for a future git acl implementation.

The config file will be git-acl.cfg in the home directory of the owner
as defined in /etc/repo_shell.cfg.

11 years agoAdd Makefile and README
R. Steve McKown [Sun, 23 Sep 2012 18:54:36 +0000 (12:54 -0600)]
Add Makefile and README

11 years agoAdd support for /etc/repo_shell.cfg
R. Steve McKown [Sun, 23 Sep 2012 18:49:37 +0000 (12:49 -0600)]
Add support for /etc/repo_shell.cfg

* Base configuration in /etc/repo_shell.cfg.
* Program name is now repo_shell
* Uses the inih library for ini parsing

11 years agoExecute shell progs with user PATH
R. Steve McKown [Sun, 23 Sep 2012 17:55:19 +0000 (11:55 -0600)]
Execute shell progs with user PATH

11 years agoAdd git prefix to repository paths
R. Steve McKown [Sun, 23 Sep 2012 17:54:41 +0000 (11:54 -0600)]
Add git prefix to repository paths

11 years agoInitial commit
R. Steve McKown [Sun, 23 Sep 2012 17:44:27 +0000 (11:44 -0600)]
Initial commit