To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 9750
9749  |  9751
Subject: 
Request change to ptreleases.cgi
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 20 Jul 2004 17:46:10 GMT
Viewed: 
1694 times
  
I have a request for a change to be made to the ptreleases.cgi script that keeps
track of all parts updates.  Unfortunately, if anyone has actually implemented
support for automatic updates using this script, my suggested change might not
be possible.  However, I am unaware of any programs that do this.  For
reference, the CGI script is here:

http://www.ldraw.org/cgi-bin/ptreleases.cgi

My request is that file sizes be added for each entry.  I'm in the process of
adding support for automated library updates to LDView, I came to the conclusion
that knowing the file sizes would make it easier to decide whether to download
multiple update files or just the complete file.  The only other alternative I
can think of is to fetch all the file headers from the ldraw.org web server to
determine the file sizes, and then decide whether the complete package is
smaller than the sum of all required update packages.

The sizes could either be added immediately following each filename (after a
tab, of course), or they could be appended to the end of each line (with tab
separators).  Appending them to the end of each line has the advantage that any
existing programs might still work without knowing about the change.
(Unfortunately, they also might not.)

I'm looking for comments on this both from program authors and whoever maintains
the script.

--Travis Cobbs



Message has 3 Replies:
  Re: Request change to ptreleases.cgi
 
(...) I always thought it should emit XML, which would make it really easy to add more info (like what you're suggesting) without affecting backwards compatibility. Maybe it's not too late to do that. From looking at the logs from the last few days, (...) (20 years ago, 20-Jul-04, to lugnet.cad.dev)
  Re: Request change to ptreleases.cgi
 
(...) Do you want sizes for the ZIP files or the ARJ-format EXEs? Steve (20 years ago, 20-Jul-04, to lugnet.cad.dev)
  Re: Request change to ptreleases.cgi
 
Hey all (interested parties), Please take a look at (URL) let me know what you think. This is a temporary script and URL. Please don't think this is the final configuration. I'm working on a (more) final version, hopefully it will be ready before (...) (20 years ago, 27-Jul-04, to lugnet.cad.dev)

18 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR