gnuarch.org

View: New views
7 Messages — Rating Filter:   Alert me  

gnuarch.org

by John Evans-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings,
  My company has migrated all other development teams from CVS to
Arch, and it's time for my team to do the migration as well. The person in
charge of the other migrations is gone, and there is no one else in the
company that knows much beyond the basics of update/commit. It's fallen to
me to do the migration to my team.
  I've attempted to connecto to www.gnuarch.org and wiki.gnuarch.org
over the past week with no success. My Googling for answers on migration
methods has also failed. Does anyone have any migration documentation for
going from CVS to Arch on a server other than gnuarch.org?
  I did manage to find
http://www.gnu.org/software/gnu-arch/tutorial-old/arch.html but this URL
has not been updated since 2003, and I'm afraid that it may be out of
date.

Thanks.

--
John Evans
Administrator of kilnar.com


_______________________________________________
Gnu-arch-users mailing list
Gnu-arch-users@...
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Re: gnuarch.org

by Ludovic Courtès :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

John Evans <admin@...> writes:

> I've attempted to connecto to www.gnuarch.org and
> wiki.gnuarch.org over the past week with no success. My Googling for
> answers on migration methods has also failed. Does anyone have any
> migration documentation for going from CVS to Arch on a server other
> than gnuarch.org?

First, what do you mean by "migration"?  Converting your old CVS
repositories to Arch archives, or just switching to Arch for your new
projects?  The former wouldn't be straightforward AFAIK (and perhaps
wouldn't make much sense) while the latter is hopefully not too hard
given the tutorial.

> I did manage to find
> http://www.gnu.org/software/gnu-arch/tutorial-old/arch.html but this
> URL has not been updated since 2003, and I'm afraid that it may be out
> of date.

A slightly revised version of the tutorial is visible at:

  http://www.gnu.org/software/gnu-arch/tutorial/index.html

It does not contain any "GNU Arch for CVS users" section, but I've found
it a good place to start learning about Arch.

Hope this helps,
Ludovic.


_______________________________________________
Gnu-arch-users mailing list
Gnu-arch-users@...
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Parent Message unknown Re: gnuarch.org

by Mark Flacy-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2007.01.10 10:42, John Evans wrote:

> On Wed, 10 Jan 2007, Ludovic Courtès wrote:
>
> > First, what do you mean by "migration"?  Converting your old CVS
> > repositories to Arch archives, or just switching to Arch for your new
> > projects?  The former wouldn't be straightforward AFAIK (and perhaps
> > wouldn't make much sense) while the latter is hopefully not too hard
> > given the tutorial.
>
> I am taking what we currently have in CVS, and I'm moving it to Arch. If
> we had nothing at the moment, then I would just setup Arch and move
> forward. As it stands now, I need to "copy" everything that I have in CVS
> to Arch.

http://www.gnuarch.org/gnuarchwiki/Interoperating_with_CVS

I just looked at that web page, so you really should be able to get to it.  I've never personally used the conversion software mentioned in the link, so I cannot offer any advice about its use.

>
>
> >> I did manage to find
> >> http://www.gnu.org/software/gnu-arch/tutorial-old/arch.html but this
> >> URL has not been updated since 2003, and I'm afraid that it may be out
> >> of date.
> >
> > A slightly revised version of the tutorial is visible at:
> >  http://www.gnu.org/software/gnu-arch/tutorial/index.html
>
> Thank you for the link! That should help me get started on the road to
> using Arch! Your help is greatly appreciated.
>
> --
> John Evans
> Administrator of kilnar.com

> _______________________________________________
> Gnu-arch-users mailing list
> Gnu-arch-users@...
> http://lists.gnu.org/mailman/listinfo/gnu-arch-users
>
> GNU arch home page:
> http://savannah.gnu.org/projects/gnu-arch/




_______________________________________________
Gnu-arch-users mailing list
Gnu-arch-users@...
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Re: gnuarch.org

by Ludovic Courtès :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Mark Flacy <mflacy1@...> writes:

> http://www.gnuarch.org/gnuarchwiki/Interoperating_with_CVS
>
> I just looked at that web page, so you really should be able to get to it.  I've never personally used the conversion software mentioned in the link, so I cannot offer any advice about its use.

The purpose of `tla-cvs-sync' is to track a CVS/SVN repository in an
Arch branch.  From my understanding, that's not what John is trying to
achieve.

Thanks,
Ludovic.


_______________________________________________
Gnu-arch-users mailing list
Gnu-arch-users@...
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Parent Message unknown Re: gnuarch.org

by Ludovic Courtès :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

John Evans <admin@...> writes:

> I am taking what we currently have in CVS, and I'm moving it to
> Arch. If we had nothing at the moment, then I would just setup Arch
> and move forward. As it stands now, I need to "copy" everything that I
> have in CVS to Arch.

So I believe there are basically two options:

  1. Create an Arch branch and import the CVS history from your
     repository so that your Arch branch contains all the history of
     your project.

  2. Create an Arch branch and just initialize it with the last revision
     available in your CVS repository.  IOW, the `base-0' revision of
     your new Arch branch would contain the files yielded by a CVS
     checkout of the latest version of your data controlled by CVS.

Option (1) requires a tool like `cscvs' and I suspect that this is not
trivial to achieve (I've never tried it, though).  Also, it's maybe not
very useful since you could as well access the history of your project
using CVS anyway.

With option (2), your Arch branch would not contain anything of the
project's history but it'd be much easier to set up.

Thanks,
Ludovic.


_______________________________________________
Gnu-arch-users mailing list
Gnu-arch-users@...
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Re: gnuarch.org

by Tim Gokcen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think what you want to do is "tla import" the earliest CVS revision
into a new TLA archive (have a look at the GNU Arch tutorials for a
guide on how to do this), and then run something like:

for tagname in <list of CVS tags, in order>
do
        cvs update -r $tagname
        until `tla tree-lint -t > /dev/null`
        do
                for newfile in `tla tree-lint -t`
                do
                        tla add $newfile
                done
        done
        tla commit -s "CVS tag $tagname" \
                -L "CVS synch with tag $tagname"
done

With such a script, your new Arch repository would not have the complete
history of *every* file, but it would have one revision for every one of
your tagged releases. Assuming there's nothing *too* weird going on with
your source tree, of course...

John Evans wrote:
>     My company has migrated all other development teams from CVS to
> Arch, and it's time for my team to do the migration as well. The person
> in charge of the other migrations is gone, and there is no one else in
> the company that knows much beyond the basics of update/commit. It's
> fallen to me to do the migration to my team.
>     I've attempted to connecto to www.gnuarch.org and wiki.gnuarch.org
> over the past week with no success. My Googling for answers on migration
> methods has also failed. Does anyone have any migration documentation
> for going from CVS to Arch on a server other than gnuarch.org?

--
Tim Gokcen
tim.gokcen@...
Mpathix Inc.


_______________________________________________
Gnu-arch-users mailing list
Gnu-arch-users@...
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Re: gnuarch.org

by Miles Bader-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ludovic.courtes@... (Ludovic Courtès) writes:
> Option (1) requires a tool like `cscvs' and I suspect that this is not
> trivial to achieve (I've never tried it, though).  Also, it's maybe not
> very useful since you could as well access the history of your project
> using CVS anyway.

Something like cscvs tries to detect "logical changesets" in the CVS
repository, and commit each one to arch as a separate arch revision; if
it works, it is a nice thing, but because it depends on heuristics (CVS
simply doesn't keep enough information to do it properly) it won't work
well unless your CVS repository follows certain conventions.

In particular, I think cscvs uses comparison of log entries and dates so
that commits done with "cvs commit -mMSG lots of files..." will be
detectable as a single "changeset" (because they all have an identical
log msg and a very close commit date).  Projects where everybody commits
each file separately with different log messages (like emacs :-( ) are
pretty much hopeless.

In cases where cscvs _doesn't_ work well, I'm not sure the resulting
arch repository (which would end up with something like each change to
each file having its own arch revision) would be very usable...  Maybe
it's better and simpler to just check in each real release /
daily-snapshot / whatever as an arch revision, and call that close
enough (if you don't do daily snapshots, you could just iterate though the
CVS repository and check out a snapshot at 4am of every date...).

-Miles

--
Love is a snowmobile racing across the tundra.  Suddenly it flips over,
pinning you underneath.  At night the ice weasels come.  --Nietzsche


_______________________________________________
Gnu-arch-users mailing list
Gnu-arch-users@...
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/