Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
|
|
This simplifies the code a bit, improves maintainability and reduces the
number of SQL queries when deleting a package.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
|
|
We no longer run a separate SSH daemon on port 2222. Change the default
configuration accordingly. Also remove some configuration files that are
no longer needed.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
|
|
Extended AuthorizedKeysCommand parameters are now officially supported
by OpenSSH.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
|
|
When the password reset function was factored out in 5d31bb2 (Move reset
key submission to a separate function, 2013-03-19), a semicolon was
accidentally replaced by a concatenation operator. As a result of this,
all password reset emails sent since mid-2013 only contained a password
reset link without any description. Fix this by terminating the
assignment with a semicolon again.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
|
|
Use the latest version of Damien Miller's patch to extend the parameters
to the AuthorizedKeysCommand.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
|
|
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
|
|
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
|
|
Close requests automatically when a package is deleted or orphaned.
Implements FS#43799.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Allow users to remove their own package bases for a short period of time
after initial submission (defaults to one day).
Implements FS#43648.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
* Remove user-specific configuration.
* Update with latest changes to the configuration file and templates.
* Order entries alphabetically.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Rename the project to help differentiate between the software providing
access to the Arch User Repository and the collection of source packages
itself.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Check explicitly whether pkgver, pkgrel, pkgname, pkgdesc and url are
available in each package. If any of these is missing, an exception
might occur when parsing the meta data later.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
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>
|
|
Since commit bf7717a (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>
|
|
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
This should have been added in 1b627a3 (git-serve.py: Improve error
messages, 2015-01-01).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
The AUR backend already uses several Python scripts, rewrite the aurblup
helper as well. This has several advantages:
* We can easily use the main configuration file without using any shell
script wrappers.
* aurblup does not need to be recompiled on libalpm soname bumps.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
|
|
This partly reverts commit ddc5435 (Add packages' provides and replaces
to the blacklist in aurblup., 2011-02-08). While adding replaces is
fine, blacklisting provides prevents from uploading alternative
implementations of a program which is not what we want.
Fixes FS#43381.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Only update repository descriptions if there is at least one package in
the package base meta data.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Reject commits adding packages which are in the official repositories
already.
Fixes FS#43371.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
|
|
Reported-by: Bartłomiej Piotrowski <b@bpiotrowski.pl>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Implements FS#32807.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
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>
|
|
Fixes FS#43356.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Automatically assign ownership when creating a new (empty) repository.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
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>
|
|
Make the terminating slash in repository URLs optional.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
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>
|
|
Also, add a help command that lists available options.
Implements FS#43287.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
* Add more details on how to configure the web server.
* Clarify that the OpenSSH patch is build against OpenSSH 6.7p1.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Convert epoch values before doing integer comparisons. Also, add a
sanity check for the epoch variable.
Reported-by: Ido Rosen <ido@kernel.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Make sure that users confirm their email addresses before setting an
initial SSH key.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Show a public clone URL (using Git over HTTP) by default and only show
the private clone URL to the package maintainer.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Use the footer that is already used in other parts of the AUR website
instead of the footer from the main Arch Linux website.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Currently, the AUR sites are hard to distinguish from the official
website, especially when browsing Git repositories in cgit. Add "user
repository" to the logo to make it distinguishable from the official
site.
In order to avoid confusion, also change the link in the logo to the AUR
home page instead of the main Arch Linux website.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Do not show package bases that have just been created in the package
update statistics or in the search results.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Introduce a script that creates one repository for each package base in
the database.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
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>
|
|
These are no longer needed. We use Git repositories now.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Use the package description of the first package as the Git repository
description.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|
|
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
|