Susan Potter [Sun, 12 Sep 2010 02:18:28 +0000 (11 21:18 -0500)]
Merge branch 'master' of ssh://repo.or.cz/srv/git/girocco
Susan Potter [Sun, 12 Sep 2010 02:04:43 +0000 (11 21:04 -0500)]
Initial empty fork commit
Robert Ransom [Fri, 3 Sep 2010 17:28:48 +0000 (3 10:28 -0700)]
Add support for mirroring svn+https: URLs.
SourceForge SVN can only be checked out over HTTPS.
Petr Baudis [Thu, 10 Jun 2010 18:16:50 +0000 (10 20:16 +0200)]
Make sure our cronjobs never run twice in parallel
Petr Baudis [Thu, 6 May 2010 18:37:37 +0000 (6 20:37 +0200)]
jailsetup.sh: chown etc/sshkeys to CGI user
Petr Baudis [Thu, 6 May 2010 16:00:15 +0000 (6 18:00 +0200)]
jailsetup.sh: Support for installing on 32-bit system
Based on a patch by tychoish.
Kirill Smelkov [Mon, 22 Mar 2010 11:08:00 +0000 (22 14:08 +0300)]
taskd/clone: quote shell metacharacters where appropriate
At present this involves svn mirror setup -- refspec mappings contain
shell wildcards. Quote them just in case.
Kirill Smelkov [Mon, 22 Mar 2010 11:07:59 +0000 (22 14:07 +0300)]
taskd/clone: Don't forget to use 'git config --add' for multivars setup
Neat Trick suggested by Miklos Vajna setups origin remote as '.' and
also setups 3 refspecs for remotes.origin.fetch.
The trick is nice indeed, but in order to setup config multivar, one
have to use explicit --add option for `git config' (*) or else old var
value is just replaced.
The problem showed in svn-mirror repositories with stale master (was not
updating from trunk) and also as lack of branches -- that's
understandable -- we had '+refs/remotes/tags/*:refs/tags/*' config last,
and tags were working OK.
Fix it.
(*) explicit --add was needed since
89c4afe0 (Add --add option to
git-repo-config) in git.git, which dates to git
v1.4.4.2-225-g89c4afe
Kirill Smelkov [Mon, 22 Mar 2010 11:08:01 +0000 (22 14:08 +0300)]
Teach Girocco to mirror http:// style SVN repos
Currently we can mirror svn:// repos, but http:// is assumed to be used
for Git. Teach the tool to use svn+http:// style urls for http:// svn
repositories.
This is very needed, because most SVN hosting services only provide
http:// style access to their services. e.g. google code, python.org,
etc...
This has not been tested on full Girocco installation - just partly. But
if it works, let's also add svn+https later.
Petr Baudis [Thu, 11 Feb 2010 12:30:23 +0000 (11 13:30 +0100)]
jobd: Fix other check_all_projects invocations
Miklos Vajna [Wed, 10 Feb 2010 23:05:44 +0000 (11 00:05 +0100)]
Girocco::Util::valid_repo_url() allow ':' after protocol://
It's needed for the "bzr://lp:foo"-style urls.
Petr Baudis [Thu, 11 Feb 2010 12:28:12 +0000 (11 13:28 +0100)]
taskd/clone.sh: Syntax error fix
Miklos Vajna [Thu, 28 Jan 2010 01:17:04 +0000 (28 02:17 +0100)]
Add support for mirroring bzr repos
Petr Baudis [Wed, 10 Feb 2010 15:19:44 +0000 (10 16:19 +0100)]
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/girocco
Petr Baudis [Wed, 10 Feb 2010 15:19:39 +0000 (10 16:19 +0100)]
jobd: Start first update round at a random point instead of always the beginning
Brian Hetro [Sun, 7 Feb 2010 16:27:02 +0000 (7 11:27 -0500)]
regproj: Escape $ in command line example.
Arnout Engelen [Sun, 7 Feb 2010 15:05:16 +0000 (7 16:05 +0100)]
Add instructions on how to import your project
Brian Hetro [Tue, 26 Jan 2010 03:12:01 +0000 (25 22:12 -0500)]
Girocco::Util:valid_web_url(): Allow ":"
This allows URLs such as "http://repo.or.cz/w/foo.git/blob_plain/master:/bar"
Acked-by: Petr Baudis <pasky@suse.cz>
Brian Hetro [Tue, 26 Jan 2010 03:04:12 +0000 (25 22:04 -0500)]
gitweb_config.perl: Add charset info of utf-8 if blob_plain output of a text/plain blob
Acked-by: Petr Baudis <pasky@suse.cz>
Miklos Vajna [Sun, 24 Jan 2010 23:31:54 +0000 (25 00:31 +0100)]
jobd/update.sh: darcs-specific typo fixes
The same darcs-specific problems we already fixed for cloning.
Miklos Vajna [Sun, 24 Jan 2010 22:51:57 +0000 (24 23:51 +0100)]
INSTALL: document two external dependencies used by darcs-fast-export
Miklos Vajna [Sun, 24 Jan 2010 22:47:58 +0000 (24 23:47 +0100)]
taskd/clone.sh: fix typo in darcs error checking
Petr Baudis [Fri, 22 Jan 2010 17:38:01 +0000 (22 18:38 +0100)]
git.git: Revert spurious revision change
Miklos Vajna [Fri, 22 Jan 2010 03:00:20 +0000 (22 04:00 +0100)]
Update bzr-fastimport.git
The new tip has a fix for Python-2.5 compatibility.
Miklos Vajna [Fri, 22 Jan 2010 01:45:23 +0000 (22 02:45 +0100)]
taskd/clone.sh: check for darcs-fast-export exit code
Miklos Vajna [Fri, 22 Jan 2010 01:19:07 +0000 (22 02:19 +0100)]
taskd/clone.sh: avoid unnecessary escape in darcs:// -> mapping
Actually the extra escape is not just unnecessary but is a bug.
Petr Baudis [Fri, 22 Jan 2010 00:55:43 +0000 (22 01:55 +0100)]
valid_repo_url(): Allow darcs urls
Petr Baudis [Fri, 22 Jan 2010 00:09:13 +0000 (22 01:09 +0100)]
darcs-fast-export: Put in basedir/bin/ during installation, call it from there
Petr Baudis [Thu, 21 Jan 2010 23:57:34 +0000 (22 00:57 +0100)]
git_darcs_fetch(): Move from shlib to jobd/update.sh
Miklos Vajna [Sat, 28 Nov 2009 00:03:45 +0000 (28 01:03 +0100)]
install.sh: fix for bash-4.0
See http://lists.gnu.org/archive/html/bug-bash/2009-07/msg00069.html
Miklos Vajna [Sat, 28 Nov 2009 00:03:44 +0000 (28 01:03 +0100)]
Add support for mirroring darcs repos
Miklos Vajna [Sat, 28 Nov 2009 00:03:43 +0000 (28 01:03 +0100)]
Add bzr-fastimport.git as a submodule
We need darcs-fast-export from there.
Petr Baudis [Thu, 26 Nov 2009 09:33:00 +0000 (26 10:33 +0100)]
jobd/update.sh: Don't prepend remote.origin.url with gitweb prefix
Petr Baudis [Thu, 19 Nov 2009 21:07:34 +0000 (19 22:07 +0100)]
taskd/clone.sh: Don't fail on already-existing origin when previous mirroring attempt failed
Petr Baudis [Wed, 18 Nov 2009 12:16:47 +0000 (18 13:16 +0100)]
hooks/post-update: Introduce, use - fixes HTTP transport for push repos
Petr Baudis [Wed, 18 Nov 2009 12:15:56 +0000 (18 13:15 +0100)]
post-receive-hook, update-hook: move to hooks/*, drop -hook suffic
Petr Baudis [Wed, 11 Nov 2009 21:47:53 +0000 (11 22:47 +0100)]
jobd: Don't try non-existing projects
Otherwise gc will die on just-deleted projects.
Petr Baudis [Tue, 10 Nov 2009 09:10:31 +0000 (10 10:10 +0100)]
README: Describe forks
Petr Baudis [Mon, 9 Nov 2009 15:34:16 +0000 (9 16:34 +0100)]
jobd/gc.sh: Fix two bugs with copying objects to forks
Petr Baudis [Mon, 9 Nov 2009 14:17:15 +0000 (9 15:17 +0100)]
taskd clients: Separate connection for each ref-change command
Petr Baudis [Mon, 9 Nov 2009 14:13:21 +0000 (9 15:13 +0100)]
gitweb_config.perl: $git_push_url -> $git_base_push_url
Petr Baudis [Sat, 7 Nov 2009 23:48:39 +0000 (8 00:48 +0100)]
Girocco::Notify:get_commits(): Fix grep-chomp order
Petr Baudis [Sat, 7 Nov 2009 23:46:05 +0000 (8 00:46 +0100)]
Girocco::Notify:cia(): Revert invalid refs/heads/ change
Petr Baudis [Sat, 7 Nov 2009 23:44:38 +0000 (8 00:44 +0100)]
Girocco::Notify: Move use RPC::XML to BEGIN{}
Petr Baudis [Sat, 7 Nov 2009 23:39:39 +0000 (8 00:39 +0100)]
Girocco::Notify:cia():Fix get_commits() call
Petr Baudis [Sat, 7 Nov 2009 23:38:01 +0000 (8 00:38 +0100)]
shlib.sh: Describe
Petr Baudis [Sat, 7 Nov 2009 23:35:37 +0000 (8 00:35 +0100)]
INSTALL: In theory
Petr Baudis [Sat, 7 Nov 2009 23:33:02 +0000 (8 00:33 +0100)]
Girocco::Notify:get_commits(): rev-list --not -> rev-parse --not
Petr Baudis [Sat, 7 Nov 2009 23:23:30 +0000 (8 00:23 +0100)]
jobd/update.sh: Handle changed baseurl - update remote.origin.url
Petr Baudis [Sat, 7 Nov 2009 20:15:55 +0000 (7 21:15 +0100)]
jobd/update.sh: ref-change new - fix variable name
Petr Baudis [Sat, 7 Nov 2009 16:44:48 +0000 (7 17:44 +0100)]
jobd/update.sh: Fix ref-change for set -e
Petr Baudis [Fri, 6 Nov 2009 16:04:27 +0000 (6 17:04 +0100)]
jobd/update.sh: Fix ref-change line, $ref at the end
Stefan Naewe [Fri, 6 Nov 2009 15:45:14 +0000 (6 16:45 +0100)]
README: add header to produce nice looking html with asciidoc
Signed-off-by: Stefan Naewe <stefan.naewe@googlemail.com>
Petr Baudis [Fri, 6 Nov 2009 15:40:50 +0000 (6 16:40 +0100)]
Support for commit notifications in mirrored repos
Petr Baudis [Fri, 6 Nov 2009 15:36:24 +0000 (6 16:36 +0100)]
taskd/taskd.pl: Ignore empty connects
Petr Baudis [Fri, 6 Nov 2009 14:43:12 +0000 (6 15:43 +0100)]
TODO: textarea paste
Petr Baudis [Fri, 6 Nov 2009 14:42:22 +0000 (6 15:42 +0100)]
taskd/mail.sh: Include show -C by default now
Petr Baudis [Fri, 6 Nov 2009 14:40:51 +0000 (6 15:40 +0100)]
taskd/mail.sh: Limit mail size to 256kb.
Petr Baudis [Fri, 6 Nov 2009 14:32:28 +0000 (6 15:32 +0100)]
git.git: t/blob/pathinfo
Petr Baudis [Thu, 5 Nov 2009 03:11:42 +0000 (5 04:11 +0100)]
Generic Girocco
Remove any direct repo.or.cz data from Girocco configuration, make it fully example configuration instead. repo.or.cz will get its own rorcz branch in the repository instead.
Petr Baudis [Thu, 5 Nov 2009 02:51:48 +0000 (5 03:51 +0100)]
gitweb/gitweb_config.perl: Move up all tweakable options
Petr Baudis [Thu, 5 Nov 2009 02:32:22 +0000 (5 03:32 +0100)]
Girocco::Project::_property_fput(): Terminate early for gitconfig properties
Petr Baudis [Thu, 5 Nov 2009 02:31:27 +0000 (5 03:31 +0100)]
Girocco::Notify: Add <url> to CIA's log
Petr Baudis [Thu, 5 Nov 2009 02:26:31 +0000 (5 03:26 +0100)]
repo.git -> girocco.git
Petr Baudis [Thu, 5 Nov 2009 02:11:12 +0000 (5 03:11 +0100)]
taskd/taskd.pl:ref_change(): Return 0
Petr Baudis [Thu, 5 Nov 2009 02:05:40 +0000 (5 03:05 +0100)]
Girocco::Project: Link to the commit notify techniques
Petr Baudis [Thu, 5 Nov 2009 01:56:08 +0000 (5 02:56 +0100)]
Girocco::Project::cgi_fill(): Load and verify notify parameters
Petr Baudis [Thu, 5 Nov 2009 01:48:23 +0000 (5 02:48 +0100)]
Girocco::Project::form_defaults(): Add notify fields
Petr Baudis [Thu, 5 Nov 2009 01:46:58 +0000 (5 02:46 +0100)]
Girocco::Project: Shorten notify labels
Petr Baudis [Thu, 5 Nov 2009 01:45:08 +0000 (5 02:45 +0100)]
Allow setup of notify metadata fields
Petr Baudis [Thu, 5 Nov 2009 01:39:08 +0000 (5 02:39 +0100)]
Girocco::Notify: Add support for CIA notifications
Petr Baudis [Thu, 5 Nov 2009 01:08:18 +0000 (5 02:08 +0100)]
TODO: Some zwelch's ideas - watches, ssh, server-side tracking branches
Petr Baudis [Thu, 5 Nov 2009 00:50:55 +0000 (5 01:50 +0100)]
Girocco::Notify: Include pusher info in json payload
Petr Baudis [Thu, 5 Nov 2009 00:36:27 +0000 (5 01:36 +0100)]
taskd/mail.sh: Nicer subject line, reindented unsubscribe instructions
Petr Baudis [Thu, 5 Nov 2009 00:32:19 +0000 (5 01:32 +0100)]
Girocco::Notify: Remove forgotten debug print
Petr Baudis [Thu, 5 Nov 2009 00:31:38 +0000 (5 01:31 +0100)]
taskd/mail.sh: Default showrev includes gitweb link.
Petr Baudis [Thu, 5 Nov 2009 00:25:35 +0000 (5 01:25 +0100)]
taskd/mail.sh: Optional fifth parameter is email sender; set up in ref_change()
Petr Baudis [Thu, 5 Nov 2009 00:20:26 +0000 (5 01:20 +0100)]
taskd/mail.sh: Unsubscribe instructions in email footer.
Petr Baudis [Thu, 5 Nov 2009 00:15:27 +0000 (5 01:15 +0100)]
taskd/mail.sh: Load shlib, default subject prefix is site name
Petr Baudis [Thu, 5 Nov 2009 00:13:34 +0000 (5 01:13 +0100)]
taskd/mail.sh: Take optional fourth parameter with project name
Petr Baudis [Thu, 5 Nov 2009 00:07:09 +0000 (5 01:07 +0100)]
taskd: Reset SIGCHLD handler in children
Petr Baudis [Thu, 5 Nov 2009 00:03:50 +0000 (5 01:03 +0100)]
TODO: Support for commit notifications in mirrored repos
Petr Baudis [Thu, 5 Nov 2009 00:02:12 +0000 (5 01:02 +0100)]
ref-change: Make the first command parameter the uid of pusher
Petr Baudis [Thu, 5 Nov 2009 00:01:49 +0000 (5 01:01 +0100)]
Girocco::User: Introduce load_by_uid()
Petr Baudis [Wed, 4 Nov 2009 23:44:27 +0000 (5 00:44 +0100)]
Girocco::Project: Clean up gitconfig properties support, fix missing chomp there
Petr Baudis [Wed, 4 Nov 2009 23:41:03 +0000 (5 00:41 +0100)]
Girocco::Notify: Introduce, add ref-change support to taskd
Currently, the mail.sh and json notifications are supported. There is no web interface to set them up yet.
Petr Baudis [Wed, 4 Nov 2009 23:22:29 +0000 (5 00:22 +0100)]
taskd/mail.sh: Introduce - unmodified example post-receive hook
Petr Baudis [Wed, 4 Nov 2009 22:41:09 +0000 (4 23:41 +0100)]
Girocco::Project::_hooks_install(): Fix syntax error
Petr Baudis [Wed, 4 Nov 2009 12:50:37 +0000 (4 13:50 +0100)]
Girocco::Config::mirror_user: Elaborate description
Petr Baudis [Wed, 4 Nov 2009 12:06:30 +0000 (4 13:06 +0100)]
post-receive-hook: Remove trailing .git from project name
Petr Baudis [Wed, 4 Nov 2009 12:05:09 +0000 (4 13:05 +0100)]
post-receive-hook: Send also project name
Petr Baudis [Wed, 4 Nov 2009 12:02:00 +0000 (4 13:02 +0100)]
TODO: GitHub -just
Petr Baudis [Wed, 4 Nov 2009 11:31:57 +0000 (4 12:31 +0100)]
taskd: Guard against cloning projects not for clone or already being cloned
Petr Baudis [Wed, 4 Nov 2009 11:24:53 +0000 (4 12:24 +0100)]
post-receive-hook: Display possible reply from taskd
Petr Baudis [Wed, 4 Nov 2009 11:24:03 +0000 (4 12:24 +0100)]
taskd: Make socket world-writable; necessary for notifications
Petr Baudis [Wed, 4 Nov 2009 11:20:45 +0000 (4 12:20 +0100)]
Girocco::Project: Install post-receive hook during setup
Petr Baudis [Wed, 4 Nov 2009 11:17:45 +0000 (4 12:17 +0100)]
taskd/taskd.pl: Never ACK; we will write to the socket only on errors
Petr Baudis [Wed, 4 Nov 2009 11:13:07 +0000 (4 12:13 +0100)]
taskd: Fix command parsing regex
Petr Baudis [Wed, 4 Nov 2009 11:05:59 +0000 (4 12:05 +0100)]
jailsetup.sh: Allow sshd cp to fail
Petr Baudis [Wed, 4 Nov 2009 11:03:51 +0000 (4 12:03 +0100)]
post-receive-hook: Introduce, sends ref-change messages to taskd