Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Map one way, or the other. | Ralph Bean | 2015-12-18 | 1 | -4/+14 | |
| | ||||||
* | Exit if genacls.sh encounters an error. | Ralph Bean | 2015-12-18 | 1 | -1/+1 | |
| | ||||||
* | Do it live. | Ralph Bean | 2015-12-18 | 2 | -5/+0 | |
| | ||||||
* | Publish the full list of git repos | Patrick Uiterwijk | 2015-12-18 | 2 | -0/+9 | |
| | | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com> | |||||
* | Modify gl-conf in staging for dist-git acls. | Ralph Bean | 2015-12-17 | 1 | -0/+15 | |
| | ||||||
* | Make genacls.sh a template. | Ralph Bean | 2015-12-17 | 2 | -1/+1 | |
| | ||||||
* | Conditionalize that so I can debug in stg. | Ralph Bean | 2015-12-17 | 1 | -9/+11 | |
| | ||||||
* | Turn off namespacing in gitolite for the moment | Pierre-Yves Chibon | 2015-12-17 | 1 | -8/+9 | |
| | ||||||
* | Needs some space otherwise endup in the same line | Pierre-Yves Chibon | 2015-12-17 | 1 | -0/+1 | |
| | ||||||
* | Style | Pierre-Yves Chibon | 2015-12-17 | 1 | -2/+1 | |
| | ||||||
* | Fix symlinking the new repo to the old location | Pierre-Yves Chibon | 2015-12-17 | 1 | -4/+5 | |
| | ||||||
* | Fix GIT_FOLDER for prod. | Ralph Bean | 2015-12-17 | 1 | -2/+1 | |
| | ||||||
* | Invert the folder/symlink status between rpms and repositories | Pierre-Yves Chibon | 2015-12-17 | 1 | -6/+6 | |
| | ||||||
* | Point dist-git's cgit to the real deal | Pierre-Yves Chibon | 2015-12-17 | 1 | -1/+1 | |
| | ||||||
* | Upon new package git creation, create symlink to old location | Pierre-Yves Chibon | 2015-12-15 | 1 | -0/+4 | |
| | ||||||
* | Tag as distgit and config a few more tasks in the distgit role | Pierre-Yves Chibon | 2015-12-11 | 1 | -4/+10 | |
| | ||||||
* | Point to /srv/git/repositories as this is both backward and forward compatible | Pierre-Yves Chibon | 2015-12-11 | 2 | -4/+3 | |
| | | | | And adjust the documentation to mkbranch | |||||
* | Invoke mkbranch and setup_git_package with ns/pkgname as package name | Pierre-Yves Chibon | 2015-12-11 | 1 | -6/+10 | |
| | ||||||
* | Update pkgdb_sync_git_branches to the new pkgdb API while remaining backward ↵ | Pierre-Yves Chibon | 2015-12-11 | 1 | -83/+112 | |
| | | | | | | | compatible This commit also adds a TEST_ONLY global boolean useful if you want to test the script without modifying anything on the filesystem. | |||||
* | Fix indentation in genacls.pkgdb | Pierre-Yves Chibon | 2015-12-11 | 1 | -4/+4 | |
| | ||||||
* | Port genacls.pkgdb to the new pkgdb API while being backward compatible with ↵ | Pierre-Yves Chibon | 2015-12-11 | 1 | -85/+104 | |
| | | | | the old one | |||||
* | Re-add run_once here. | Kevin Fenzi | 2015-11-30 | 1 | -0/+1 | |
| | ||||||
* | Might need to drop this for ansible 2.0 | Kevin Fenzi | 2015-11-21 | 1 | -1/+0 | |
| | ||||||
* | Store the key in a variable | Pierre-Yves Chibon | 2015-11-20 | 1 | -3/+4 | |
| | ||||||
* | Replace all restart httpd with reload httpd | Patrick Uiterwijk | 2015-11-04 | 1 | -9/+9 | |
| | | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com> | |||||
* | Add httpd_read_user_content selinux boolean on distgit | Kevin Fenzi | 2015-07-21 | 1 | -0/+2 | |
| | ||||||
* | distgit: Ensure the hardlinked sources all belong to apache | Mathieu Bridon | 2015-07-15 | 1 | -0/+9 | |
| | | | | Without this, client uploads and downloads aren't working any more. | |||||
* | Turn on git_system_enable_homedirs but don't ask why | Pierre-Yves Chibon | 2015-07-15 | 1 | -0/+8 | |
| | ||||||
* | changes for branching | Dennis Gilmore | 2015-07-15 | 1 | -1/+1 | |
| | | | | Signed-off-by: Dennis Gilmore <ausil@fedoraproject.org> | |||||
* | distgit: Generators don't have a length | Mathieu Bridon | 2015-07-13 | 1 | -1/+1 | |
| | | | | This is fallout from the previous commit. | |||||
* | distgit: Harden the hardlink script a bit | Mathieu Bridon | 2015-07-13 | 1 | -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 cache | Mathieu Bridon | 2015-07-13 | 1 | -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 logs | Mathieu Bridon | 2015-06-05 | 1 | -0/+2 | |
| | ||||||
* | distgit: Catch all errors | Mathieu Bridon | 2015-06-05 | 1 | -1/+5 | |
| | | | | With this, we should never fail silently any more. | |||||
* | distgit: Reuse the same code to create directories | Mathieu Bridon | 2015-06-05 | 1 | -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 made | Mathieu Bridon | 2015-06-05 | 1 | -3/+5 | |
| | ||||||
* | distgit: Simplify forming the fedmsg path | Mathieu Bridon | 2015-06-05 | 1 | -5/+1 | |
| | ||||||
* | Add some distgit tags | Pierre-Yves Chibon | 2015-06-05 | 1 | -0/+20 | |
| | ||||||
* | distgit: Avoid reupload | Mathieu Bridon | 2015-06-05 | 1 | -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 imports | Mathieu Bridon | 2015-06-05 | 1 | -3/+0 | |
| | ||||||
* | distgit: Pretend we're on NFS | Mathieu Bridon | 2015-06-05 | 1 | -0/+8 | |
| | | | | | | Staging doesn't use NFS for its lookaside cache, like Prod does. This makes SELinux happier, pretending that staging also is on NFS. | |||||
* | Update upload_cgi and add cgi-nfs for pkgs | Patrick Uiterwijk | 2015-06-05 | 5 | -6/+33 | |
| | | | | Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com> | |||||
* | distgit: Properly make the symlink | Mathieu Bridon | 2015-06-04 | 1 | -1/+1 | |
| | ||||||
* | distgit: One more case of error handling | Mathieu Bridon | 2015-06-04 | 1 | -1/+1 | |
| | ||||||
* | Store the new version of the selinux policy for distgit | Pierre-Yves Chibon | 2015-06-04 | 1 | -0/+0 | |
| | ||||||
* | Require the types git_script_t and nfs_t | Pierre-Yves Chibon | 2015-06-04 | 1 | -0/+2 | |
| | ||||||
* | Add a docstring to send_error | Mathieu Bridon | 2015-06-04 | 1 | -0/+9 | |
| | ||||||
* | distgit: Improve error reporting to the client | Mathieu Bridon | 2015-06-04 | 1 | -14/+21 | |
| | | | | | | | | | | | | | | | | | There is a send_error method, which sends the error message back to the client. (pyrpkg in our case) Unfortunately, that method doesn't send back an error HTTP status code, which I'm assuming must be interpreted as a "200 OK" status. pyrpkg completely ignore the text sent back by the server, unless the status code is not 200, which means all those errors are silently ignored. This commit makes sure the send_error method will always return an error status ("500 Internal Server Error" by default), and moves all the error handling code to use that method, specifying their own status code if needed. | |||||
* | Allow git_script_t to create link on NFS | Pierre-Yves Chibon | 2015-06-04 | 1 | -0/+3 | |
| | ||||||
* | distgit: Don't raise, return the error to the client | Mathieu Bridon | 2015-06-04 | 1 | -1/+1 | |
| | | | | | Raising only sends the error to the logs, the client thinks everything went fine. |