updates 2001.03.25

Will Partain <[email protected]>
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
Folks, I've done the usual check-in-piles-of-stuff thing;
new FTP snapshots available; Web pages updated...

Highlights (and lowlights):

* [USER-VISIBLE CHANGE] - I fixed an infelicity in the
  ARK1->2 conversion whereby <proxy-hosts> and
  <packages-install-dir> became <list>s, not <table>s.
  They are now <table>s.

  Matt, if you 'cvs update -d -P <everything>', they
  should be fixed.

  (Technically, this change should make xml-version=...
  change.  I don't think we have enough users to justify
  using the bureaucracy yet.)

* [USER-VISIBLE CHANGE] - The --invalidate-node*
  command-line options have been renamed --undo-state-from
  and --undo-state-pattern.  The old names were nonsensical
  in an ARK2 world.

* I added great swathes to
  http://ark.sourceforge.net/ark-conflang.html, notably
  annotations of a team's team.xml, host/ALL.xml, and
  package/ALL.xml.  Tidying needed; but Harlan, I hope this
  answers some of your "what's a proxy-host?"-type
  questions.

* I added the --constraint-hosts flag, as mentioned here.
  Not tested enough to have any confidence at all about it.

* Renamed Jonathan's TemplateParser.py to ark/template.py.
  I have vague plans to make it an oft-reached-for ARK
  tool.

* Combined ark/cmdline.py and ark/profile.py into
  ark/control.py.  This module does "global program
  control", and handles (um, will handle) .ark-profile
  files, environment variables, and command-line flags in a
  consistent way.  I think Harlan was the first to suggest
  this.

* I am trying to teach myself a little about XP-style
  "test-first design", partly be retrofitting stuff to the
  ARK framework (ARK/arkbase/ark/).  Using PyUnit.  The
  *tests.py modules in that dir, plus the tests/ dir for
  test data.

  If anybody wants to wade in and write some more of these
  tests, let me know.  I've found it *quite* instructive so
  far.  I can really see how this could make the ARK
  framework Totally Bulletproof.  Which would be... nice.

* It passed the "sample1 try-ark" test when I ran it
  yesterday.

Let me know of any problems.

Will
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.