[cad-linux-dev] filename spec

  • From: Eric Wilhelm <ewilhelm@xxxxxxxxxxxxx>
  • To: CAD linux development <cad-linux-dev@xxxxxxxxxxxxx>
  • Date: Tue, 7 Sep 2004 10:47:47 -0500

# The following was supposedly scribed by
# Bruno Postle
# on Tuesday 07 September 2004 10:18 am:

>=A0 HOSTNAME + "-" + PID + "-" + INODE + "-" + UNIXDATE + ".yml"
>
>=A0 mv tmp/foo.bar.fr-25594.yml foo.bar.fr-25594-383788-1094568182.yml
<snip>
>None of this should be part of the spec since it is implementation,
>but it would be nice if any printable character was allowed in the
>filename.

Ok, the only thing that should be part of the spec is that an ID is=20
unique for the life of the drawing.  Because a filename cannot be=20
used twice, this will basically be automatically enforced by using a=20
directory.

However, I would like to have some part of the file naming be in the=20
spec.  Namely, requiring a "*.yml" pattern for all rhizopod files=20
would be good.

However, if we are going to be able to lay hands on all of the=20
geometry with a simple typeglob, the "drawing.yml" and other items=20
break this.  This is where storing the geometry in a subfolder helps.

  geometry/*.yml  -  all of the geometry files
  layers/*.yml - all of the layer files
  ...

=2D-Eric
=2D-=20
"Insert random misquote here"

Other related posts: