girocco/testingthisout.git
14 years agoGirocco::Project::_alternates_setup(): Stop creating the forkee symlink
Petr Baudis [Sun, 1 Nov 2009 01:13:12 +0000 (1 02:13 +0100)]
Girocco::Project::_alternates_setup(): Stop creating the forkee symlink

14 years agoIntroduce support for min_{gc,mirror}_interval
Petr Baudis [Sun, 1 Nov 2009 01:05:11 +0000 (1 02:05 +0100)]
Introduce support for min_{gc,mirror}_interval

14 years agodaemons/gc,update: Nicer progress prints
Petr Baudis [Sun, 1 Nov 2009 00:57:27 +0000 (1 01:57 +0100)]
daemons/gc,update: Nicer progress prints

14 years agoGirocco::Project::_setup(): Fix up /info permissions
Petr Baudis [Sun, 1 Nov 2009 00:52:21 +0000 (1 01:52 +0100)]
Girocco::Project::_setup(): Fix up /info permissions

14 years agoFixup job: Fix mirroruser vs mirror_user varname mismatches
Petr Baudis [Sun, 1 Nov 2009 00:42:40 +0000 (1 01:42 +0100)]
Fixup job: Fix mirroruser vs mirror_user varname mismatches

14 years agolast_refresh, last_gc -> lastrefresh, lastgc
Petr Baudis [Sun, 1 Nov 2009 00:39:08 +0000 (1 01:39 +0100)]
last_refresh, last_gc -> lastrefresh, lastgc

14 years agoindextext: Update cgi links
Petr Baudis [Sun, 1 Nov 2009 00:19:02 +0000 (1 01:19 +0100)]
indextext: Update cgi links

14 years agoGirocco::Config: Remove some trailing slashes
Petr Baudis [Sun, 1 Nov 2009 00:14:15 +0000 (1 01:14 +0100)]
Girocco::Config: Remove some trailing slashes

14 years agoGirocco::Project: Fix config lookup
Petr Baudis [Sun, 1 Nov 2009 00:13:05 +0000 (1 01:13 +0100)]
Girocco::Project: Fix config lookup

14 years agojailsetup.sh: -git-repack, +git-unpack-objects
Petr Baudis [Sat, 31 Oct 2009 23:44:00 +0000 (1 00:44 +0100)]
jailsetup.sh: -git-repack, +git-unpack-objects

14 years agojailsetup.sh: Add /proc, stupidly required by libselinux
Petr Baudis [Sat, 31 Oct 2009 22:46:53 +0000 (31 23:46 +0100)]
jailsetup.sh: Add /proc, stupidly required by libselinux

14 years agoGirocco::Config: Remote the trailing /m/ from webadmurl
Petr Baudis [Sat, 31 Oct 2009 22:30:47 +0000 (31 23:30 +0100)]
Girocco::Config: Remote the trailing /m/ from webadmurl

14 years agoGirocco::Config: Adjust default configuration to be more self-consistent
Petr Baudis [Sat, 31 Oct 2009 22:01:48 +0000 (31 23:01 +0100)]
Girocco::Config: Adjust default configuration to be more self-consistent

14 years agoconfig_set: Fix up config permissions
Petr Baudis [Sat, 31 Oct 2009 21:43:54 +0000 (31 22:43 +0100)]
config_set: Fix up config permissions

14 years agoGirocco::Config: Explain who should be member of owning_group
Petr Baudis [Sat, 31 Oct 2009 21:35:35 +0000 (31 22:35 +0100)]
Girocco::Config: Explain who should be member of owning_group

14 years agobase_url -> baseurl (no underscores allowed in config keys)
Petr Baudis [Sat, 31 Oct 2009 21:34:25 +0000 (31 22:34 +0100)]
base_url -> baseurl (no underscores allowed in config keys)

14 years agoinstall.sh: Try to setup jail only when root
Petr Baudis [Sat, 31 Oct 2009 16:50:46 +0000 (31 17:50 +0100)]
install.sh: Try to setup jail only when root

14 years agoStore last_*, owner, base_url and homepage in git config
Petr Baudis [Sat, 31 Oct 2009 16:45:46 +0000 (31 17:45 +0100)]
Store last_*, owner, base_url and homepage in git config

14 years agoGirocco::Project: Support for gitconfig properties
Petr Baudis [Sat, 31 Oct 2009 16:41:06 +0000 (31 17:41 +0100)]
Girocco::Project: Support for gitconfig properties

14 years agojailsetup.sh: Introduce for setting up chroot jail for pushing
Petr Baudis [Fri, 30 Oct 2009 12:55:38 +0000 (30 13:55 +0100)]
jailsetup.sh: Introduce for setting up chroot jail for pushing

14 years agoregproj.cgi anti-captcha: Split label, too wide
Petr Baudis [Fri, 30 Oct 2009 10:02:29 +0000 (30 11:02 +0100)]
regproj.cgi anti-captcha: Split label, too wide

14 years agohtaccess: Add what we currently use, spider-protection
Petr Baudis [Thu, 29 Oct 2009 16:49:25 +0000 (29 17:49 +0100)]
htaccess: Add what we currently use, spider-protection

14 years agoCGI: ssh key wrap=off
Petr Baudis [Thu, 29 Oct 2009 16:43:31 +0000 (29 17:43 +0100)]
CGI: ssh key wrap=off

14 years agoregproj: warn against push --mirror on forks
Petr Baudis [Sun, 24 May 2009 16:40:56 +0000 (24 18:40 +0200)]
regproj: warn against push --mirror on forks

14 years agoregproj: Change anti-captcha to nearest planet test
Petr Baudis [Sun, 24 May 2009 16:37:42 +0000 (24 18:37 +0200)]
regproj: Change anti-captcha to nearest planet test

14 years agogitweb_config: snapshot feature spec - allow zip snapshots
Petr Baudis [Fri, 30 Oct 2009 09:10:23 +0000 (30 10:10 +0100)]
gitweb_config: snapshot feature spec - allow zip snapshots

14 years agoedituser.cgi: Fix user existence test
Petr Baudis [Fri, 30 Oct 2009 09:09:05 +0000 (30 10:09 +0100)]
edituser.cgi: Fix user existence test

14 years agoGirocco::User: Fix grammar error in keys_fill error message
Petr Baudis [Fri, 30 Oct 2009 09:08:06 +0000 (30 10:08 +0100)]
Girocco::User: Fix grammar error in keys_fill error message

Reported by David Mudrak.

14 years agojobs/fixupcheck.sh: Do not consider internal groups
Petr Baudis [Fri, 30 Oct 2009 08:55:09 +0000 (30 09:55 +0100)]
jobs/fixupcheck.sh: Do not consider internal groups

14 years agojobs/fixup.sh: Enable the 'cannot resolve gid' error message
Petr Baudis [Fri, 30 Oct 2009 08:47:02 +0000 (30 09:47 +0100)]
jobs/fixup.sh: Enable the 'cannot resolve gid' error message

14 years agojobs/fixupcheck.sh: $dir -> $proj
Petr Baudis [Fri, 30 Oct 2009 08:46:14 +0000 (30 09:46 +0100)]
jobs/fixupcheck.sh: $dir -> $proj

14 years agorepod: Fix path to gc.sh
Petr Baudis [Fri, 30 Oct 2009 01:42:40 +0000 (30 02:42 +0100)]
repod: Fix path to gc.sh

14 years agorepod: Fix .nofetch test
Petr Baudis [Fri, 30 Oct 2009 01:41:52 +0000 (30 02:41 +0100)]
repod: Fix .nofetch test

14 years agodaemons/update.sh: Fix cd
Petr Baudis [Fri, 30 Oct 2009 01:39:38 +0000 (30 02:39 +0100)]
daemons/update.sh: Fix cd

14 years agorepod: Better verbosity
Petr Baudis [Fri, 30 Oct 2009 01:38:19 +0000 (30 02:38 +0100)]
repod: Better verbosity

14 years agoget_repo_list: Do not list internal groups
Petr Baudis [Fri, 30 Oct 2009 01:34:19 +0000 (30 02:34 +0100)]
get_repo_list: Do not list internal groups

14 years agoshlib.sh: Fix get_repo_list
Petr Baudis [Fri, 30 Oct 2009 01:29:35 +0000 (30 02:29 +0100)]
shlib.sh: Fix get_repo_list

14 years agoRemove gccheck, updatecheck cronjobs, instead recommend repod -q --all-once as a...
Petr Baudis [Fri, 30 Oct 2009 01:23:22 +0000 (30 02:23 +0100)]
Remove gccheck, updatecheck cronjobs, instead recommend repod -q --all-once as a cronjob

14 years agorepod -q: Implement quiet mode
Petr Baudis [Fri, 30 Oct 2009 01:18:48 +0000 (30 02:18 +0100)]
repod -q: Implement quiet mode

14 years agorepod: Be verbose by default
Petr Baudis [Fri, 30 Oct 2009 01:14:00 +0000 (30 02:14 +0100)]
repod: Be verbose by default

14 years agorepod: Run with set -e
Petr Baudis [Fri, 30 Oct 2009 01:05:27 +0000 (30 02:05 +0100)]
repod: Run with set -e

14 years agorepod: Support --all-once and --one switches
Petr Baudis [Fri, 30 Oct 2009 01:04:10 +0000 (30 02:04 +0100)]
repod: Support --all-once and --one switches

14 years agodaemons/README: Introduce; jobs/README: Update
Petr Baudis [Fri, 30 Oct 2009 01:00:51 +0000 (30 02:00 +0100)]
daemons/README: Introduce; jobs/README: Update

14 years agomirroring/*, jobs/gc.sh: daemons/*
Petr Baudis [Fri, 30 Oct 2009 00:58:13 +0000 (30 01:58 +0100)]
mirroring/*, jobs/gc.sh: daemons/*

14 years agodaemons/repod.sh: Introduce, invokes update.sh and gc.sh in infinite loop
Petr Baudis [Fri, 30 Oct 2009 00:54:39 +0000 (30 01:54 +0100)]
daemons/repod.sh: Introduce, invokes update.sh and gc.sh in infinite loop

14 years agojobs/gc.sh: repo -> proj (consistency with update.sh)
Petr Baudis [Fri, 30 Oct 2009 00:46:22 +0000 (30 01:46 +0100)]
jobs/gc.sh: repo -> proj (consistency with update.sh)

14 years agoTurn off gc.auto by default, dangerous for forks
Petr Baudis [Fri, 30 Oct 2009 00:45:21 +0000 (30 01:45 +0100)]
Turn off gc.auto by default, dangerous for forks

14 years agojobs/gc.sh: Simplify cd management, set -e
Petr Baudis [Fri, 30 Oct 2009 00:44:01 +0000 (30 01:44 +0100)]
jobs/gc.sh: Simplify cd management, set -e

14 years agoget_repo_list users: Fix for the fact that .git suffix is not returned
Petr Baudis [Fri, 30 Oct 2009 00:42:26 +0000 (30 01:42 +0100)]
get_repo_list users: Fix for the fact that .git suffix is not returned

14 years agoshlib.sh: set -e friendly
Petr Baudis [Fri, 30 Oct 2009 00:41:40 +0000 (30 01:41 +0100)]
shlib.sh: set -e friendly

14 years agojobs/fixupcheck.sh: Use group database to get list of all projects
Petr Baudis [Fri, 30 Oct 2009 00:35:10 +0000 (30 01:35 +0100)]
jobs/fixupcheck.sh: Use group database to get list of all projects

14 years agojobs/fixupcheck.sh: Remove two nonsensical lines
Petr Baudis [Fri, 30 Oct 2009 00:33:17 +0000 (30 01:33 +0100)]
jobs/fixupcheck.sh: Remove two nonsensical lines

14 years agojobs/gccheck.sh: Split off one-repo worker to jobs/gc.sh
Petr Baudis [Fri, 30 Oct 2009 00:31:23 +0000 (30 01:31 +0100)]
jobs/gccheck.sh: Split off one-repo worker to jobs/gc.sh

14 years agomirroring/cloned.pl -> daemons/cloned.pl
Petr Baudis [Fri, 30 Oct 2009 00:21:03 +0000 (30 01:21 +0100)]
mirroring/cloned.pl -> daemons/cloned.pl

14 years agoget_repo_list_here -> get_repo_list, use the group project database
Petr Baudis [Fri, 30 Oct 2009 00:17:58 +0000 (30 01:17 +0100)]
get_repo_list_here -> get_repo_list, use the group project database

14 years agojobs/README: Update, -clonecheck, +gccheck
Petr Baudis [Fri, 30 Oct 2009 00:01:53 +0000 (30 01:01 +0100)]
jobs/README: Update, -clonecheck, +gccheck

14 years agojobs/gccheck.sh: Save timestamp of last gc to .last_gc
Petr Baudis [Fri, 30 Oct 2009 00:00:51 +0000 (30 01:00 +0100)]
jobs/gccheck.sh: Save timestamp of last gc to .last_gc

14 years agojobs/updatecheck.sh: Split out clean jobs/gccheck.sh
Petr Baudis [Thu, 29 Oct 2009 23:57:36 +0000 (30 00:57 +0100)]
jobs/updatecheck.sh: Split out clean jobs/gccheck.sh

The split-out script is now using hard-link based safe pruning method.

14 years agoshlib: Introduce progress() for progress messages, use in updatecheck.sh
Petr Baudis [Thu, 29 Oct 2009 23:54:38 +0000 (30 00:54 +0100)]
shlib: Introduce progress() for progress messages, use in updatecheck.sh

14 years agoabout.html: Girocco is in girocco.git, not repo.git
Petr Baudis [Thu, 29 Oct 2009 23:46:04 +0000 (30 00:46 +0100)]
about.html: Girocco is in girocco.git, not repo.git

15 years agogit.git: Bring to current git/repo.git:girocco
Petr Baudis [Mon, 27 Oct 2008 23:36:21 +0000 (27 16:36 -0700)]
git.git: Bring to current git/repo.git:girocco

15 years agocgi/{edit,reg}user.cgi: Table up the forms
Petr Baudis [Mon, 27 Oct 2008 23:34:51 +0000 (27 16:34 -0700)]
cgi/{edit,reg}user.cgi: Table up the forms

15 years agocgi/{reg,edit}user.cgi: Massive rewording of user instructions
Petr Baudis [Mon, 27 Oct 2008 22:14:44 +0000 (27 15:14 -0700)]
cgi/{reg,edit}user.cgi: Massive rewording of user instructions

15 years agohtml/about.html: More precise Novartis name
Petr Baudis [Tue, 21 Oct 2008 12:31:57 +0000 (21 14:31 +0200)]
html/about.html: More precise Novartis name

15 years agoMirroring: Stop using 'git mirror'
Petr Baudis [Tue, 21 Oct 2008 12:29:06 +0000 (21 14:29 +0200)]
Mirroring: Stop using 'git mirror'

We now rely on the standard tools git remote add --mirror, update, prune
instead.

15 years agocgi/regproj.cgi: Support pre-filling of source inputs from query string
Petr Baudis [Tue, 16 Sep 2008 11:28:06 +0000 (16 13:28 +0200)]
cgi/regproj.cgi: Support pre-filling of source inputs from query string

15 years agocgi/editproj.cgi: Fix submit check
Petr Baudis [Tue, 16 Sep 2008 09:07:29 +0000 (16 11:07 +0200)]
cgi/editproj.cgi: Fix submit check

15 years agocgi/mirrorproj.cgi: Project Registration -> Project Mirroring
Petr Baudis [Tue, 16 Sep 2008 08:49:52 +0000 (16 10:49 +0200)]
cgi/mirrorproj.cgi: Project Registration -> Project Mirroring

15 years ago@Girocco::Config::project_fields: Configure which project fields to make editable
Petr Baudis [Mon, 15 Sep 2008 09:50:02 +0000 (15 11:50 +0200)]
@Girocco::Config::project_fields: Configure which project fields to make editable

Suitable for corporate deployments where many of the fields aren't relevant.

15 years agoGirocco::Config::project_owners: Introduce configuration variable
Petr Baudis [Fri, 12 Sep 2008 19:33:05 +0000 (12 21:33 +0200)]
Girocco::Config::project_owners: Introduce configuration variable

The current default is 'email', the new method 'source' will
auto-determine the owner from the source URL given while mirroring.

15 years agoGirocco::Config::project_passwords: Introduce; allow password protection turned off
Petr Baudis [Thu, 11 Sep 2008 16:38:12 +0000 (11 18:38 +0200)]
Girocco::Config::project_passwords: Introduce; allow password protection turned off

15 years agocgi/regproj.cgi: Fix form processing
Petr Baudis [Wed, 10 Sep 2008 16:02:30 +0000 (10 18:02 +0200)]
cgi/regproj.cgi: Fix form processing

15 years agocgi/regproj.cgi: Clearly distinguish forked projects in registration form
Petr Baudis [Wed, 10 Sep 2008 15:59:49 +0000 (10 17:59 +0200)]
cgi/regproj.cgi: Clearly distinguish forked projects in registration form

15 years agocgi/editproj.cgi: Restart mirroring only if update went ok
Petr Baudis [Tue, 9 Sep 2008 16:24:53 +0000 (9 18:24 +0200)]
cgi/editproj.cgi: Restart mirroring only if update went ok

15 years agoGirocco::Project: Make update() return values consistent
Petr Baudis [Tue, 9 Sep 2008 16:24:05 +0000 (9 18:24 +0200)]
Girocco::Project: Make update() return values consistent

15 years agoGirocco::Project: Allow empty project password
Petr Baudis [Tue, 9 Sep 2008 16:23:39 +0000 (9 18:23 +0200)]
Girocco::Project: Allow empty project password

15 years agoinstall.sh: Fix $cgi_user references
Petr Baudis [Tue, 9 Sep 2008 15:42:56 +0000 (9 17:42 +0200)]
install.sh: Fix $cgi_user references

15 years agoSupport undef $owning_group: Make stuff world-writable in that case
Petr Baudis [Tue, 9 Sep 2008 15:40:30 +0000 (9 17:40 +0200)]
Support undef $owning_group: Make stuff world-writable in that case

15 years agoinstall.sh: Make sure etc/passwd, etc/group exist
Petr Baudis [Tue, 9 Sep 2008 15:33:43 +0000 (9 17:33 +0200)]
install.sh: Make sure etc/passwd, etc/group exist

15 years agoinstall.sh: Fix shell grouping
Petr Baudis [Fri, 5 Sep 2008 20:55:03 +0000 (5 22:55 +0200)]
install.sh: Fix shell grouping

15 years agoinstall.sh: Don't fail on unset $cfg_webreporoot
Petr Baudis [Fri, 5 Sep 2008 20:52:06 +0000 (5 22:52 +0200)]
install.sh: Don't fail on unset $cfg_webreporoot

15 years agoinstall.sh: Don't fail on non-existing $cfg_basedir
Petr Baudis [Fri, 5 Sep 2008 20:50:56 +0000 (5 22:50 +0200)]
install.sh: Don't fail on non-existing $cfg_basedir

15 years agoINSTALL: Add a note about cloned.pl
Petr Baudis [Fri, 5 Sep 2008 15:47:04 +0000 (5 17:47 +0200)]
INSTALL: Add a note about cloned.pl

15 years agoSupport for SVN mirroring
Petr Baudis [Mon, 18 Aug 2008 15:57:42 +0000 (18 17:57 +0200)]
Support for SVN mirroring

15 years agohtml/about.html: Allow 400M instead of 100M
Petr Baudis [Fri, 15 Aug 2008 19:18:05 +0000 (15 21:18 +0200)]
html/about.html: Allow 400M instead of 100M

15 years agoGuide the user to fix settings when clone failed
Petr Baudis [Fri, 15 Aug 2008 19:14:38 +0000 (15 21:14 +0200)]
Guide the user to fix settings when clone failed

15 years agocgi/: Fix remnants of hardcoded /w/
Petr Baudis [Fri, 15 Aug 2008 19:06:38 +0000 (15 21:06 +0200)]
cgi/: Fix remnants of hardcoded /w/

15 years agomirroring/clone.sh: Drop the invalid git config --add parameter
Petr Baudis [Fri, 15 Aug 2008 19:05:32 +0000 (15 21:05 +0200)]
mirroring/clone.sh: Drop the invalid git config --add parameter

15 years agoSeparate clonelog viewer to mirrorproj.cgi
Petr Baudis [Fri, 15 Aug 2008 19:04:33 +0000 (15 21:04 +0200)]
Separate clonelog viewer to mirrorproj.cgi

This can be used to re-trigger failed clones and watch the clonelog
scroll.

15 years agocgi/editproj.cgi: Remove now-superfluous check
Petr Baudis [Fri, 15 Aug 2008 18:49:12 +0000 (15 20:49 +0200)]
cgi/editproj.cgi: Remove now-superfluous check

15 years agoIndicate repository in the course of cloning by .clone_in_progress
Petr Baudis [Fri, 15 Aug 2008 18:39:08 +0000 (15 20:39 +0200)]
Indicate repository in the course of cloning by .clone_in_progress

15 years agomirroring/clone.sh: Do not setup the origin remote
Petr Baudis [Fri, 15 Aug 2008 18:31:20 +0000 (15 20:31 +0200)]
mirroring/clone.sh: Do not setup the origin remote

15 years agoCloning design overhaul - daemon instead of cronjobs
Petr Baudis [Fri, 15 Aug 2008 18:26:54 +0000 (15 20:26 +0200)]
Cloning design overhaul - daemon instead of cronjobs

The clonecheck cronjob was removed, as was Girocco::Config::mqueuedir.
Instead, mirroring/cloned.pl listens to requests at /tmp/girocco.cloned
(sent by new Girocco::Project::clone()) and runs jobs/clone.sh on its own.
jobs/clone.sh does not mail failures but instead saves them to .clonelog
within the repository and regproj.cgi shows this file online. On failure,
repository is not removed but just .clone_failed is touched.

15 years agomirroring/clone.sh: Add Source URL to the notification mail
Petr Baudis [Fri, 15 Aug 2008 11:43:57 +0000 (15 13:43 +0200)]
mirroring/clone.sh: Add Source URL to the notification mail

15 years agojobs/clonecheck.sh: Revert the cp'ing back to a simple mv
Petr Baudis [Fri, 15 Aug 2008 11:41:26 +0000 (15 13:41 +0200)]
jobs/clonecheck.sh: Revert the cp'ing back to a simple mv

With the chmod fix, things should be fine again.

15 years agoGirocco::Project: Fix chmod permission bits
Petr Baudis [Fri, 15 Aug 2008 11:36:29 +0000 (15 13:36 +0200)]
Girocco::Project: Fix chmod permission bits

15 years agoMassively simplify cloning process further
Petr Baudis [Thu, 14 Aug 2008 18:20:27 +0000 (14 20:20 +0200)]
Massively simplify cloning process further

We will just outright initialize a new Git repository in premirror(),
and use git mirror in the clone job.

15 years agojobs/clonecheck.sh: Fix permission setup
Petr Baudis [Thu, 14 Aug 2008 18:08:17 +0000 (14 20:08 +0200)]
jobs/clonecheck.sh: Fix permission setup

15 years agomirroring/update.sh: Remove the obsolete --git-dir=.
Petr Baudis [Thu, 14 Aug 2008 17:49:44 +0000 (14 19:49 +0200)]
mirroring/update.sh: Remove the obsolete --git-dir=.

15 years agomirroring/clone.sh: Fix $proj setup
Petr Baudis [Thu, 14 Aug 2008 17:44:09 +0000 (14 19:44 +0200)]
mirroring/clone.sh: Fix $proj setup