On Thu, Jul 20, 2023 at 01:47:42PM +0100, Stuart Henderson wrote: > On 2023/07/20 14:27, Antoine Jacoutot wrote: > > On Thu, Jul 20, 2023 at 10:24:10AM +0100, Stuart Henderson wrote: > > > portroach doesn't reliably use the site handler for cpan, various ports > > > (notably those with Foo-Bar-v1.23 format distfile names) fallback to > > > directory listing. For example see the "L" instead of "S" for > > > p5-Sys-Virt in > > > https://portroach.openbsd.org/antoine%20jacoutot%20%3cajacou...@openbsd.org%3E.html > > > > > > Also the "is this site handled by this" regex doesn't cover some URL > > > formats (though afaict as long as one of the various MASTER_SITES > > > entries matches, it looks like it does pick it up anyway). > > > > > > I think this diff should help but it's not tested. Is there any good way > > > to test portroach without setting up a full installation and having it > > > fetch a list of URLs the size of 45 aardvarks? > > > > I can put this on portroach.openbsd.org if you want? > > If it's not likely to mess anything up too badly for the database, yes > please - I don't think it can make things much worse anyway :)
Running with it. portroach.openbsd.org has been updated with the latest ports with this patch if you want to check. -- Antoine