FS#10743 - Web site no longer provides capability to see list of files contained inside a package

Attached to Project: Arch Linux
Opened by David Rosenstrauch (darose) - Monday, 23 June 2008, 17:55 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 31 May 2009, 09:04 GMT
Task Type Bug Report
Category Web Sites
Status Closed
Assigned To Dusty Phillips (Dusty)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Like the subject says, we used to provide the capability to view a list of files in a package via the Arch web site, but no longer do.

This isn't a crucial problem, but it's a real "nice to have" that I miss. It's very useful to be able to view the contents of a package before installing it.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 31 May 2009, 09:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  pkgfile and archlinux.de both provide this
Comment by Aaron Griffin (phrakture) - Monday, 23 June 2008, 18:01 GMT
Dusty, do we still have somewhere in the backend DB to add filelists? If so this should be as simple as modifying reporead.py to parse the $repo.files.tar.gz files.
Comment by Greg (dolby) - Monday, 23 June 2008, 18:05 GMT
This was the most irritating recent change indeed. Even though knowing which package depens on the package you are taking a peak at is VERY handy too, i liked the filelist better. I would like as many as possible of those accessable from the web interface. If possible, even the sources, like before.
Comment by Dusty Phillips (Dusty) - Monday, 23 June 2008, 18:22 GMT
FileList is not one of the fields on the Package Model, but I can add one easily enough.

I should probably set up a test MySQL database for testing sql migrations... would it be possible to get one on gerolde?
Comment by Travis Willard (Cerebral) - Monday, 23 June 2008, 18:23 GMT
Yeah, filelists on the website are handy if only for the ability to do a google search for

<filename> site:www.archlinux.org/files

So you can find out which package owns a file without having it installed. :P
Comment by Gavin Bisesi (Daenyth) - Monday, 23 June 2008, 18:44 GMT
File lists are now distributed as tarballs on the repos. I have written a tool called pkgfile to use them, it's on AUR as part of the pkgtools package. http://aur.archlinux.org/packages.php?ID=17941
Comment by David Rosenstrauch (darose) - Monday, 23 June 2008, 18:52 GMT
pkgfile only provides "pacman -Qo" functionality, not "pacman -Ql" functionality.
Comment by Gavin Bisesi (Daenyth) - Monday, 23 June 2008, 19:36 GMT
Ah, that's correct. I will add an option to list all files belonging to a package. Right now it's possible to manually look in the lists/ directory.
Comment by Gavin Bisesi (Daenyth) - Tuesday, 24 June 2008, 00:00 GMT
Done. Update to pkgtools 6
Comment by eliott (cactus) - Thursday, 21 August 2008, 08:30 GMT
my recommendation would be to *not* add it to reporead, but to create another script that ran immediately after reporead, that would look for and parse the $repo.files.tar.gz, if it was still deemed desirous (since Daenyth's update may have resolved the need).
Comment by Dusty Phillips (Dusty) - Thursday, 21 August 2008, 12:41 GMT
Hmmm, I was hoping to put it in reporead and avoid having multiple SQL UPDATE queries to every package. But reporead already takes a fair while to run so it might be better to split it. Thoughts?
Comment by Gavin Bisesi (Daenyth) - Thursday, 21 August 2008, 13:43 GMT
Pkgfile has a --list option for this purpose now.
Comment by Greg (dolby) - Saturday, 30 May 2009, 01:12 GMT
archlinux.de has that now. Don't know how long its been since Pierre and the guys added it.

Loading...