[Pkg-postgresql-private] Thoughts about arch layout for new architecture

Martin Pitt mpitt@debian.org
Tue, 9 Nov 2004 12:30:24 +0100


--2B/JsCI69OhZNC5r
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Oliver!

Oliver Elphick [2004-11-09  0:52 +0000]:
> postgresql -
>    TODO
>    postgresql7.2 -
>        postgresql7.2-7.2.6 -
> *          debian -
>            postgresql-7.2.6.tar.bz2
>    postgresql7.3 -
>        postgresql7.3-7.3.8 -
> *          debian -
>            postgresql-7.3.8.tar.bz2
>    postgresql7.4 -
>        postgresql7.4-7.4.6 -
>            debian -
>            postgresql-7.4.6.tar.bz2
>    postgresql8.0 -
>        postgresql8.0-8.0.0beta4 -
>            debian -
>            postgresql-8.0.0beta4.tar.bz2
>    postgresql-common -
>        postgresql-common-1 -
>            debian -
>            [files]
>=20
> How do you recommend I proceed with putting this into arch.

Of course it is possible to put this whole tree into
postgresql--devel--1, but then we could not utilize the merging power
of arch. Each subdirectory (postgresqlX.Y) looks exactly like our
current structure, so I would create five projects instead, with the
names I proposed in my initial mail.

So I try to write down the steps (untested!):

0. Register archive and make it your default:

   tla register-archive sftp://LOGIN@arch.debian.org/arch/pkg-postgresql/pk=
g-postgresql-private@lists.alioth.debian.org--2004
   tla my-default-archive pkg-postgresql-private@lists.alioth.debian.org--2=
004

   (I just created this new repository, see my previous mail).

1. cd postgresql/postgresql8.0

2. tla init-tree postgresql--devel--8.0

3. tla add postgresql8.0-8.0.0beta4 postgresql8.0-8.0.0beta4/debian
   tla add postgresql8.0-8.0.0beta4/debian/*
   tla add postgresql8.0-8.0.0beta4/debian/patches/*
   tla add postgresql8.0-8.0.0beta4/debian/po/*

   (i. e. add everything but orig.tar.gz and tar.bz2 files; please
   make sure you do this within a totally clean tree).

4. Import it into the repository:

   tla import -S

   (-S means to call archive-setup automatically; it will create the
   new branches and versions).

5. Repeat for the other major versions, and for the common module. I
   propose postgresql-common--devel--1 as project name.

Happy committing! Please ask me if you have problems. Until we really
use these archives for development, it does not really hurt if
something goes wrong though :-)

If you have an urgent question, you can also find me in #ubuntu (on
irc.freenode.net, nick 'pitti').

Martin
--=20
Martin Pitt                       http://www.piware.de
Ubuntu Developer            http://www.ubuntulinux.org
Debian GNU/Linux Developer       http://www.debian.org

--2B/JsCI69OhZNC5r
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBkKpPDecnbV4Fd/IRAljiAJ4gxObYXQzNM1/4WarhZ2dU0VUp4ACfS1r1
qZ6QjMF6JEa7PkMzcTnj4QQ=
=q4Io
-----END PGP SIGNATURE-----

--2B/JsCI69OhZNC5r--