[plt-scheme] Creating PLT archive from SVN sources

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Jun 11 14:29:21 EDT 2006

On Jun 11, Carl Eastlund wrote:
> On 6/11/06, Eli Barzilay <eli at barzilay.org> wrote:
> > On Jun 11, Carl Eastlund wrote:
> > > Is there a way to create a .plt file (such as with 'planet
> > > --create-archive') from subversion sources, and automatically exclude
> > > .svn subdirectories?  As it is, when I create a package to submit to
> > > PLaneT I have to duplicate my source directory and strip out the .svn
> > > directory manually.  Having either a "--exclude" option or a command
> > > to remove those directories after the fact would be easier than
> > > copying, modifying, archiving, and deleting.
> >
> > The default file filter should exclude .svn and CVS directories.  Can
> > you try to see if it doesn't do that when you use just mzc?  (If it
> > does, then planet might be providing its own filter.)
> 
> You know, I may just be assuming that planet doesn't do this
> automatically for me.  How do I check what's in a .plt file to see
> what's in it, anyway?

You can:

* Look at the output of mzc, which should say which directories it is
  `mztarring'.

* just install it and see if it re-creates the .svn directories

* base64-decode it, and gunzip the result and look at the raw contents

* Get Neil's quack and open the .plt file in Emacs.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the users mailing list.