To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 8016
8015  |  8017
Subject: 
Re: pictures at tracker
Newsgroups: 
lugnet.cad
Date: 
Fri, 17 May 2002 19:53:05 GMT
Viewed: 
948 times
  
In lugnet.cad, Ralph Hempel writes:
Yeah, but that would be doing the job of make -- reinventing the wheel,
so to speak.  It should be easier to maintain a dependency file for each
unofficial file, and let make figure out what needs to be updated when.

In order for make to process stuff properly, I'll need to tell it
the order in which directories shold be searched for dependent
files because that information is not in the DAT file itself.

You listed the order correctly. Unofficial/parts, Unofficial/p,
Official/parts, Official/p.

We need to build different graphic images (and distribution packages)
depending on what it is we are trying to do:

For now, let's limit ourselves to discussing graphics images.  Some of the
distribution files *can't* be built on the server -- I haven't found any
linux software that can work with DOS self-extracting ARJ files.

Well, maybe we can keep the unofficial zip file
<http://www.ldraw.org/library/unofficial/ldrawunf.zip> up to date.  Except I
wonder if make can remove deleted files from the zip?

For official distributions of released parts, given a DAT file we
search

official/parts
official/p

Yes, but I'm pretty sure we can ignore official files for now - I'd rather
not take the processing time to check something that only changes at
specific times.  And that gives us results we're not particularly interested
in getting.

Unless, of course, you want to help me keep Partsref up-to-date. :)

And when I say 'ignore', I mean leave the official files entirely out of the
image-making, makefile process.  The catch here is that when a fix to an
official subfile is received, the dependency files of the superfiles need to
be updated.  Good thing the logic to catch this is already in the PT scripts.

For unofficial distributions of parts under review, given a DAT file we
search

unofficial/parts
unofficial/p

official/parts
official/p

Is there some need for building any other configurations of graphic files?

No.  I don't even want to build images of official files.

Side thought: Kyle mentioned that dat files should depend on the images
of their subfiles.  That would work, but we could also make the dat
files be dependent on the dependency files of their subfiles. :)

I think it's cleaner to make DATs dependent on their dependencies...

nod, ok.  I think I agree. :)

Another place that I think images would be useful is in the "required
files" and "related files" lists on the detailed pages.  In those lists,
images for subparts and primitives would definitely be useful.

Can it hurt to make these?

Not really, except for the processing time involved.

Steve



Message has 1 Reply:
  Re: pictures at tracker
 
(...) According to Google it seems to be possible: (URL) will check it out. (...) If you can tell which files were deleted, then make _can_ remove them (`zip -doT archive.zip deleted files`). Jacob (22 years ago, 19-May-02, to lugnet.cad)

Message is in Reply To:
  RE: pictures at tracker
 
(...) In order for make to process stuff properly, I'll need to tell it the order in which directories shold be searched for dependent files because that information is not in the DAT file itself. We need to build different graphic images (and (...) (22 years ago, 17-May-02, to lugnet.cad)

77 Messages in This Thread:



















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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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