AUR web interface

Tasklist

FS#45869 - Support "Package Contents"

Attached to Project: AUR web interface
Opened by (Det) - Sunday, 02 August 2015, 06:39 GMT
Last edited by Lukas Fleischer (lfleischer) - Wednesday, 05 August 2015, 05:20 GMT
Task Type Feature Request
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.0-rc6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

E.g.: https://www.archlinux.org/packages/extra/x86_64/mkvtoolnix-gtk/ > "View the file list for mkvtoolnix-gtk"

The list can be generated from the .pkg.tarball with:
                                  # Ignore .MTREE/.PKGINFO
 $ bsdtar -tf <pkgname>-<pkgver>-<pkgrel>-<arch>.pkg.tar.xz | grep -v '^\.' | sort
                                            # Sort alphabetically
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Wednesday, 05 August 2015, 05:20 GMT
Reason for closing:  Won't implement
Comment by (Det) - Sunday, 02 August 2015, 06:39 GMT
The indents are wrong!
Comment by Allan McRae (Allan) - Sunday, 02 August 2015, 07:11 GMT
Are you reporting this for the AUR or Arch Web. It is in the AUR section (where there are no built packages...), but links to an Arch package which has a convenient link... (View the file list for mkvtoolnix-gtk)
Comment by (Det) - Sunday, 02 August 2015, 07:13 GMT
Correct. When the package is built, you can generate the list.
Comment by Jens Adam (byte) - Sunday, 02 August 2015, 10:00 GMT
And then what? Upload it separately? Or implement file list extraction in 'mksrcinfo' and force users to build a package after modifying each PKGBUILD?
Comment by (Det) - Sunday, 02 August 2015, 12:34 GMT
No, no enforcement. "bsdtar -t" lists contents, doesn't extract, and listing them can be optional.

This should only need to be done once, since contents don't often change, but not overwritten by a normal `mksrcinfo` run.
Comment by Lukas Fleischer (lfleischer) - Tuesday, 04 August 2015, 04:03 GMT
This is nothing that can be implemented in aurweb. Support would need to be added to pacman first.
Comment by (Det) - Tuesday, 04 August 2015, 10:43 GMT
Pacman? Do you mean `mksrcinfo`?
Comment by Lukas Fleischer (lfleischer) - Wednesday, 05 August 2015, 05:07 GMT
Almost. I am talking about `makepkg --printsrcinfo` (which only exists in the pacman.git master branch right now). mksrcinfo will probably become a wrapper around makepkg once a new pacman release is out.
Comment by Allan McRae (Allan) - Wednesday, 05 August 2015, 05:14 GMT
I doubt this will be added to makepkg - filelists do not belong to source packages.

How would "makepkg --printsrcinfo" handle different architectures that each have different file lists? What if the package is not build for all architectures?
Comment by (Det) - Wednesday, 05 August 2015, 10:42 GMT
Probably would have to be with the _i686 / _x86_64 extensions as all the rest.

Loading...