FS#56956 - {archweb}: Misleading link for "Source Files" on package page
Attached to Project:
Arch Linux
Opened by Tinu Weber (ayekat) - Thursday, 04 January 2018, 22:55 GMT
Last edited by Angel Velasquez (angvp) - Sunday, 04 February 2018, 19:04 GMT
Opened by Tinu Weber (ayekat) - Thursday, 04 January 2018, 22:55 GMT
Last edited by Angel Velasquez (angvp) - Sunday, 04 February 2018, 19:04 GMT
|
Details
Description:
On the webpage for a package, the "Source Files" link leads to the view that shows the /trunk directory, rather than the directory that contains the package files used for building the respective package (e.g. /repos/core-x86_64 for [core] or /repos/testing-x86_64 for [testing]). For instance there might be filesystem both in [core] and [testing] (with two separate pages [1] and [2]). But on both pages, "Source Files" leads to the same directory in the cgit interface [3]. This is rather misleading, as one would expect getting the files used for building the currently packaged version in the repository. Would it be possible to have the link point to /repos/{repo}-{arch} instead of /trunk? Or maybe point to /, so that it is evident that there are two versions? Or maybe add a second link (so that both the trunk and the respective files are quickly accessible - my personal favourite). [1]: https://www.archlinux.org/packages/core/x86_64/filesystem/ [2]: https://www.archlinux.org/packages/testing/x86_64/filesystem/ [3]: https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/filesystem |
This task depends upon
Closed by Angel Velasquez (angvp)
Sunday, 04 February 2018, 19:04 GMT
Reason for closing: Not a bug
Additional comments about closing: This is not archweb related but our git interface..
Sunday, 04 February 2018, 19:04 GMT
Reason for closing: Not a bug
Additional comments about closing: This is not archweb related but our git interface..
Also see what Dan wrote in
FS#30734, which this pretty much is a duplicate of.[1] https://git.archlinux.org/svntogit/packages.git/tree/repos/core-x86_64?h=packages/filesystem
explanation makes sense.
Would linking to the tree under /trunk (at the right commit) be an
option? For instance [1] for the current version (filesystem-2017.10-2).
This way, clicking on "log" would then still reveal the complete
history.
Or/and with an additional link, like "Source Files [core] [trunk]"
[1] https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/filesystem&id=bc695be763be4b553a31cf899dc5badfb6f1a0aa