- 07 Feb, 2016 2 commits
-
-
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>
-
python-srcinfo is a more transparent and simpler library for parsing SRCINFO files. Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> 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>
-
- 03 Oct, 2015 1 commit
-
-
Lukas Fleischer authored
Since 612300b3 (Show a warning if .SRCINFO is unchanged, 2015-09-29), the git-update script displays a warning when a ref update does not affect the content of the package base meta data. We also invoke git-update to rebuild the package base details in the aurweb database when a package base is restored via the SSH interface. In that case, fake information is passed to the update hook: Both the old and the new object IDs refer to the current HEAD. Check for such "Everything up-to-date" updates and not display the ".SRCINFO unchanged" in these cases. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 29 Sep, 2015 1 commit
-
-
Lukas Fleischer authored
Warn users when a remote ref update does not change the content of .SRCINFO such that users are reminded of updating package meta data. Implements FS#46130. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 16 Sep, 2015 1 commit
-
-
Lukas Fleischer authored
Fixes a regression introduced in 4112e572 (Add a restore command to the SSH interface, 2015-08-14). 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>
-
- 14 Aug, 2015 3 commits
-
-
Lukas Fleischer authored
Add some comments to explain the major steps performed in the update hook. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
The pkgbase variable already contains the package base name at this point, no need to reassign it. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Since c4870a95 (git-update: Only check HEAD for blacklisted packages, 2015-06-04), only the HEAD commit package name is looked up in the blacklist. This means that we no longer need to read the blacklist before running the commit walker. Moving the blacklist reading code further down makes the code easier to read. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 16 Jul, 2015 1 commit
-
-
Lukas Fleischer authored
Fixes FS#45646. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 04 Jul, 2015 1 commit
-
-
This commit fixes a bug introduced by ae2907a5 (git: Use .format everywhere instead of %, 2015-06-27) where passing the error tuple to .format wasn't prefixed with an asterisk. Fixes FS#45545. Reported-by:
Marty <vadmium+al@gmail.com> Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 27 Jun, 2015 3 commits
-
-
Lukas Fleischer authored
When the package base does not match the repository name, we currently show an error message that only mentions the package base name: error: invalid pkgbase: yate-qt4 To the end user this sounds like the package base name is malformed itself (and we show exactly the same error message when it contains invalid characters, indeed). Clarify that there is a name mismatch by also printing the expected value: error: invalid pkgbase: yate-qt4, expected: yate4-qt Inspired by FS#45483. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Fixes FS#45410. 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>
-
- 20 Jun, 2015 2 commits
-
-
The url and pkgdesc PKGBUILD variables are optional, so they should be in the AUR as well. Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
The regex check that a URL is either http or ftp doesn't really have any use, and it forces you to leave proper URLs for eg projects hosted on gopher empty. Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 14 Jun, 2015 1 commit
-
-
Lukas Fleischer authored
Fixes FS#43649. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 11 Jun, 2015 3 commits
-
-
Lukas Fleischer authored
Although we theoretically never want to lose history, there may be rare occasions when a forced push is required (e.g. if illegal data is pushed). Allow Trusted Users and Developers to perform non-fast-forward pushes. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
To make sure we never lose any history, non-fast-forwards are forbidden. Instead of relying on receive.denyNonFastForwards, add a simple check to the update hook. This has the added benefit of more flexibility. 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 5 commits
-
-
Lukas Fleischer authored
Fixes FS#45254. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
All PKGBUILDs are stored in a single repository now, so there is no use for writing out a description file for the repo anymore. This fixes a bug where pkgdescs containing UTF-8 characters are rejected due to it trying to write the file out using ASCII. Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
When a repository contains a directory, a user is currently faced with the following error message: remote: Traceback (most recent call last): remote: File "hooks/update", line 194, in <module> remote: if repo[treeobj.id].size > 250000: remote: AttributeError: '_pygit2.Tree' object has no attribute 'size' remote: error: hook declined to update refs/heads/master Explicitly check for directories and other non-blob objects and display a more intuitive message. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
This fixes a bug where pushes are rejected in split PKGBUILDs if there are no arch-independent source array. Fixes FS#45253 Reported-by:
Marti <marti@juffo.org> Reported-by:
Maxime Gauduin <alucryd@archlinux.org> Signed-off-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Large blobs are needed in some packages, such as customized Linux kernels including kernel configurations. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 04 Jun, 2015 3 commits
-
-
Lukas Fleischer authored
Make sure we do not overwrite a package belonging to another package base. We forgot to add this check to git-update when porting the package submission script to Python in commit 74edb6fe (Use Git repositories to store packages, 2014-06-06). Reported-by:
Johannes Löthberg <johannes@kyriasis.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
When a part of a package base is moved to the official repositories, it needs to be dropped from the AUR package. However, we want to allow that the moved packages still appear in the history. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
When renaming a package base, we want to keep commits of the former package. Move the check that compares the package base name with the repository name such that only HEAD is validated. Fixes FS#45065. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 02 Jun, 2015 1 commit
-
-
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 2 commits
-
-
Lukas Fleischer authored
Suggested-by:
Marcel Korpel <marcel.korpel@gmail.com> Suggested-by:
carstene1ns <arch@carsten-teibes.de> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
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>
-
- 15 Jan, 2015 1 commit
-
-
Lukas Fleischer authored
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>
-
- 08 Jan, 2015 2 commits
-
-
Lukas Fleischer authored
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>
-
Lukas Fleischer authored
Reject commits adding packages which are in the official repositories already. Fixes FS#43371. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 07 Jan, 2015 2 commits
-
-
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>
-
Lukas Fleischer authored
Fixes FS#43356. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 30 Dec, 2014 1 commit
-
-
Lukas Fleischer authored
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>
-
- 27 Dec, 2014 2 commits
-
-
Lukas Fleischer authored
Use the package description of the first package as the Git repository description. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-