FS#47684 - Add "Source Files" in Package actions

Attached to Project: AUR web interface
Opened by Sebastiaan Lokhorst (lonaowna) - Saturday, 09 January 2016, 20:15 GMT
Last edited by Lukas Fleischer (lfleischer) - Wednesday, 01 November 2017, 08:24 GMT
Task Type Feature Request
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.1.1
Due in Version 4.5.0
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

In the official repositories, there are the following Package Actions in the right sidebar:
Source Files / View Changes
...

In the AUR however, there is the following:
View PKGBUILD / View Changes
...

It would be nice to have the "Source Files" option in the AUR as well. Both for consistency with the official repositories, and because its really useful.
Maybe as a replacement for "View PKGBUILD" (so it's the same as the official repositories), or as an addition.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Wednesday, 01 November 2017, 08:24 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in 4.5.0.
Comment by Mark Weiman (markzz) - Tuesday, 26 January 2016, 06:51 GMT
I am all for replacement of the "View PKGBUILD" link. Many times, I am not interested in the PKGBUILD and want to look at a file elsewhere and have to make that darn extra click to see the other files.

Well, that sure makes me sound lazy....
Comment by Lukas Fleischer (lfleischer) - Saturday, 06 February 2016, 15:04 GMT
To be honest, I almost always want to have a look at the PKGBUILD, so replacing "View PKGBUILD" would mean extra clicks for me :)
Comment by Sebastiaan Lokhorst (lonaowna) - Monday, 08 February 2016, 21:01 GMT
That's true, but it is easier to get from the "Source Files" to the PKGBUILD than the other way around. Showing both would also be fine in my opinion.
Comment by Mark Weiman (markzz) - Monday, 08 February 2016, 21:30 GMT
lfleischer: Viewing a separate file takes ONE WHOLE EXTRA CLICK from the PKGBUILD than clicking on the PKGBUILD from the root directory of the repository. ;-)

I don't think we should put both on there and one should be chosen, but that's my opinion.
Comment by Eli Schwartz (eschwartz) - Tuesday, 15 March 2016, 18:57 GMT
If nothing else, I'd really prefer some consistency with the official repositories.

(It seems to me the official repositories had good reason to use "Source Files" rather than "PKGBUILD", so why don't we imitate that. ;))
Comment by Sebastiaan Lokhorst (lonaowna) - Tuesday, 08 November 2016, 00:21 GMT
Are you still planning to implement this? The due version (4.3.0) has already passed.
Comment by Eli Schwartz (eschwartz) - Tuesday, 01 August 2017, 23:29 GMT
  • Field changed: Due in Version (4.3.0 → 4.5.0)
Implemented in https://git.archlinux.org/aurweb.git/commit/?id=9df1bd5fe2f781d1b8341496378c605b34cde64f

The link is clickable in the sources list just above the comments section.
Comment by Jakub Klinkovský (lahwaacz) - Wednesday, 02 August 2017, 11:52 GMT
There is still "View PKGBUILD" link instead of "Source Files". Clickable sources in the list above comments is a nice thing, but irrelevant to this report.
Comment by Eli Schwartz (eschwartz) - Wednesday, 02 August 2017, 14:25 GMT
IIRC that was added as an alternative implementation to adding it in package actions...
Comment by Jakub Klinkovský (lahwaacz) - Monday, 06 November 2017, 17:48 GMT
The "Sources" list does not appear on the pkgbase viewports, it's only present on the individual packages' viewports, although they share the same PKGBUILD. Consider these pages:

https://aur.archlinux.org/pkgbase/llvm-svn/ -> sources list missing
https://aur.archlinux.org/packages/llvm-svn/ -> sources list present

Loading...