[RFC] Repository layout change / Zmiana układu repo
Jan Rekorajski
baggins at sith.mimuw.edu.pl
Mon May 14 16:48:53 CEST 2007
On Mon, 14 May 2007, Mariusz Mazur wrote:
> Small easy steps is what I propose. Actually setting up a dual solution
> (current structure + a 'packages' modules) should be quite trivial in CVS.
> It's just a matter of running a script to generate the 'packages' module
> server side with lots of links (whether soft or hard) and adding appropriate
That's what I did, just the other way, files copied to packages/* and
symlinked to SPECS/ and SOURCES/. Easy to make the script do it the
other way.
> triggers for cvs rm/add operations (to generate/remove those links when
> appropriate and bail out on conflicts).
That will not work? How will you tell which package file X added to SOURCES
belongs to? Some kind of lazy linking on spec commit?
> It's a few hours worth of work tops. Don't know about locking, but that should
> also be doable.
The conversion takes approximately 7 hours on P4 2.8GHz and idle system.
> This way we'll be able to actually more or less test this, before making major
> changes (like completely switching to svn, which btw probably wouldn't allow
> something like this server side) and it'll be flexible. And who knows, maybe
> after a couple of months we'll see people actually switching to this solution
> on their own, thereby freeing us from having to support the old structure.
>
> And even if not, we can always look for some scm with better merging and
> branching, that would also allow this (which svn most likely does not). But
> not sooner then in a few months.
That was my intent behind this RFC.
Do a non invasive change now, switch to more ordered repo and then look
for the best scm for it.
> Any takers? Baggins?
Converter is ready, what is missing is a script to handle cvs rm/add
operation, I can do a parser/symlinker but someone more experienced in
CVS internals will have to glue it into CVS. BTW. such a script will
require rpm-build package on the server.
Janek
--
Jan Rekorajski | ALL SUSPECTS ARE GUILTY. PERIOD!
baggins<at>mimuw.edu.pl | OTHERWISE THEY WOULDN'T BE SUSPECTS, WOULD THEY?
BOFH, MANIAC | -- TROOPS by Kevin Rubio
More information about the pld-devel-en
mailing list