[Pkg-scicomp-devel] Remove or move old packages in SVN?

Daniel Leidert daniel.leidert.spam at gmx.net
Mon May 12 21:42:17 UTC 2008


Am Montag, den 12.05.2008, 17:57 +0200 schrieb Christophe Prud'homme:
> On Sun, May 11, 2008 at 3:06 AM, Daniel Leidert <daniel.leidert.spam at gmx.net> wrote:

[..]
> >  I'm just helping in this packaging group, but maybe you agree to my
> >  thoughts. Please feel free to comment and/or object.
> that's a big help you provide and thank you for your suggestions.
> I believe that they are sound and should not take too much time to implement
> I think also that this is the "right" categorisation (at least for
> now) : I would not go, for example, in the direction
> of  categories/layout like pde, algebra, graph visualisation, ...

Well, you can do this additionally in another top-level directory
(without copying files around). With svn:external, you can declare a
pointer, a faked "directory" (like a symlink, that points to an online
resource). In reality, this is simply a SVN resource.

Consider, you create the following infrastructure:

categories/algebra
categories/graph
categories/pde

Now say package foobar in /packages/ would fit category algebra and
graph. So set:

svn propset svn:externals \
   "foobar svn+ssh://svn.debian.org/svn/pkg-scicomp/package/foobar" \
    categories/algebra

svn propset svn:externals \
   "foobar svn+ssh://svn.debian.org/svn/pkg-scicomp/package/foobar" \
    categories/pde

This will "create" the pointers

categories/algebra/foobar
categories/pde/foobar

If you check them out and take a look at .svn/entries you will see, that
the checkout path is still svn
+ssh://svn.debian.org/svn/pkg-scicomp/package/foobar, not something like
svn+ssh://.../categories/algebra/foobar.

Because these are just pointers, every update to the original location
of foobar will automatically appear in a checkout of categories. Ditto
for the opposite.

So this could be useful for people just interested in a special category
of software.

Regards, Daniel




More information about the Pkg-scicomp-devel mailing list