A GNU Arch Handbook

5.1 Create A Personal Archive

(prev chapter) (next)

Earlier sections showed you how to locally mirror an upstream archive and checkout projects and multi-project trees from those archives.

When you are going to hack an arch-using project --- start creating your own versions, containing changes you make --- you will typically need or want to create your own arch archives.

The process for creating a personal archive is very similar to the process for creating a local mirror (slightly simpler, actually). (Note: You will want to choose an original archive name rather than simply copying the one in this example.):

    % tla make-archive lord@gnu.org--my-hacks-2005 \
      $ARCHIVE_DIR/lord@emf.net--my-hacks-2005

As always, you can verify that the new archive is registered:

    % tla archives
      lord@emf.net--2005-SOURCE
          http://www.gnuarch.org/archives/lord@emf.net--2005
      lord@emf.net--2005
          /home/lord/mirrored-archives/lord@emf.net--2005
      lord@emf.net--my-hacks-2005
          /home/lord/archives/lord@emf.net--my-hacks2005

Heads Up 1!

If you intend your archive to be visible via HTTP, you must provide the --listing (-l) option to the make-archive command.

Heads Up 2!

This section has not taught you about "archive signing" -- a technique for cryptographically verifying the contents of archives.

An archive created by the command illustrated above is not protected by Arch's signing features. A later section will discuss the variation (the --signed option) which creates a protected archive.

Commands Discussed

     % tla make-archive -H
     % tla archives -H

  

See Also

2.2 Pick a Default Archive Location

(prev chapter) (next)

Copyright

Copyright (C) 2005 Tom Lord (lord@emf.net)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

(prev chapter) (next)