Commit graph

84 commits

Author SHA1 Message Date
clime
c7aebc63c5 remove dist-git.conf as it is not actually used by any of the scripts
In fact Fedora Infra also does not read at the moment
2017-02-07 04:50:06 +01:00
clime
fddc4bfa8c cgit_pkg_list added
Although cgit installation is optional, I think we can provide this useful script
2017-02-07 04:49:59 +01:00
clime
86b388c58f remove gitolite from package - let user setup its own way to handle git repo access
NOTE: Gitolite might still be used but is optional and user can configure it at will
2017-02-06 11:25:42 +01:00
clime
6adbc28c58 add restorecons for /srv/cache and /srv/web 2017-02-06 07:38:51 +01:00
clime
ccbcd397d0 comment to gen-acls group 2017-02-04 07:55:06 +01:00
clime
8f03e69d81 add kerberos support for lookaside-cache uploading 2017-02-02 15:16:42 +01:00
clime
4fefd7f1d5 reconfiguring package to fit into FedoraInfra 2016-10-31 04:30:33 +01:00
Adam Samalik
efa5ab8baf Automatic commit of package [dist-git] release [0.13-1]. 2015-08-05 13:44:02 +02:00
Adam Samalik
a5bcd0b08e optional cgit_pkg_list.sh parameter
to decide where to store pkgs-git-repos-list
2015-07-24 11:58:38 +02:00
Adam Samalik
2caf4f2159 change mv to cp + rm 2015-07-23 14:05:26 +02:00
Adam Samalik
1d8868cae8 update config to not be Fedora specific 2015-07-23 13:38:42 +02:00
Adam Samalik
addb175ea6 Change: lookaside dir perms + cgit_pkg_list.sh 2015-07-23 13:29:42 +02:00
Adam Samalik
da204d100a Automatic commit of package [dist-git] release [0.12-1]. 2015-07-20 14:02:12 +02:00
Adam Samalik
0c1d0efecc Update README.md 2015-07-20 13:21:16 +02:00
Adam Samalik
313aecb8ee config update 2015-06-30 10:43:50 +02:00
Adam Samalik
8a5cf561b4 Upload files to new and old paths + remove email
=============
distgit: Upload files to both the new and old path

Currently, the CGI script is set to upload files:
- to the old path if the upload uses md5
- to the new path if the upload uses sha512

The old path is as follows:
    /%(srpmname)s/%(filename)s/%(hash)s/%(filename)s

The new path is:
    /%(srpmname)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s

This was meant to ensure compatibility with current fedpkg which
always downloads from the old path, but will eventually download from
the new path when we move to sha512.

However, working more on this, I now think it would make for a smoother
transition if we instead always stored the files at the new path, but
just hardlinked to the old path if the upload is using md5.

This is what this patch achieves.

With this deployed in production, fedpkg could be patched to try
downloading from the new path, and fallback to the old one if necessary,
which decouples the migration to the new path from the migration to the
new hash.

=============
distgit: Ensure the folder exists

We can't hard link the file if the folder containing the link
destination does not exist.

Hurray for testing in staging!

=============
distgit: os.link fails if the dest already exists

=============
distgit: And so does os.makedirs

=============
distgit: Actually hardlink over the existing source at the old path
Without this, the file could exist at both the old and new path, taking
the space on the disk twice.

This forces a hardlink if the file already existed at the old path.

=============
Remove the lookaside email hook (rely on fedmsg now).
2015-06-03 13:42:57 +02:00
Adam Samalik
72619ca38d Automatic commit of package [dist-git] release [0.11-1]. 2015-05-05 10:13:27 +02:00
Adam Samalik
e03f35e747 selinux labels update 2015-04-29 12:53:10 +02:00
Adam Samalik
eaf970e4c9 hardlink 2015-04-29 10:44:32 +02:00
Adam Samalik
46580c99ba selinux subpackage created 2015-04-27 16:34:41 +02:00
Adam Samalik
42db6913c6 Automatic commit of package [dist-git] release [0.10-1]. 2015-04-27 09:24:21 +02:00
Adam Samalik
58b80ed7ae perl require and %files update 2015-04-27 09:22:37 +02:00
Adam Samalik
9874f43f45 Automatic commit of package [dist-git] release [0.9-1]. 2015-04-23 16:13:36 +02:00
Adam Samalik
2965c08ab8 update hook update 2015-04-23 16:11:19 +02:00
Adam Samalik
288b74b8f4 Automatic commit of package [dist-git] release [0.8-1]. 2015-04-23 14:55:05 +02:00
Adam Samalik
9492dccfa7 review update 2015-04-23 14:54:24 +02:00
Adam Samalik
8171074636 Automatic commit of package [dist-git] release [0.7-1]. 2015-04-22 16:05:22 +02:00
Adam Samalik
1cfe4b98d0 git hooks permissions 2015-04-22 16:04:48 +02:00
Adam Samalik
6c13a68802 noreplace configs 2015-04-22 15:56:04 +02:00
Adam Samalik
8d761e6c40 gitignore 2015-04-22 15:54:25 +02:00
Adam Samalik
f3695f090b fixes after rpmlint 2015-04-22 14:25:17 +02:00
Adam Samalik
ea88e08508 Automatic commit of package [dist-git] release [0.6-1]. 2015-04-22 10:05:23 +02:00
Adam Samalik
d313721803 license + description 2015-04-22 10:05:08 +02:00
Adam Samalik
2e116b2cbc cron files fix 2015-04-21 11:08:58 +02:00
Adam Samalik
ebfaf0eb21 Update changes.txt 2015-04-21 10:42:19 +02:00
Adam Samalik
dcd6ee3a9a Stylistic updates in README.md 2015-04-17 07:58:59 +02:00
Adam Samalik
f7b5a14045 license updated in spec 2015-04-16 09:29:32 +02:00
Adam Samalik
9821da3079 Automatic commit of package [dist-git] release [0.5-1]. 2015-04-15 18:42:24 +02:00
Adam Samalik
f49049884a typo in spec 2015-04-15 18:40:56 +02:00
Adam Samalik
a412858784 git hook: update-block-push-origin 2015-04-15 18:40:56 +02:00
Adam Samalik
0d044ca214 fedmsg + git hooks fix in spec 2015-04-15 18:40:56 +02:00
Adam Samalik
0088f2bed1 Update README.md 2015-04-15 13:43:38 +02:00
Adam Samalik
515a595b80 lookaside-upload config comments 2015-04-15 13:39:43 +02:00
Adam Samalik
d519c8b21a Update README.md 2015-04-15 11:09:07 +02:00
Adam Samalik
d1c01f95bd hosting files image 2015-04-15 11:05:31 +02:00
Adam Samalik
4cb73ce0eb README.md: How It Works updated 2015-04-14 10:02:09 +02:00
Adam Samalik
ea985886ee file describing changes 2015-04-13 15:33:01 +02:00
Adam Samalik
07bb3cfb32 gen-acls user fix 2015-04-13 14:38:49 +02:00
Adam Samalik
b52a85f0ab installation guide 2015-04-13 14:33:47 +02:00
Adam Samalik
06c14c8c84 ssl httpd configs as examples 2015-04-13 12:08:12 +02:00