[aur-dev] URL redirect should be set to the merged package
Currently, if a package gets merged into another package, the URL link to the merged package will say 404, this should not happen, instead, a redirection should be made to the package that was merged into. If a new package with the same name as the merged package is uploaded again, then, the redirection will be removed. Which means, there should be a record of the merging activities. When a package is being queried, if the package exists then just return it, if not, check the merging records for the latest merging record, and redirect the page to the new package.
On Fri, Oct 25, 2013 at 8:06 AM, 郑文辉(Techlive Zheng) <techlivezheng@gmail.com> wrote:
Currently, if a package gets merged into another package, the URL link to the merged package will say 404, this should not happen, instead, a redirection should be made to the package that was merged into.
If a new package with the same name as the merged package is uploaded again, then, the redirection will be removed.
Which means, there should be a record of the merging activities. When a package is being queried, if the package exists then just return it, if not, check the merging records for the latest merging record, and redirect the page to the new package.
Please add feature requests to the bug tracker [1]. [1] https://bugs.archlinux.org/index.php?project=2
participants (2)
-
canyonknight
-
郑文辉(Techlive Zheng)