| | Re: Request change to ptreleases.cgi Steve Bliss
|
| | (...) OK, the URL is still temporary, but the script should be more-or-less done. Have at it, look for deficiencies, bugs, etc. If you don't remember the options, try adding ?help=1 to the url. I haven't thought very hard about the XML format -- if (...) (20 years ago, 31-Jul-04, to lugnet.cad.dev)
|
| | |
| | | | Re: Request change to ptreleases.cgi Travis Cobbs
|
| | | | (...) I'm not really up on XML, but it looks fine to me. I do have a question, though. Is there some significance that I am missing to naming the root element "opt"? --Travis Cobbs (20 years ago, 31-Jul-04, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: Request change to ptreleases.cgi Steve Bliss
|
| | | | | (...) There's no significance, AFAIK. The Perl module, XML::Simple, wraps the <opt> tag around everything automatically. I scanned the docs, but didn't see how to control it. Steve (20 years ago, 31-Jul-04, to lugnet.cad.dev)
|
| | | | | |
| | | | | | | Re: Request change to ptreleases.cgi Chris Dee
|
| | | | | | (...) In XML::Simple the root element name is controlled by the RootName option (RootName => 'string') (URL)_'string'_#_out_-_handy Chris (20 years ago, 1-Aug-04, to lugnet.cad.dev)
|
| | | | | | |
| | | | | | | | Re: Request change to ptreleases.cgi Steve Bliss
|
| | | | | | (...) Thanks, Chris! I'll add this shortly. Steve (20 years ago, 2-Aug-04, to lugnet.cad.dev)
|
| | | | | | |
| | | | | | Re: Request change to ptreleases.cgi Steve Bliss
|
| | | | (...) Looking at this some more... The script currently returns XML with 3 lists of distribution files: BASE - file ZIP - file ARJ COMPLETE - file ZIP - file ARJ UPDATE - file ZIP - file ARJ - file ZIP - file ARJ - file ZIP ... It could be argued (...) (20 years ago, 2-Aug-04, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: Request change to ptreleases.cgi Travis Cobbs
|
| | | | (...) I actually considered that when you made your original post. However, there are actually multiple different perfectly valid heirarchies, and for this reason I think the flat list is better overall. Here's an example with a different (...) (20 years ago, 2-Aug-04, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: Request change to ptreleases.cgi Steve Bliss
|
| | | | (...) I tend to agree with your thought, and I'm going to switch the script over to a flat-list model. Although I think the hierarchy of release -> distr type -> file format makes the most sense; and (somewhat) addresses your earlier question about (...) (20 years ago, 2-Aug-04, to lugnet.cad.dev)
|
| | | | |