#3802 Symlink for latest branched and rawhide mash
Closed: Fixed None Opened 9 years ago by jlaska.

== Problem Space ==

Currently, the [http://fedoraproject.org/wiki/Critical_Path_Packages Critical Path Packages] wiki page links to most recently branched and rawhide critpath.txt files. However, depending on the status of the compose/mash/pungi, or the timing of the branched schedule, these log files may not be available. In order to eliminate confusion and 404 links from the wiki, it would be helpful to provide a link to an ''always'' available critpath.log URL.

== Proposal ==

Create a symlink for the latest successful branched and rawhide pungi/mash/compose. This symlink will be referenced when directing users to the latest definition of the critical path. For example:
* http://kojipkgs.fedoraproject.org/mash/rawhide-latest -> http://kojipkgs.fedoraproject.org/mash/rawhide-20100618/
* http://kojipkgs.fedoraproject.org/mash/branched-latest -> http://kojipkgs.fedoraproject.org/mash/branched-20100518/

The symlink would be updated upon successful mashing of rawhide or branched.


We already have that, the name of the link is simply "rawhide" or "branched".

Replying to [comment:1 jkeating]:

We already have that, the name of the link is simply "rawhide" or "branched".

Sort of. There is a ''rawhide'' and ''branched'' directory, but that directory doesn't provide the function requested in this ticket. We need a URL location for the logs/critpath.txt file. The logs/ directory is not available under the branched/ or rawhide/ links.

For example, the dated directory contains the logs and the mirrored directory
{{{
http://kojipkgs.fedoraproject.org/mash/rawhide-20100618/
logs/ 18-Jun-2010 10:59 -
rawhide/ 18-Jun-2010 08:34 -
}}}

While the 'linked' directory only provides the mirrored content.
{{{
http://kojipkgs.fedoraproject.org/mash/rawhide/
i386/ 18-Jun-2010 08:34 -
source/ 18-Jun-2010 08:34 -
x86_64/ 18-Jun-2010 08:34 -
}}}

I remember this issue now. We were going to find the consumers of the "rawhide" and "branched" symlinks, make them consume "rawhide/something" and "branched/something" instead so that we can move the symlink up a level, rather than creating yet more symlinks. That was on our To Do list, I'll try to get somebody on it.

Replying to [comment:3 jkeating]:

I remember this issue now. We were going to find the consumers of the "rawhide" and "branched" symlinks, make them consume "rawhide/something" and "branched/something" instead so that we can move the symlink up a level, rather than creating yet more symlinks. That was on our To Do list, I'll try to get somebody on it.

Ah okay, cool. Yeah, I'm certainly open to something more appropriate than the symlinks. I just figured that'd be the path of least resistance.

AFAICT this has not been improved in any way. We're still stuck with the fragile, daily links. The main 'consumer' of critpath.txt of which I'm aware, and the one that spawned this request, is https://fedoraproject.org/wiki/Critical_Path_Packages . It uses wiki magic to link to where the last week's worth of critpath.txt files 'ought to' be, as a hedge against generation failing on any particular day, but that's obviously not optimal.

Would it be better to just have it pull critpath from the pkgdb?

pkgdb now has a plain text list of the critpath packages. Critpath wiki page updated to point to it.

Login to comment on this ticket.

Metadata