girocco/susan.git
13 years agoMerge branch 'master' of ssh://repo.or.cz/srv/git/giroccomaster
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

13 years agoInitial empty fork commit
Susan Potter [Sun, 12 Sep 2010 02:04:43 +0000 (11 21:04 -0500)]
Initial empty fork commit

13 years agoAdd support for mirroring svn+https: URLs.
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.

13 years agoMake sure our cronjobs never run twice in parallel
Petr Baudis [Thu, 10 Jun 2010 18:16:50 +0000 (10 20:16 +0200)]
Make sure our cronjobs never run twice in parallel

14 years agojailsetup.sh: chown etc/sshkeys to CGI user
Petr Baudis [Thu, 6 May 2010 18:37:37 +0000 (6 20:37 +0200)]
jailsetup.sh: chown etc/sshkeys to CGI user

14 years agojailsetup.sh: Support for installing on 32-bit system
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.

14 years agotaskd/clone: quote shell metacharacters where appropriate
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.

14 years agotaskd/clone: Don't forget to use 'git config --add' for multivars setup
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

14 years agoTeach Girocco to mirror http:// style SVN repos
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.

14 years agojobd: Fix other check_all_projects invocations
Petr Baudis [Thu, 11 Feb 2010 12:30:23 +0000 (11 13:30 +0100)]
jobd: Fix other check_all_projects invocations

14 years agoGirocco::Util::valid_repo_url() allow ':' after protocol://
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.

14 years agotaskd/clone.sh: Syntax error fix
Petr Baudis [Thu, 11 Feb 2010 12:28:12 +0000 (11 13:28 +0100)]
taskd/clone.sh: Syntax error fix

14 years agoAdd support for mirroring bzr repos
Miklos Vajna [Thu, 28 Jan 2010 01:17:04 +0000 (28 02:17 +0100)]
Add support for mirroring bzr repos

14 years agoMerge branch 'master' of git+ssh://repo.or.cz/srv/git/girocco
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

14 years agojobd: Start first update round at a random point instead of always the beginning
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

14 years agoregproj: Escape $ in command line example.
Brian Hetro [Sun, 7 Feb 2010 16:27:02 +0000 (7 11:27 -0500)]
regproj: Escape $ in command line example.

14 years agoAdd instructions on how to import your project
Arnout Engelen [Sun, 7 Feb 2010 15:05:16 +0000 (7 16:05 +0100)]
Add instructions on how to import your project

14 years agoGirocco::Util:valid_web_url(): Allow ":"
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>
14 years agogitweb_config.perl: Add charset info of utf-8 if blob_plain output of a text/plain...
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>
14 years agojobd/update.sh: darcs-specific typo fixes
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.

14 years agoINSTALL: document two external dependencies used by darcs-fast-export
Miklos Vajna [Sun, 24 Jan 2010 22:51:57 +0000 (24 23:51 +0100)]
INSTALL: document two external dependencies used by darcs-fast-export

14 years agotaskd/clone.sh: fix typo in darcs error checking
Miklos Vajna [Sun, 24 Jan 2010 22:47:58 +0000 (24 23:47 +0100)]
taskd/clone.sh: fix typo in darcs error checking

14 years agogit.git: Revert spurious revision change
Petr Baudis [Fri, 22 Jan 2010 17:38:01 +0000 (22 18:38 +0100)]
git.git: Revert spurious revision change

14 years agoUpdate bzr-fastimport.git
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.

14 years agotaskd/clone.sh: check for darcs-fast-export exit code
Miklos Vajna [Fri, 22 Jan 2010 01:45:23 +0000 (22 02:45 +0100)]
taskd/clone.sh: check for darcs-fast-export exit code

14 years agotaskd/clone.sh: avoid unnecessary escape in darcs:// -> http:// mapping
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.

14 years agovalid_repo_url(): Allow darcs urls
Petr Baudis [Fri, 22 Jan 2010 00:55:43 +0000 (22 01:55 +0100)]
valid_repo_url(): Allow darcs urls

14 years agodarcs-fast-export: Put in basedir/bin/ during installation, call it from there
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

14 years agogit_darcs_fetch(): Move from shlib to jobd/update.sh
Petr Baudis [Thu, 21 Jan 2010 23:57:34 +0000 (22 00:57 +0100)]
git_darcs_fetch(): Move from shlib to jobd/update.sh

14 years agoinstall.sh: fix for bash-4.0
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

14 years agoAdd support for mirroring darcs repos
Miklos Vajna [Sat, 28 Nov 2009 00:03:44 +0000 (28 01:03 +0100)]
Add support for mirroring darcs repos

14 years agoAdd bzr-fastimport.git as a submodule
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.

14 years agojobd/update.sh: Don't prepend remote.origin.url with gitweb prefix
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

14 years agotaskd/clone.sh: Don't fail on already-existing origin when previous mirroring attempt...
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

14 years agohooks/post-update: Introduce, use - fixes HTTP transport for push repos
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

14 years agopost-receive-hook, update-hook: move to hooks/*, drop -hook suffic
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

14 years agojobd: Don't try non-existing projects
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.

14 years agoREADME: Describe forks
Petr Baudis [Tue, 10 Nov 2009 09:10:31 +0000 (10 10:10 +0100)]
README: Describe forks

14 years agojobd/gc.sh: Fix two bugs with copying objects to 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

14 years agotaskd clients: Separate connection for each ref-change command
Petr Baudis [Mon, 9 Nov 2009 14:17:15 +0000 (9 15:17 +0100)]
taskd clients: Separate connection for each ref-change command

14 years agogitweb_config.perl: $git_push_url -> $git_base_push_url
Petr Baudis [Mon, 9 Nov 2009 14:13:21 +0000 (9 15:13 +0100)]
gitweb_config.perl: $git_push_url -> $git_base_push_url

14 years agoGirocco::Notify:get_commits(): Fix grep-chomp order
Petr Baudis [Sat, 7 Nov 2009 23:48:39 +0000 (8 00:48 +0100)]
Girocco::Notify:get_commits(): Fix grep-chomp order

14 years agoGirocco::Notify:cia(): Revert invalid refs/heads/ change
Petr Baudis [Sat, 7 Nov 2009 23:46:05 +0000 (8 00:46 +0100)]
Girocco::Notify:cia(): Revert invalid refs/heads/ change

14 years agoGirocco::Notify: Move use RPC::XML to BEGIN{}
Petr Baudis [Sat, 7 Nov 2009 23:44:38 +0000 (8 00:44 +0100)]
Girocco::Notify: Move use RPC::XML to BEGIN{}

14 years agoGirocco::Notify:cia():Fix get_commits() call
Petr Baudis [Sat, 7 Nov 2009 23:39:39 +0000 (8 00:39 +0100)]
Girocco::Notify:cia():Fix get_commits() call

14 years agoshlib.sh: Describe
Petr Baudis [Sat, 7 Nov 2009 23:38:01 +0000 (8 00:38 +0100)]
shlib.sh: Describe

14 years agoINSTALL: In theory
Petr Baudis [Sat, 7 Nov 2009 23:35:37 +0000 (8 00:35 +0100)]
INSTALL: In theory

14 years agoGirocco::Notify:get_commits(): rev-list --not -> rev-parse --not
Petr Baudis [Sat, 7 Nov 2009 23:33:02 +0000 (8 00:33 +0100)]
Girocco::Notify:get_commits(): rev-list --not -> rev-parse --not

14 years agojobd/update.sh: Handle changed baseurl - update remote.origin.url
Petr Baudis [Sat, 7 Nov 2009 23:23:30 +0000 (8 00:23 +0100)]
jobd/update.sh: Handle changed baseurl - update remote.origin.url

14 years agojobd/update.sh: ref-change new - fix variable name
Petr Baudis [Sat, 7 Nov 2009 20:15:55 +0000 (7 21:15 +0100)]
jobd/update.sh: ref-change new - fix variable name

14 years agojobd/update.sh: Fix ref-change for set -e
Petr Baudis [Sat, 7 Nov 2009 16:44:48 +0000 (7 17:44 +0100)]
jobd/update.sh: Fix ref-change for set -e

14 years agojobd/update.sh: Fix ref-change line, $ref at the end
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

14 years agoREADME: add header to produce nice looking html with asciidoc
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>
14 years agoSupport for commit notifications in mirrored repos
Petr Baudis [Fri, 6 Nov 2009 15:40:50 +0000 (6 16:40 +0100)]
Support for commit notifications in mirrored repos

14 years agotaskd/taskd.pl: Ignore empty connects
Petr Baudis [Fri, 6 Nov 2009 15:36:24 +0000 (6 16:36 +0100)]
taskd/taskd.pl: Ignore empty connects

14 years agoTODO: textarea paste
Petr Baudis [Fri, 6 Nov 2009 14:43:12 +0000 (6 15:43 +0100)]
TODO: textarea paste

14 years agotaskd/mail.sh: Include show -C by default now
Petr Baudis [Fri, 6 Nov 2009 14:42:22 +0000 (6 15:42 +0100)]
taskd/mail.sh: Include show -C by default now

14 years agotaskd/mail.sh: Limit mail size to 256kb.
Petr Baudis [Fri, 6 Nov 2009 14:40:51 +0000 (6 15:40 +0100)]
taskd/mail.sh: Limit mail size to 256kb.

14 years agogit.git: t/blob/pathinfo
Petr Baudis [Fri, 6 Nov 2009 14:32:28 +0000 (6 15:32 +0100)]
git.git: t/blob/pathinfo

14 years agoGeneric Girocco
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.

14 years agogitweb/gitweb_config.perl: Move up all tweakable options
Petr Baudis [Thu, 5 Nov 2009 02:51:48 +0000 (5 03:51 +0100)]
gitweb/gitweb_config.perl: Move up all tweakable options

14 years agoGirocco::Project::_property_fput(): Terminate early for gitconfig properties
Petr Baudis [Thu, 5 Nov 2009 02:32:22 +0000 (5 03:32 +0100)]
Girocco::Project::_property_fput(): Terminate early for gitconfig properties

14 years agoGirocco::Notify: Add <url> to CIA's log
Petr Baudis [Thu, 5 Nov 2009 02:31:27 +0000 (5 03:31 +0100)]
Girocco::Notify: Add <url> to CIA's log

14 years agorepo.git -> girocco.git
Petr Baudis [Thu, 5 Nov 2009 02:26:31 +0000 (5 03:26 +0100)]
repo.git -> girocco.git

14 years agotaskd/taskd.pl:ref_change(): Return 0
Petr Baudis [Thu, 5 Nov 2009 02:11:12 +0000 (5 03:11 +0100)]
taskd/taskd.pl:ref_change(): Return 0

14 years agoGirocco::Project: Link to the commit notify techniques
Petr Baudis [Thu, 5 Nov 2009 02:05:40 +0000 (5 03:05 +0100)]
Girocco::Project: Link to the commit notify techniques

14 years agoGirocco::Project::cgi_fill(): Load and verify notify parameters
Petr Baudis [Thu, 5 Nov 2009 01:56:08 +0000 (5 02:56 +0100)]
Girocco::Project::cgi_fill(): Load and verify notify parameters

14 years agoGirocco::Project::form_defaults(): Add notify fields
Petr Baudis [Thu, 5 Nov 2009 01:48:23 +0000 (5 02:48 +0100)]
Girocco::Project::form_defaults(): Add notify fields

14 years agoGirocco::Project: Shorten notify labels
Petr Baudis [Thu, 5 Nov 2009 01:46:58 +0000 (5 02:46 +0100)]
Girocco::Project: Shorten notify labels

14 years agoAllow setup of notify metadata fields
Petr Baudis [Thu, 5 Nov 2009 01:45:08 +0000 (5 02:45 +0100)]
Allow setup of notify metadata fields

14 years agoGirocco::Notify: Add support for CIA notifications
Petr Baudis [Thu, 5 Nov 2009 01:39:08 +0000 (5 02:39 +0100)]
Girocco::Notify: Add support for CIA notifications

14 years agoTODO: Some zwelch's ideas - watches, ssh, server-side tracking branches
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

14 years agoGirocco::Notify: Include pusher info in json payload
Petr Baudis [Thu, 5 Nov 2009 00:50:55 +0000 (5 01:50 +0100)]
Girocco::Notify: Include pusher info in json payload

14 years agotaskd/mail.sh: Nicer subject line, reindented unsubscribe instructions
Petr Baudis [Thu, 5 Nov 2009 00:36:27 +0000 (5 01:36 +0100)]
taskd/mail.sh: Nicer subject line, reindented unsubscribe instructions

14 years agoGirocco::Notify: Remove forgotten debug print
Petr Baudis [Thu, 5 Nov 2009 00:32:19 +0000 (5 01:32 +0100)]
Girocco::Notify: Remove forgotten debug print

14 years agotaskd/mail.sh: Default showrev includes gitweb link.
Petr Baudis [Thu, 5 Nov 2009 00:31:38 +0000 (5 01:31 +0100)]
taskd/mail.sh: Default showrev includes gitweb link.

14 years agotaskd/mail.sh: Optional fifth parameter is email sender; set up in ref_change()
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()

14 years agotaskd/mail.sh: Unsubscribe instructions in email footer.
Petr Baudis [Thu, 5 Nov 2009 00:20:26 +0000 (5 01:20 +0100)]
taskd/mail.sh: Unsubscribe instructions in email footer.

14 years agotaskd/mail.sh: Load shlib, default subject prefix is site name
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

14 years agotaskd/mail.sh: Take optional fourth parameter with project 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

14 years agotaskd: Reset SIGCHLD handler in children
Petr Baudis [Thu, 5 Nov 2009 00:07:09 +0000 (5 01:07 +0100)]
taskd: Reset SIGCHLD handler in children

14 years agoTODO: Support for commit notifications in mirrored repos
Petr Baudis [Thu, 5 Nov 2009 00:03:50 +0000 (5 01:03 +0100)]
TODO: Support for commit notifications in mirrored repos

14 years agoref-change: Make the first command parameter the uid of pusher
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

14 years agoGirocco::User: Introduce load_by_uid()
Petr Baudis [Thu, 5 Nov 2009 00:01:49 +0000 (5 01:01 +0100)]
Girocco::User: Introduce load_by_uid()

14 years agoGirocco::Project: Clean up gitconfig properties support, fix missing chomp there
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

14 years agoGirocco::Notify: Introduce, add ref-change support to taskd
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.

14 years agotaskd/mail.sh: Introduce - unmodified example post-receive hook
Petr Baudis [Wed, 4 Nov 2009 23:22:29 +0000 (5 00:22 +0100)]
taskd/mail.sh: Introduce - unmodified example post-receive hook

14 years agoGirocco::Project::_hooks_install(): Fix syntax error
Petr Baudis [Wed, 4 Nov 2009 22:41:09 +0000 (4 23:41 +0100)]
Girocco::Project::_hooks_install(): Fix syntax error

14 years agoGirocco::Config::mirror_user: Elaborate description
Petr Baudis [Wed, 4 Nov 2009 12:50:37 +0000 (4 13:50 +0100)]
Girocco::Config::mirror_user: Elaborate description

14 years agopost-receive-hook: Remove trailing .git from project name
Petr Baudis [Wed, 4 Nov 2009 12:06:30 +0000 (4 13:06 +0100)]
post-receive-hook: Remove trailing .git from project name

14 years agopost-receive-hook: Send also project name
Petr Baudis [Wed, 4 Nov 2009 12:05:09 +0000 (4 13:05 +0100)]
post-receive-hook: Send also project name

14 years agoTODO: GitHub -just
Petr Baudis [Wed, 4 Nov 2009 12:02:00 +0000 (4 13:02 +0100)]
TODO: GitHub -just

14 years agotaskd: Guard against cloning projects not for clone or already being cloned
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

14 years agopost-receive-hook: Display possible reply from taskd
Petr Baudis [Wed, 4 Nov 2009 11:24:53 +0000 (4 12:24 +0100)]
post-receive-hook: Display possible reply from taskd

14 years agotaskd: Make socket world-writable; necessary for notifications
Petr Baudis [Wed, 4 Nov 2009 11:24:03 +0000 (4 12:24 +0100)]
taskd: Make socket world-writable; necessary for notifications

14 years agoGirocco::Project: Install post-receive hook during setup
Petr Baudis [Wed, 4 Nov 2009 11:20:45 +0000 (4 12:20 +0100)]
Girocco::Project: Install post-receive hook during setup

14 years agotaskd/taskd.pl: Never ACK; we will write to the socket only on errors
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

14 years agotaskd: Fix command parsing regex
Petr Baudis [Wed, 4 Nov 2009 11:13:07 +0000 (4 12:13 +0100)]
taskd: Fix command parsing regex

14 years agojailsetup.sh: Allow sshd cp to fail
Petr Baudis [Wed, 4 Nov 2009 11:05:59 +0000 (4 12:05 +0100)]
jailsetup.sh: Allow sshd cp to fail

14 years agopost-receive-hook: Introduce, sends ref-change messages to taskd
Petr Baudis [Wed, 4 Nov 2009 11:03:51 +0000 (4 12:03 +0100)]
post-receive-hook: Introduce, sends ref-change messages to taskd