Commit graph

49 commits

Author SHA1 Message Date
Mathieu Bridon
1b2337558f lookaside: Add the hash type to the folder structure
This makes it more explicit which hash was used for a given tarball.

https://fedorahosted.org/rel-eng/ticket/5846
2014-10-28 10:59:01 +01:00
Mathieu Bridon
a92efe252a lookaside: Add support for sha512 file hashes
With this change, the upload CGI script will start preferring uploads
hashed as sha512, but still accept md5 as a fallback.

The message emitted on fedmsg is unchanged, because doing so would break
it. We're going to fix that later though.

https://fedorahosted.org/rel-eng/ticket/5846
2014-10-28 10:59:01 +01:00
Mathieu Bridon
608810be28 lookaside: De-hardcode md5 assumptions...
... as much as possible.

The point of this patch is to make it easier to move away from md5 in a
subsequent patch, without having one monster change which would be
impossible to review.

Some md5 stuff remains hardcoded, because changing it at this point
would break compatibility.

https://fedorahosted.org/rel-eng/ticket/5846
2014-10-28 10:59:01 +01:00
Mathieu Bridon
b842616187 lookaside: Drop EL < 6 support
This will make it easier to move away from md5 for the source tarballs.

It shouldn't cause any problem anyway, as Fedora runs this on EL 6 in
production, and EL 7 in staging.
2014-10-28 10:16:30 +01:00
Mathieu Bridon
76d83b13a0 lookaside: Remove tempfile when hash verification fails
Without this, tempfiles just accumulate.
2014-10-28 10:16:30 +01:00
9bad15971c distgit: Schedule a weekly check of the update hooks
This allows ensuring over time that all repositories have the right
update hooks set up.
2014-10-27 10:48:12 +01:00
7ab3ff2817 distgit: Block push of branches named 'origin/*'
We already use the update hook for gitolite.

This introduces a new update hook, which merely chains the gitolite one,
and a new one to block pushes to badly named branches.

The new hook was written originally by Till Maas.

https://fedorahosted.org/rel-eng/ticket/4071
2014-10-27 10:48:12 +01:00
e47ca86ca3 distgit: One action per task
This had been found by misc during his review of the patches, but the
unfixed patch is what got merged.

https://fedorahosted.org/fedora-infrastructure/ticket/4452
2014-09-24 12:26:08 +02:00
4155edeeaf distgit: Express the role dependency properly
This had been found by misc during his review of the patches, but the
unfixed patch is what got merged.

https://fedorahosted.org/fedora-infrastructure/ticket/4452
2014-09-24 12:26:07 +02:00
d46dc1095c Setup for F21 branching
This change had been made by Dennis Gilmore in puppet (commit 8dc43c),
I'm just porting it here to Ansible so we don't miss it.
2014-09-24 12:26:07 +02:00
5dd40fdfbf Add support for packaging groups
This had already been done by Pierre-Yves Chibon in puppet (commits
4cc2ef and 47f29f), I'm just porting it here in Ansible so we don't miss
it.
2014-09-24 12:26:07 +02:00
Pierre-Yves Chibon
13465f6a0d Try fixing indentation 2014-09-10 12:08:45 +02:00
Pierre-Yves Chibon
a5254ba79b Fix the permissions on /etc/gitolite/logs 2014-09-10 11:58:54 +02:00
Pierre-Yves Chibon
0d2ca2d93d Print the error message if there is one 2014-09-09 12:02:44 +02:00
Pierre-Yves Chibon
b9dbd0b681 Accesss stdout in VERBOSE we do not need it otherwise 2014-09-09 12:02:44 +02:00
Pierre-Yves Chibon
068d71c127 Fix installing the genacls.pkgdb script from the template directory 2014-09-09 10:58:36 +02:00
Pierre-Yves Chibon
3341c84d01 Let genacls.pkgdb use the pkgdb.stg instance in stg 2014-09-09 10:56:41 +02:00
Pierre-Yves Chibon
0d41c13df1 Move the genacls.pkgdb script to the template directory 2014-09-09 10:55:12 +02:00
Pierre-Yves Chibon
6d942022c1 Give the logs folder to packager and let them write to it 2014-09-09 10:49:25 +02:00
Pierre-Yves Chibon
137bb9ccaf Let every packager access the gitolite.conf-compiled.pm file 2014-09-08 18:00:34 +02:00
Pierre-Yves Chibon
0875ac93a7 1 too many 2014-09-05 11:21:41 +02:00
Pierre-Yves Chibon
44bf50073b Let's try to not create an existing link - Credit bochecha 2014-09-05 11:19:44 +02:00
Pierre-Yves Chibon
6f924abfbf We need /etc/gitolite/logs as well 2014-09-05 11:14:06 +02:00
f591a084dd distgit: Update the script to the latest from puppet 2014-09-05 11:03:30 +02:00
Pierre-Yves Chibon
cd3eb3c4e5 Couple more of symlink to allow setting $HOME in /srv/git 2014-09-05 10:55:51 +02:00
Pierre-Yves Chibon
6e91205991 Create a symlink for ~/repositories 2014-08-29 12:33:56 +02:00
Pierre-Yves Chibon
4828953da0 Replace gl-compile-conf by gitolite compile 2014-08-29 12:05:38 +02:00
Pierre-Yves Chibon
1317fde63d One more indentation fix 2014-08-29 11:50:17 +02:00
Pierre-Yves Chibon
49f01da2b5 Fix typo 2014-08-29 11:49:18 +02:00
Pierre-Yves Chibon
a73e4f501c Add a daily cron job for genacls.sh as backup for fedmsg-genacls 2014-08-29 11:47:41 +02:00
Pierre-Yves Chibon
593b37b429 Adjust role to install pkgdb_sync_git_branches.py as a template 2014-08-28 18:22:55 +02:00
Pierre-Yves Chibon
d4dca172ab Use pkgdb.stg in stg 2014-08-28 18:21:42 +02:00
Pierre-Yves Chibon
64f77e40bd Move the pkgdb_sync_git_branches.py from a file to a template 2014-08-28 18:17:58 +02:00
Pierre-Yves Chibon
34799ff1e9 Add and install a daily cron job running pkgdb_sync_git_branches 2014-08-28 17:40:46 +02:00
Pierre-Yves Chibon
5a5129d5a9 Replace install pkgdb2branch by installing pkgdb_sync_git_branches.py 2014-08-28 17:40:46 +02:00
Pierre-Yves Chibon
49e0ca88ea Add the pkgdb_sync_git_branches.py script 2014-08-28 17:40:46 +02:00
Pierre-Yves Chibon
e2a513f270 Remove the pkgdb2branch.py script 2014-08-28 17:40:46 +02:00
Kevin Fenzi
4638057c27 Adjust this for rhel7 2014-08-27 18:38:23 +00:00
Kevin Fenzi
16564bfeb7 Try and make this not send emails most of the time. 2014-08-27 16:09:17 +00:00
Kevin Fenzi
be327c2670 Theres no longer any rewritelog specific logging in new apache 2014-08-26 22:35:56 +00:00
Kevin Fenzi
abeeb5c4e4 This is just Mutex in new apache 2014-08-26 22:35:24 +00:00
Kevin Fenzi
efe0ebf7d9 Add a /srv/web dir 2014-08-26 21:23:50 +00:00
Kevin Fenzi
278cd376ea Add dist-git-upload cgi 2014-08-26 21:19:00 +00:00
Kevin Fenzi
89a860d3b6 Correct path 2014-08-26 21:13:44 +00:00
Kevin Fenzi
d87f8a52ee Don't need to add group here, it's in fas 2014-08-26 21:05:50 +00:00
Kevin Fenzi
9bd6f9cfc1 Split this task into 3 2014-08-26 19:12:00 +00:00
Kevin Fenzi
9c65d0e673 Split another. 2014-08-26 19:10:41 +00:00
Kevin Fenzi
c154fee038 Split another task 2014-08-26 19:08:54 +00:00
30ab4bd528 Add a new distgit role
This is the meat of Dist Git, but it requires quite a few of the roles
previously created.
2014-08-26 18:28:28 +00:00