[aur-dev] [PATCH] Use proper email address in send_resetkey()

2014-09-07 Thread Lukas Fleischer
Fixes FS#41860. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- web/lib/acctfuncs.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php index e3ff494..2272010 100644 --- a/web/lib/acctfuncs.inc.php +++ b/web

[aur-dev] [PATCH] rss.php: Include package functions

2014-10-03 Thread Lukas Fleischer
This is needed since 4426877 (Move latest_pkgs() to pkgfuncs.inc.php, 2014-05-29). Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- web/html/rss.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/html/rss.php b/web/html/rss.php index 84d2205..2470d99 100644 --- a/web/html

[aur-dev] [PATCH 2/2] Include proper timestamp in auto-accept emails

2014-10-03 Thread Lukas Fleischer
Fixes a regression introduced in c70b340 (Close requests before accepting, 2014-07-29). Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- web/lib/pkgreqfuncs.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib/pkgreqfuncs.inc.php b/web/lib

[aur-dev] [PATCH 2/2] Add a script to generate package lists

2014-10-10 Thread Lukas Fleischer
This can be used to regularly generate lists of packages and package bases that are made available under /packages.gz and /pkgbase.gz, respectively. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- scripts/config.proto | 5 + scripts/mkpkglists.py | 38

[aur-dev] AUR 3.5.0 released

2014-11-22 Thread Lukas Fleischer
Hello, I am pleased to announce that AUR 3.5.0 has been released. The official AUR setup [1] has already been updated. This release adds support for architecture-specific sources (resp. provides, conflicts, replaces) and for .SRCINFO, both of which will be included in the next pacman release.

Re: [aur-dev] [PATCH] Fixes incorrect SQLs on generating dummy data.

2014-12-10 Thread Lukas Fleischer
On Sun, 07 Dec 2014 at 08:19:04, Shinya Yamaoka wrote: The number of columns in the SQLs doesn't match the number of rows, so an error like below occurs: ERROR 1136 (21S01) at line 50929: Column count doesn't match value count at row 1 Signed-off-by: Shinya Yamaoka

Re: [aur-dev] [PATCH] Fixes incorrect SQLs on generating dummy data.

2014-12-15 Thread Lukas Fleischer
On Tue, 16 Dec 2014 at 02:03:11, Shinya Yamaoka wrote: Looks good to me at a glance. We should probably extend the script to create architecture-specific depends/relations/sources as well, though. Thank you for your reviewing. Do you mean you would like to merge my patch after my

[aur-dev] [PATCH] Suggest using makepkg instead of mkaurball

2014-12-19 Thread Lukas Fleischer
pacman 4.2.0 supports .SRCINFO and generates meta data by default. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- README | 8 web/html/pkgsubmit.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README b/README index 7688ab5

[aur-dev] [PATCH] mkpkglists.py: Honor database socket setting

2014-12-26 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- scripts/mkpkglists.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/mkpkglists.py b/scripts/mkpkglists.py index 173f5f7..0f2eb84 100755 --- a/scripts/mkpkglists.py +++ b/scripts/mkpkglists.py @@ -15,10

[aur-dev] [PATCH v2 02/10] Add support for adding SSH public keys to profiles

2014-12-27 Thread Lukas Fleischer
Users can now add an SSH public key on the account edit page. This will later be used to authenticate users via SSH. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- schema/aur-schema.sql | 1 + upgrading/4.0.0.txt| 5 +++ web/html/account.php

[aur-dev] [PATCH v2 03/10] Add basic Git authentication/authorization scripts

2014-12-27 Thread Lukas Fleischer
. * 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 archli...@cryptocrack.de --- conf/config.proto| 11 scripts/git

[aur-dev] [PATCH v2 01/10] Use raw scanner mode in config_get()

2014-12-27 Thread Lukas Fleischer
We do not want PHP to parse the values for us. Use raw scanner mode to avoid issues with certain values, such as regular expressions. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- web/lib/confparser.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib

[aur-dev] [PATCH v2 06/10] Add public clone URLs to package details

2014-12-27 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- conf/config.proto| 1 + web/template/pkg_details.php | 5 + web/template/pkgbase_details.php | 5 + 3 files changed, 11 insertions(+) diff --git a/conf/config.proto b/conf/config.proto index d20b533..f726e97

[aur-dev] [PATCH v2 00/10] Use Git repositories to store AUR packages

2014-12-27 Thread Lukas Fleischer
This is a reroll of the series I submitted in June. I would like to merge this into master soon and start testing stuff, so any reviews are highly appreciated. Lukas Fleischer (10): Use raw scanner mode in config_get() Add support for adding SSH public keys to profiles Add basic Git

[aur-dev] [PATCH v2 07/10] Add sshd setup instructions

2014-12-27 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- INSTALL| 108 --- .../0001-Patch-sshd-for-the-AUR.patch | 152 + scripts/git-integration/sshd_config| 6 + 3 files changed, 185

[aur-dev] [PATCH v2 08/10] Honor the database socket setting in Git scripts

2014-12-27 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- scripts/git-integration/git-auth.py | 3 ++- scripts/git-integration/git-serve.py | 6 -- scripts/git-integration/git-update.py | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/git-integration/git

[aur-dev] [PATCH v2 10/10] Remove legacy scripts

2014-12-27 Thread Lukas Fleischer
These are no longer needed. We use Git repositories now. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- scripts/cleanup | 46 -- scripts/uploadbuckets.sh | 58 2 files changed, 104

[aur-dev] [PATCH v2 05/10] Use Git repositories to store packages

2014-12-27 Thread Lukas Fleischer
* Remove package submission page from the web interface. * Replace PKGBUILD and tarball links with links to cgit. * Remove the URLPath field from RPC replies. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- conf/config.proto|5 +- web/html/pkgsubmit.php

[aur-dev] [PATCH] git-serve.py: Use virtual paths

2014-12-28 Thread Lukas Fleischer
Pretend that all repositories are located in the root directory of the file system to achieve location transparency. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- scripts/git-integration/git-serve.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/git

[aur-dev] [PATCH 2/2] Hide fresh package bases from stats and results

2014-12-28 Thread Lukas Fleischer
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 archli...@cryptocrack.de --- web/lib/pkgfuncs.inc.php | 2 +- web/lib/stats.inc.php| 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff

[aur-dev] [PATCH 1/2] Add a script to initialize Git repositories

2014-12-28 Thread Lukas Fleischer
Introduce a script that creates one repository for each package base in the database. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- scripts/git-integration/init-repos.py | 51 +++ 1 file changed, 51 insertions(+) create mode 100755 scripts/git

[aur-dev] [PATCH] Update upgrade instructions for 4.0.0

2014-12-28 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- upgrading/4.0.0.txt | 14 ++ 1 file changed, 14 insertions(+) diff --git a/upgrading/4.0.0.txt b/upgrading/4.0.0.txt index 543fbac..f990c37 100644 --- a/upgrading/4.0.0.txt +++ b/upgrading/4.0.0.txt @@ -3,3 +3,17

[aur-dev] [PATCH 2/2] config.proto: Sync default values with aur.archlinux.org

2014-12-28 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- conf/config.proto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/config.proto b/conf/config.proto index f726e97..f09c02e 100644 --- a/conf/config.proto +++ b/conf/config.proto @@ -17,9 +17,9

[aur-dev] [PATCH 3/3] Add links to public and private clone URLs

2014-12-29 Thread Lukas Fleischer
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 archli...@cryptocrack.de --- conf/cgitrc.proto| 2 +- conf/config.proto| 3 ++- web/template/pkg_details.php

[aur-dev] [PATCH 2/3] Use the AUR footer in cgit

2014-12-29 Thread Lukas Fleischer
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 archli...@cryptocrack.de --- web/html/css/cgit.css | 9 + web/template/cgit/footer.html | 12 +--- 2 files changed

[aur-dev] [PATCH] Add systemd unit files for the AUR sshd

2014-12-29 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- INSTALL| 7 +-- conf/aur-sshd.socket | 6 ++ conf/aur-sshd@.service | 8 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 conf/aur-sshd.socket create mode 100644 conf/aur-sshd

Re: [aur-dev] Architecture specific fields and RPC interface

2014-12-29 Thread Lukas Fleischer
On Mon, 29 Dec 2014 at 13:13:12, Rémy Marquis wrote: Hi Lukas, Thanks for the great work achieved with AUR 3.5.0/3.5.1. Pacman 4.2 and AUR support the new architecture specific fields (such as depends_x86_64, depends_i686). I however just realized that the RPC interface (v3) now lists all

Re: [aur-dev] [aur-general] AUR 4.0.0 pre-alpha

2014-12-29 Thread Lukas Fleischer
On Mon, 29 Dec 2014 at 22:16:45, Ido Rosen wrote: Will all existing AUR packages automatically get their own git repositories or will we have to resubmit all packages? [...] Both. The current plan is as follows: A couple of weeks before the official release of 4.0.0, I will reset the setup on

[aur-dev] [PATCH] git-update.py: Cast epoch to an integer

2014-12-30 Thread Lukas Fleischer
Convert epoch values before doing integer comparisons. Also, add a sanity check for the epoch variable. Reported-by: Ido Rosen i...@kernel.org Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- scripts/git-integration/git-update.py | 7 +-- 1 file changed, 5 insertions(+), 2

Re: [aur-dev] AUR 4.0.0 pre-alpha

2014-12-30 Thread Lukas Fleischer
On Tue, 30 Dec 2014 at 15:56:12, Marcel Korpel wrote: * Lukas Fleischer archli...@cryptocrack.de (Mon, 29 Dec 2014 22:01:45 +0100): The 4.0.0 release brings Git repositories to AUR packages. You can test a pre-alpha version at aur-dev.archlinux.org Suggestion: when downloading a snapshot

Re: [aur-dev] AUR 4.0.0 pre-alpha

2014-12-30 Thread Lukas Fleischer
On Tue, 30 Dec 2014 at 16:22:43, Jameson wrote: On Mon, Dec 29, 2014 at 4:01 PM, Lukas Fleischer archli...@cryptocrack.de wrote: In order to submit packages, you can follow these steps: I have followed the steps, but for some reason it doesn't seem to like my key. Are there logs

[aur-dev] [PATCH] INSTALL: Add some notes

2015-01-01 Thread Lukas Fleischer
* 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 archli...@cryptocrack.de --- INSTALL | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index 72e7539

Re: [aur-dev] Please enable zh_TW locale on AUR

2015-01-26 Thread Lukas Fleischer
On Mon, 26 Jan 2015 at 13:27:39, 黃柏諺 wrote: As title says,please enable AUR's zh_TW locale,it should be 100% on Transifex now. :D [...] I am going to pull the translations before the next major AUR release. Thanks for contributing!

[aur-dev] [PATCH] Update .gitignore

2015-02-04 Thread Lukas Fleischer
* Remove user-specific configuration. * Update with latest changes to the configuration file and templates. * Order entries alphabetically. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- .gitignore | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git

[aur-dev] [PATCH] AUTHORS: Add past maintainers

2015-01-19 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- AUTHORS | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 6581e81..1958ca0 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,9 +1,19 @@ Current Maintainers

[aur-dev] [PATCH v2] AUTHORS: Add past maintainers

2015-01-19 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- Add Eric's full name. AUTHORS | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 6581e81..9011a3f 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,9 +1,19 @@ Current Maintainers

[aur-dev] [PATCH] git-update.py: Check for mandatory fields

2015-01-15 Thread Lukas Fleischer
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 archli...@cryptocrack.de --- scripts/git-integration/git-update.py | 4 1

[aur-dev] Renaming the AUR

2015-01-29 Thread Lukas Fleischer
Hi, Currently, we use the term AUR for both the collection of user-supplied source packages and the software that helps with accessing and modifying these packages which causes quite some misunderstandings. Earlier, it was suggested to use [unsupported] for the collection of packages and AUR for

[aur-dev] [PATCH] Add to notification list on repository creation

2015-01-10 Thread Lukas Fleischer
. To remedy this, add the owner to the notification list when setting up a new repository. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- scripts/git-integration/git-serve.py | 4 1 file changed, 4 insertions(+) diff --git a/scripts/git-integration/git-serve.py b/scripts/git

[aur-dev] [PATCH] aurblup: Do not blacklist provides

2015-01-09 Thread Lukas Fleischer
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

[aur-dev] [PATCH 1/2] git-serve.py: Automatically create repositories

2015-01-06 Thread Lukas Fleischer
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 archli...@cryptocrack.de --- scripts/git-integration/git-serve.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/git-integration/git

[aur-dev] [PATCH] Add support for package base co-maintainers

2015-01-07 Thread Lukas Fleischer
the list of co-maintainers from the Package Actions box. Implements FS#17911. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- schema/aur-schema.sql | 11 ++ scripts/git-integration/git-serve.py | 11 +++--- scripts/git-integration/git-update.py | 8 +++-- upgrading

[aur-dev] [PATCH] git-serve.py: Allow TUs to push to any repository

2015-01-07 Thread Lukas Fleischer
Implements FS#32807. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- scripts/git-integration/git-serve.py | 4 1 file changed, 4 insertions(+) diff --git a/scripts/git-integration/git-serve.py b/scripts/git-integration/git-serve.py index d551dba..227e37b 100755 --- a/scripts

[aur-dev] [PATCH] git-update.py: Support architecture-specific fields

2015-01-07 Thread Lukas Fleischer
Fixes FS#43356. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- scripts/git-integration/git-update.py | 51 ++- 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/scripts/git-integration/git-update.py b/scripts/git-integration/git

[aur-dev] [PATCH v2] Add support for package base co-maintainers

2015-01-07 Thread Lukas Fleischer
the list of co-maintainers from the Package Actions box. Implements FS#17911. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- schema/aur-schema.sql | 11 ++ scripts/git-integration/git-serve.py | 11 +++--- scripts/git-integration/git-update.py | 8 +++-- upgrading

[aur-dev] [PATCH] Use custom templates for Git repositories

2015-01-12 Thread Lukas Fleischer
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 archli...@cryptocrack.de --- INSTALL | 12 conf/config.proto

[aur-dev] [PATCH] git-update.py: Reject blacklisted packages

2015-01-08 Thread Lukas Fleischer
Reject commits adding packages which are in the official repositories already. Fixes FS#43371. Signed-off-by: Lukas Fleischer archli...@cryptocrack.de --- scripts/git-integration/git-update.py | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/scripts/git

Re: [aur-dev] Remove category support

2015-02-27 Thread Lukas Fleischer
On Fri, 27 Feb 2015 at 17:20:36, Dustin Falgout wrote: [...] That's a neat idea which certainly is easy enough to accomplish. Though I don't think such tags should replace the categories. Users may not always know exactly what app/package they are looking for. Categories are the best way to

Re: [aur-dev] Remove category support

2015-02-27 Thread Lukas Fleischer
On Fri, 27 Feb 2015 at 14:56:40, Dustin Falgout wrote: [...] Well, I think the natural place to start is the freedesktop.org spec. I think it makes sense to use all the main categories[1] and then choose a few child categories from the Additional Categories[2] defined by the spec. I prefer

Re: [aur-dev] Renaming the AUR

2015-01-29 Thread Lukas Fleischer
On Thu, 29 Jan 2015 at 09:37:56, Lukas Fleischer wrote: [...] What would need to be changed: * The name of the aur.git repository would become aurweb.git. * Several references in the AUR(web) source code need to be fixed, the header will still refer to the Arch User Repository

[aur-dev] [PATCH/RFC] Rename the AUR software to aurweb

2015-01-29 Thread Lukas Fleischer
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 archli...@cryptocrack.de --- AUTHORS | 2 +- INSTALL | 4 +- README

[aur-dev] [PATCH] Fix email body of password reset emails

2015-05-17 Thread Lukas Fleischer
without any description. Fix this by terminating the assignment with a semicolon again. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- web/html/passreset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/html/passreset.php b/web/html/passreset.php index fecefe4

Re: [aur-dev] AUR 4 and licensing

2015-04-12 Thread Lukas Fleischer
On Sun, 12 Apr 2015 at 01:47:10, Johannes Löthberg wrote: [...] To mitigate this I’d propose making a ToS for the AUR that for one says that the user agrees to either license the PKGBUILD and accompanying scripts under a specific license, or that they agree to assign copyright to Arch

[aur-dev] [PATCH v2] Remove the OpenSSH patch

2015-05-21 Thread Lukas Fleischer
Extended AuthorizedKeysCommand parameters are now officially supported by OpenSSH. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- Forgot to add git-auth.sh in the previous version. INSTALL| 41 +- .../0001-Patch-sshd-for-the-AUR.patch

[aur-dev] [PATCH] Change default configuration to use SSH port 22

2015-05-21 Thread Lukas Fleischer
We no longer run a separate SSH daemon on port . Change the default configuration accordingly. Also remove some configuration files that are no longer needed. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- conf/aur-sshd.socket| 6 -- conf/aur-sshd@.service

[aur-dev] [PATCH v2] Restructure scripts

2015-06-02 Thread Lukas Fleischer
* Move scripts/git-integration/ to git-interface/. * Move scripts/aurblup/aurblup.py to scripts/aurblup.py. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- INSTALL | 4 ++-- conf/config.proto| 8

[aur-dev] [PATCH] Add a Makefile for the git-auth wrapper

2015-06-02 Thread Lukas Fleischer
Avoid manual editing of the wrapper script when a non-standard path is used. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- INSTALL | 3 +-- git-interface/Makefile | 18 ++ git-interface/config.mk | 1 + git-interface/git-auth.sh

[aur-dev] [PATCH] aurblup: Fix path to configuration file

2015-06-03 Thread Lukas Fleischer
Fixes a regression introduced in commit 10ecd39 (Restructure scripts, 2015-06-01). Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- scripts/aurblup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aurblup.py b/scripts/aurblup.py index e678fee..d6d0c3c

Re: [aur-dev] [PATCH] pkg_details: Use correct clone URL

2015-06-08 Thread Lukas Fleischer
On Mon, 08 Jun 2015 at 20:04:47, Johannes Löthberg wrote: The clone URLs should use the pkgbase name, not the pkgname itself Reported-by: Jonathan Steel jst...@archlinux.org Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- web/template/pkg_details.php | 4 ++-- 1 file changed, 2

[aur-dev] [PATCH] git-update: Avoid duplicate notifications

2015-06-08 Thread Lukas Fleischer
Fixes FS#45254. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- git-interface/git-update.py | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/git-interface/git-update.py b/git-interface/git-update.py index 215848e..958fa7a 100755 --- a/git-interface/git

[aur-dev] [PATCH] pkgbase_details.php: Fix cgit links

2015-06-09 Thread Lukas Fleischer
We forgot to amend those when switching to gitnamespaces-based storage in b44411f (Use gitnamespaces for efficient storage, 2015-06-01). Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- web/template/pkgbase_details.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[aur-dev] [PATCH] Encode cgit URIs properly

2015-06-09 Thread Lukas Fleischer
Fixes FS#45276 and FS#45277. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- web/template/pkg_details.php | 6 +++--- web/template/pkgbase_details.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/template/pkg_details.php b/web/template

[aur-dev] [PATCH] Invert order when sorting packages by age

2015-06-09 Thread Lukas Fleischer
Fixes FS#44195. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- web/lib/pkgfuncs.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php index b467a3d..a5f24ba 100644 --- a/web/lib/pkgfuncs.inc.php +++ b/web/lib

[aur-dev] [PATCH] aurjson.class.php: Exclude hidden package bases

2015-06-09 Thread Lukas Fleischer
Do not return packages belonging to hidden package bases in RPC results. Fixes FS#45271. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- web/lib/aurjson.class.php | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/web/lib/aurjson.class.php b/web

[aur-dev] aur4.archlinux.org is online

2015-06-08 Thread Lukas Fleischer
Hi, the AUR 4 setup at aur4.archlinux.org is now live. If you submitted your packages earlier today, please double-check that they are listed on the aur4.archlinux.org web interface. Regards, Lukas

[aur-dev] [PATCH] git-update: Increase maximum blob size to 250kB

2015-06-08 Thread Lukas Fleischer
Large blobs are needed in some packages, such as customized Linux kernels including kernel configurations. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- git-interface/git-update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-interface/git-update.py b

Re: [aur-dev] [PATCH v2] Use extract_arch_fields when checking for source files

2015-06-08 Thread Lukas Fleischer
On Mon, 08 Jun 2015 at 13:01:35, Johannes Löthberg wrote: 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 ma...@juffo.org Reported-by: Maxime Gauduin aluc...@archlinux.org Signed-off-by:

Re: [aur-dev] [PATCH] git-update: Drop writing git description file

2015-06-08 Thread Lukas Fleischer
On Mon, 08 Jun 2015 at 14:57:57, Johannes Löthberg wrote: 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

[aur-dev] [PATCH] git-update: Improve error message for non-blob objects

2015-06-08 Thread Lukas Fleischer
' 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 lfleisc...@archlinux.org --- git-interface/git-update.py | 11 ++- 1

[aur-dev] [PATCH] Fix package statistics

2015-06-08 Thread Lukas Fleischer
Exclude hidden package bases from the package statistics. Reported-by: Johannes Löthberg johan...@kyriasis.com Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- web/lib/stats.inc.php | 34 ++ 1 file changed, 26 insertions(+), 8 deletions(-) diff --git

[aur-dev] [PATCH] pkgfuncs.inc.php: Remove a conflict marker

2015-06-03 Thread Lukas Fleischer
Remove a Git conflict marker that was added accidentally in 74edb6f (Use Git repositories to store packages, 2014-06-06). Reported-by: Helped-by: Johannes Löthberg johan...@kyriasis.com Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- web/lib/pkgfuncs.inc.php | 1 - 1 file changed, 1

[aur-dev] [PATCH] git-update: Only check HEAD for matching pkgbase

2015-06-03 Thread Lukas Fleischer
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 lfleisc...@archlinux.org --- git-interface/git-update.py | 7

Re: [aur-dev] What should AURv4 helpers do to get packages?

2015-06-09 Thread Lukas Fleischer
On Tue, 09 Jun 2015 at 16:52:52, Chris Warrick wrote: Hello, In AURv4, URLPath was removed due to the introduction of Git integration, which raises the question: what is the recommended way for AUR helpers to get packages? Should they: (a) manually generate a clone URL (/PKGBASE.git/) and

Re: [aur-dev] What should AURv4 helpers do to get packages?

2015-06-10 Thread Lukas Fleischer
On Wed, 10 Jun 2015 at 07:52:09, Lukas Fleischer wrote: On Wed, 10 Jun 2015 at 04:30:15, Rémy Marquis wrote: [...] Some AUR helpers (cower, aurget, ..) currently rely in this URLPath field for retrieving the correct tarball. It would be very useful to allow backward compatibility

[aur-dev] [PATCH 2/2] git-update: Prevent from overwriting packages

2015-06-04 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- git-interface/git-update.py | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/git-interface/git-update.py b/git-interface/git-update.py index 34633e8..047ac9b 100755 --- a/git-interface/git-update.py +++ b/git

[aur-dev] [PATCH 1/2] git-update: Only check HEAD for blacklisted packages

2015-06-04 Thread Lukas Fleischer
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 lfleisc...@archlinux.org --- git-interface/git-update.py | 10

[aur-dev] [PATCH v2] git-update: Prevent from overwriting packages

2015-06-04 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- Fix the prepared statement and the handling of the query results. git-interface/git-update.py | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/git-interface/git-update.py b/git-interface/git-update.py index

[aur-dev] [PATCH] cgitrc.proto: Fix clone prefix

2015-06-04 Thread Lukas Fleischer
Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- conf/cgitrc.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/cgitrc.proto b/conf/cgitrc.proto index 1322f93..cb77367 100644 --- a/conf/cgitrc.proto +++ b/conf/cgitrc.proto @@ -1,5 +1,5 @@ virtual-root=/cgit

Re: [aur-dev] What should AURv4 helpers do to get packages?

2015-06-09 Thread Lukas Fleischer
On Wed, 10 Jun 2015 at 04:30:15, Rémy Marquis wrote: [...] Some AUR helpers (cower, aurget, ..) currently rely in this URLPath field for retrieving the correct tarball. It would be very useful to allow backward compatibility with the RPC interface v3, at least for the time being. How?

[aur-dev] [PATCH] pkgbase.php: Escape error messages

2015-06-10 Thread Lukas Fleischer
Fixes FS#45284. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- web/html/pkgbase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/html/pkgbase.php b/web/html/pkgbase.php index 2f8f932..c834f8b 100644 --- a/web/html/pkgbase.php +++ b/web/html/pkgbase.php

[aur-dev] [PATCH] Remove can_submit_blacklisted()

2015-06-20 Thread Lukas Fleischer
This function is unneeded since commit 74edb6f (Use Git repositories to store packages, 2014-06-06). Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- web/lib/credentials.inc.php | 2 -- web/lib/pkgfuncs.inc.php| 12 2 files changed, 14 deletions(-) diff --git a/web

[aur-dev] [PATCH] Add the popularity field to the RPC interface

2015-06-25 Thread Lukas Fleischer
Implements FS#45422. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- web/lib/aurjson.class.php | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php index c896b04..7b77da4 100644 --- a/web/lib

[aur-dev] [PATCH] Add Arabic translation

2015-06-25 Thread Lukas Fleischer
Implements FS#45430. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- po/Makefile|1 + po/ar.po | 1331 web/lib/translator.inc.php |1 + 3 files changed, 1333 insertions(+) create mode 100644 po

[aur-dev] [PATCH] po/Makefile: Add more context to strings in the catalog

2015-06-25 Thread Lukas Fleischer
Pass the --add-location=file parameter to xgettext(1) when building the message catalog, such that each string is annotated with the file it originates from. Fixes FS#45401. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- po/Makefile | 2 +- 1 file changed, 1 insertion(+), 1

Re: [aur-dev] [PATCH 1/2] Make confirmation label of width 'auto'

2015-06-25 Thread Lukas Fleischer
On Tue, 23 Jun 2015 at 19:56:52, Johannes Löthberg wrote: Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- web/html/css/aurweb.css | 4 web/html/pkgdel.php | 2 +- web/html/pkgdisown.php | 2 +- web/html/pkgmerge.php | 2

Re: [aur-dev] [PATCH v3] Redirect at previous page after a successful login

2015-06-25 Thread Lukas Fleischer
On Thu, 18 Jun 2015 at 21:28:17, Gordian Edenhofer wrote: After the user was authenticated a redirect to the site which linked the user to the login page is done. This fixes FS#32481. --- Here you go. Changes since v2: * Formatting * Usual redirect to register page if it is the referer

[aur-dev] [PATCH] Display (reverse) optional dependencies as Required by

2015-06-25 Thread Lukas Fleischer
Also, change pkg_required() such that the returned array has the same structure as the result of pkg_dependencies(). Fixes FS#45452. Signed-off-by: Lukas Fleischer lfleisc...@archlinux.org --- web/lib/pkgfuncs.inc.php | 13 - web/template/pkg_details.php | 9 +++-- 2 files

Re: [aur-dev] [PATCH v2] Redirect at previous page after a successful login

2015-06-25 Thread Lukas Fleischer
On Thu, 18 Jun 2015 at 21:28:17, Gordian Edenhofer wrote: After the user was authenticated a redirect to the site which linked the user to the login page is done. This fixes FS#32481. --- Thanks for the replies. I fixed the concerning htmlspecialchars invocation and changed the formatting.

Re: [aur-dev] [PATCH] Add Arabic translation

2015-06-25 Thread Lukas Fleischer
On Thu, 25 Jun 2015 at 11:20:54, Safa Alfulaij wrote: [...] For example, Notify is used in both table header and action combobox. Each should be translated in a different way, noun (header) and verb (action). (Almost these are the most problematic strings). Well, technically, Notify isn't a

Re: [aur-dev] [PATCH v2] Remove hostname from URLPath in JSON RPC

2015-06-19 Thread Lukas Fleischer
On Fri, 19 Jun 2015 at 10:16:47, Mikkel Oscar Lyderik wrote: Prior to aur4, URLPath in the JSON RPC didn't include the hostname, only the path. This removes the hostname and make aur4 compatible with programs expecting the old semantics (e.i. cower) Closes FS#45333 ---

Re: [aur-dev] [PATCH] Remove hostname from URLPath in JSON RPC

2015-06-18 Thread Lukas Fleischer
On Thu, 18 Jun 2015 at 22:46:45, Mikkel Oscar Lyderik wrote: [...] If it is intentional that it should be possible to use a different domain then we can just drop this. However, then the documentation for the JSON RPC should be updated instead to reflect this change, I don't know what the

Re: [aur-dev] [PATCH] Redirect at previous page after a successful login

2015-06-19 Thread Lukas Fleischer
On Fri, 19 Jun 2015 at 15:50:57, Marcel Korpel wrote: * Lukas Fleischer lfleisc...@archlinux.org (Fri, 19 Jun 2015 15:04:14 +0200): + input id=id_referer type=hidden name=referer value=?= !empty($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER

Re: [aur-dev] [PATCH 1/4] git: Use AUR_USER env var instead of ForceCommand argument

2015-06-23 Thread Lukas Fleischer
On Tue, 23 Jun 2015 at 00:00:18, Johannes Löthberg wrote: Also add an utility function for formatting the ForceCommand Missing punctuation :) Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- git-interface/git-auth.py | 18 -- git-interface/git-serve.py | 2 +-

Re: [aur-dev] [PATCH 3/4] git-serve: Drop direct AccountType checking, use AUR_PRIVILEGED

2015-06-23 Thread Lukas Fleischer
On Tue, 23 Jun 2015 at 00:00:20, Johannes Löthberg wrote: Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- git-interface/git-serve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-interface/git-serve.py b/git-interface/git-serve.py index

Re: [aur-dev] [PATCH v3 2/5] git: Use AUR_USER env var instead of ForceCommand argument

2015-06-23 Thread Lukas Fleischer
On Tue, 23 Jun 2015 at 12:26:35, Johannes Löthberg wrote: Also add an utility function for formatting the ForceCommand, using shlex.quote to quote the value. Manually replacing '\' with '\\' is required under OpenSSH due to it replacing `\` with ``, which breaks any command part that

Re: [aur-dev] [PATCH v3 3/5] git-auth: Set AUR_PRIVILEGED env var for TUs devs

2015-06-23 Thread Lukas Fleischer
On Tue, 23 Jun 2015 at 12:26:36, Johannes Löthberg wrote: Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- git-interface/git-auth.py | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/git-interface/git-auth.py b/git-interface/git-auth.py index

Re: [aur-dev] [PATCH v4] Fake pkgbase actions for unconfirmed users

2015-06-27 Thread Lukas Fleischer
On Fri, 26 Jun 2015 at 21:03:17, Gordian Edenhofer wrote: Displaying flag, notify, vote, adopt and file request links for users which did not authenticate themselves and letting those fake buttons link to the login page. Signed-off-by: Gordian Edenhofer gordian.edenho...@gmail.com --- Here

[aur-dev] [PATCH v6] Fake pkgbase actions for unconfirmed users

2015-06-27 Thread Lukas Fleischer
From: Gordian Edenhofer gordian.edenho...@gmail.com Displaying flag, notify, vote, adopt and file request links for users which did not authenticate themselves and letting those fake buttons link to the login page. Signed-off-by: Gordian Edenhofer gordian.edenho...@gmail.com Signed-off-by: Lukas

Re: [aur-dev] [PATCH] Removing redundant /a and a faulty if statement

2015-06-26 Thread Lukas Fleischer
On Fri, 26 Jun 2015 at 17:41:20, Gordian Edenhofer wrote: The function html_action_link closes its link with /a hence there is no need for closing them again after invoking the function. --- web/template/pkgbase_actions.php | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

Re: [aur-dev] [PATCH v2] Only print no changes message if queries failed

2015-06-27 Thread Lukas Fleischer
On Sat, 27 Jun 2015 at 17:48:39, Johannes Löthberg wrote: This commit changes the messages printed when changing the accound details so that it only prints that no changes were made if either the account change SQL query or the account_set_ssh_keys call failed. Reported-by: Alexis Chotard

<    1   2   3   4   5   6   7   8   9   10   >