summaryrefslogtreecommitdiffstats
path: root/roles/distgit/files
Commit message (Collapse)AuthorAgeFilesLines
* add highlighting for cgit on pkgs. ticket 6333Kevin Fenzi2017-09-121-1/+1
|
* bring cgit back for now until pagure can do rss/atom, show all namespaces, etcKevin Fenzi2017-09-031-3/+8
|
* Fix lookaside uploading until we can fix for realsiesPatrick Uiterwijk2017-08-091-1/+1
| | | | Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
* Fix git@ service in pkgs02Patrick Uiterwijk2017-08-091-0/+8
| | | | Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
* Adjust all the redirects for the disappearance of cgitPierre-Yves Chibon2017-08-033-164/+3
| | | | Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
* Move fedmsg-genacls-config.py to a template and configure it for the new worldPierre-Yves Chibon2017-07-251-4/+0
|
* dist-git: clean up unused files and the main scriptclime2017-07-133-581/+0
|
* remove unused setup_git_package from distgit roleBrandon Gray2017-07-131-130/+0
|
* pkgs-stg: employ the dist-git package setup_git_package and mkbranch scriptsclime2017-05-221-165/+0
|
* dist-git: the new upstream dist-git package is now in EPEL7clime2017-05-032-10/+7
|
* This is renamed to containerPatrick Uiterwijk2017-04-121-1/+1
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* use devel dist-git upstreamclime2017-02-141-0/+10
|
* tweak cgit for new pkgs->src redirectKevin Fenzi2016-12-142-1/+2
|
* allow pkgs to do https clones of rpms reposKevin Fenzi2016-12-121-0/+1
|
* Migrate all the redirect rules from http://pkgs to https://srcPierre-Yves Chibon2016-12-121-36/+36
|
* Also, make cgit redirects aware of the new test-* namespaces.Ralph Bean2016-12-011-1/+1
|
* Rename the hook post-receive-secondaryarch into post-receive-alternativearchPierre-Yves Chibon2016-10-281-2/+2
|
* Add and install the secondary arch git hookPierre-Yves Chibon2016-10-281-0/+2
| | | | | This hook is meant to notify secondary arch people about changes made to packages that involves: ExclusiveArch or ExcludesArch.
* Allow GSSAPI for lookasidePatrick Uiterwijk2016-10-141-0/+3
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Unify all ssl cipher suite configurationsPatrick Uiterwijk2016-08-312-79/+0
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Make dist-git-upload.cgi PEP8 compliantTill Maas2016-05-171-23/+39
| | | | Signed-off-by: Till Maas <opensource@till.name>
* Add modules here.Ralph Bean2016-04-121-1/+1
|
* Tell selinux to allow git-daemon to follow symlinks, please.Ralph Bean2016-03-212-4/+4
|
* Add a new mkbranch script to be used only for mass-branchingPierre-Yves Chibon2016-02-231-0/+158
|
* A regex that doesn't rely on '.git'.Ralph Bean2016-01-051-1/+1
|
* Redirect old cgit repo urls to the new namespace.Ralph Bean2016-01-052-1/+9
|
* Fix duplicate entries in cgit due to namespace changes.Kevin Fenzi2016-01-021-1/+1
|
* Use the gitolite Alias feature in staging.Ralph Bean2015-12-221-0/+8
|
* Make gitolite.rc a template.Ralph Bean2015-12-221-196/+0
|
* Move rpms to repositories on all scriptsPierre-Yves Chibon2015-12-212-2/+2
|
* Publish the full list of git reposPatrick Uiterwijk2015-12-181-0/+4
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* Make genacls.sh a template.Ralph Bean2015-12-171-18/+0
|
* Point dist-git's cgit to the real dealPierre-Yves Chibon2015-12-171-1/+1
|
* Point to /srv/git/repositories as this is both backward and forward compatiblePierre-Yves Chibon2015-12-112-4/+3
| | | | And adjust the documentation to mkbranch
* distgit: Ensure the hardlinked sources all belong to apacheMathieu Bridon2015-07-151-0/+9
| | | | Without this, client uploads and downloads aren't working any more.
* distgit: Generators don't have a lengthMathieu Bridon2015-07-131-1/+1
| | | | This is fallout from the previous commit.
* distgit: Harden the hardlink script a bitMathieu Bridon2015-07-131-5/+18
| | | | | | | | | | | | | Turns out the lookaside cache is not as clean as I expected. Specifically, it contains some files where we'd expect directories, for example: /srv/cache/lookaside/pkgs/GFS-kernel/@13013.1e77f453ba1c86cd7616087d0643bbd8e /srv/cache/lookaside/pkgs/openswan/tmpLRV5Gn5556cb2fcea6ba862ce14e1debf98b6d This commit makes the script print an error instead of crashing on an OSError in such a case.
* distgit: Add a script to make the new paths in the lookaside cacheMathieu Bridon2015-07-131-0/+177
| | | | | | | | | | | | | | | | We are migrating from the following path scheme: /%(srpmname)s/%(filename)s/%(hash)s/%(filename)s To: /%(srpmname)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s As a result, we need to hardlink all the files existing under the old path to their new path. This script does just that. Given that it should only ever be run once anyway, it is added as a file to the distgit role, but not set to be installed anywhere.
* Add the full traceback to the logsMathieu Bridon2015-06-051-0/+2
|
* distgit: Catch all errorsMathieu Bridon2015-06-051-1/+5
| | | | With this, we should never fail silently any more.
* distgit: Reuse the same code to create directoriesMathieu Bridon2015-06-051-12/+13
| | | | | | | | This avoids some race conditions, as testing for a directory existence before creating it is racy. The best way is to try creating it no matter what, and ignore errors when the directory already exists.
* distgit: Add some logs when hardlinks are madeMathieu Bridon2015-06-051-3/+5
|
* distgit: Simplify forming the fedmsg pathMathieu Bridon2015-06-051-5/+1
|
* distgit: Avoid reuploadMathieu Bridon2015-06-051-21/+32
| | | | | | | | | | | | | | The script checks for the file at the new location. As a result, it will report that the file is missing if it had only been uploaded to the old location, which will prompt the client to reupload. With this change, the script will check at the new location, and if it doesn't find the file it will try checking for it at the old location as well. If the file is found at the old location, we hardlink it to the new location, and report the file is available.
* distgit: Drop unused importsMathieu Bridon2015-06-051-3/+0
|
* Update upload_cgi and add cgi-nfs for pkgsPatrick Uiterwijk2015-06-054-6/+26
| | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
* distgit: Properly make the symlinkMathieu Bridon2015-06-041-1/+1
|
* distgit: One more case of error handlingMathieu Bridon2015-06-041-1/+1
|
* Store the new version of the selinux policy for distgitPierre-Yves Chibon2015-06-041-0/+0
|
* Require the types git_script_t and nfs_tPierre-Yves Chibon2015-06-041-0/+2
|