> However, on a new news item, all news will shift one place, and the most > recent one will be called '1.html'. This makes linking to items quite > impossible, you think you're linking somewhere, but it changes > afterwards.
Apart from linking to those pages, there are also a problem more related to the PTS itself. Today I experienced the following bug: I looked at the PTS overview of a package yesterday and watched the topmost newsitem. Last night a new version of the package was uploaded and when clicking the top news item I got the changes from the previous version. What happened was that my browser cached that page. This would have been prevented if the link for a specific newsitem would have been constant. One can also imagine a race condition, because HTTP is stateless. One could have the overview page open, meanwhile a new upload is done, and sometime after the upload one clicks a newsitem. One will get another item because all will have shifted. With more static naming I would have gotten the item I requested. I'm willing to fix this sometime if someone can point me to the sources of the PTS. Regards, Thijs
signature.asc
Description: OpenPGP digital signature