This project is mirrored from https://:*****@gitlab.archlinux.org/archlinux/aurweb.git.
Pull mirroring updated .
- 05 Aug, 2016 1 commit
-
-
Lukas Fleischer authored
Add a new class that connects to the database specified in the configuration file and provides an interface to execute SQL queries. Prepared statements with qmark ("?") placeholders are supported. Replace all direct database accesses with calls to the new abstraction layer. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 04 Aug, 2016 2 commits
-
-
Lukas Fleischer authored
Since 02dd9c51 (git-serve.py: Automatically create repositories, 2015-01-06), one can create new package bases by running `git push`. It is no longer necessary to run setup-repo manually. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Read all environment variables at the beginning of the script and immediately pre-process their values. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 09 Feb, 2016 1 commit
-
-
Lukas Fleischer authored
Instead of `config <pkgbase> keywords <keyword1> <keyword2>...`, the new syntax is `set-keywords <pkgbase> <keyword1> <keyword2>...`. The `config` keyword was rather general and it was not obvious that it could be used to change package base settings. Instead of replacing it with an even more verbose expression, remove that unnecessary level of indirection. Since we do not (and probably never will) support keywords anywhere else, the chance of name conflicts is small. Suggested-by:
Dave Reisner <dreisner@archlinux.org> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 07 Feb, 2016 1 commit
-
-
Lukas Fleischer authored
As a preparatory step to adding support for package notifications on events other than comments, rename the database table accordingly. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 06 Feb, 2016 1 commit
-
-
Lukas Fleischer authored
Fix several style issues and remove unneeded imports/assignments. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 26 Nov, 2015 1 commit
-
-
Fixes a regression introduced in 8c87b1df (git-serve: Add support for setting keywords, 2015-10-22). Signed-off-by:
Mark Weiman <mark.weiman@markzz.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 24 Oct, 2015 1 commit
-
-
Lukas Fleischer authored
This allows for setting keywords using the SSH interface. The syntax is `config <pkgbase> keywords <keyword1> <keyword2>...`. Implements FS#45627. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 16 Aug, 2015 1 commit
-
-
Lukas Fleischer authored
Implement a new command that can be used to restore deleted package bases without having to push a new commit. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 27 Jun, 2015 3 commits
-
-
Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Also add an utility function for formatting the ForceCommand, using shlex.quote to quote the value. Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
% formatting is deprecated, and .format should be used instead. Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 12 Jun, 2015 1 commit
-
-
This commit adds support for cloning repositories over SSH without a leading slash or with a trailing .git Fixes FS#45260 Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 11 Jun, 2015 3 commits
-
-
Lukas Fleischer authored
Allow for excluding certain IP addresses from the maintenance mode. This allows administrators to view the web page while the site is still under maintenance for the rest of the world. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Add support for a maintenance mode that disables both the website and the SSH interface and can be enabled easily using a configuration option. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
When creating the refs for the package base branch and the HEAD ref workaround, directly use commit IDs instead of symrefs. It looks like Git cannot pack symrefs, so this is expected to improve space efficiency. Also, since the refs are now only created (or updated) when new objects are actually received, this fixes a problem with dangling refs that were created when a user initialized a repository but did not push anything. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 08 Jun, 2015 1 commit
-
-
`repo` is not defined at the point it's used, so you would get errors like > Traceback (most recent call last): > File "/srv/http/vhosts/aur-dev.archlinux.org/public/git-interface/git-serve.py", line 138, in <module> > die('%s: invalid repository name: %s' % (action, repo)) > NameError: name 'repo' is not defined Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 02 Jun, 2015 3 commits
-
-
Lukas Fleischer authored
Remove the template-path and git-update-hook options which are no longer used. Update the git_clone_uri_anon default value. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Sometimes, we need to initialize the Git repository even if the package base already exists (e.g. when using a non-empty package database with empty repositories during the AUR 4.0.0 migration period). Make sure that the package branch and the namespaced HEAD ref is always created. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
* Move scripts/git-integration/ to git-interface/. * Move scripts/aurblup/aurblup.py to scripts/aurblup.py. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 01 Jun, 2015 1 commit
-
-
Lukas Fleischer authored
Instead of using one Git repository per package, use a single large object storage for space efficiency. The refs of the individual package bases are divided using gitnamespaces(7) which allows for exposing each namespace as an independent repository easily. Also, git-serve is modified to create a branch for each package, allowing to browse the large repository with cgit. Helped-by:
Florian Pritz <bluewind@xinu.at> Helped-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 11 Jan, 2015 2 commits
-
-
Lukas Fleischer authored
Do not waste disk space by copying dozens of unneeded sample hooks. Use a custom template directory that only includes the git-update hook. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Since commit bf7717ac (git-serve.py: Adopt repositories on creation, 2015-01-06), newly created package bases are no longer orphan and therefore, they are not adopted when pushing the first commit which also means that the initial submitter is not added to the notification list automatically. To remedy this, add the owner to the notification list when setting up a new repository. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 07 Jan, 2015 2 commits
-
-
Lukas Fleischer authored
Implements FS#32807. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
This allows for having multiple co-maintainers for AUR packages. Co-maintainers have push access to the package base Git repository but are not allowed to change the package base category, disown the package or modify the list of co-maintainers. The primary maintainer of an AUR package can edit the list of co-maintainers from the Package Actions box. Implements FS#17911. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 06 Jan, 2015 2 commits
-
-
Lukas Fleischer authored
Automatically assign ownership when creating a new (empty) repository. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Create a fresh Git repository when cloning or pushing using a path that does not yet exist. Implements FS#43308. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 02 Jan, 2015 1 commit
-
-
Lukas Fleischer authored
Make the terminating slash in repository URLs optional. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 01 Jan, 2015 2 commits
-
-
Lukas Fleischer authored
The list-repos command now lists all repositories you maintain. Empty repositories are prefixed with an asterisk. Implements FS#43288. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Also, add a help command that lists available options. Implements FS#43287. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 28 Dec, 2014 1 commit
-
-
Lukas Fleischer authored
Pretend that all repositories are located in the root directory of the file system to achieve location transparency. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 27 Dec, 2014 3 commits
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
This adds a script that can be used as an update hook to check all commits for validity and to regenerate the package details page before updating a named ref. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
This adds two scripts to be used together with Git over SSH: * git-auth.py is supposed to be used as AuthorizedKeysCommand. It checks whether the public key belongs to any AUR user and invokes git-serve.py, passing the name of the corresponding user as a command line argument, if any. * git-serve.py is a wrapper around git-shell(1) that checks whether the user passed as command line argument has access to the Git repository that a push operation writes to. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-