Re: in -current is svn still canonical?

From: Warner Losh <imp_at_bsdimp.com>
Date: Wed, 18 Nov 2020 11:02:27 -0700
On Wed, Nov 18, 2020 at 1:47 AM Matthias Apitz <guru_at_unixarea.de> wrote:

> El día martes, noviembre 17, 2020 a las 11:05:13a. m. -0700, Warner Losh
> escribió:
>
> > > Warner, please forgive me my nearly off-topic question: When we move to
> > > git, will this conserve all the FreeBSD svn history of ci's somehow?
> Can
> > > you please point me to a document about FreeBSD's transition from svn
> to
> > > git?
> > >
> >
> > Yes. The history is preserved. As an aside, we've been exporting a git
> tree
> > for a while now, but it has so many issues in it that we decided to redo
> > the export to fix them. They weren't apparent in day-to-day grabbing of
> the
> > sources. However, when you went to do vendor-branch stuff or anything at
> > all complicated, the issues were so bad that we decided to fix them.
> >
> > For docs, I'd start here:
> > https://github.com/bsdimp/freebsd-git-docs/blob/main/mini-primer.md
> but in
> > general https://github.com/bsdimp/freebsd-git-docs/blob/main/ has
> > interesting docs that I'm working on. These are rough drafts for handbook
> > chapters. Since docs is migrating from DocBook to AsciiDoc, I did them in
> > markdown.
>
> Warner, thanks for the pointers to your docs in Git. The 2nd one does
> not work, but I can glance through the docs below
> https://github.com/bsdimp/freebsd-git-docs


Yea, that's the right one to look at... sorry for the wrong link.


> Is there also a document about how the export and setup of git was done
> for FreeBSD? I'm asking with the background that the organization I'm
> working for also is thinking in moving from svn to git. At the moment
> we're studying the pros and conts for such a step.
>

So you can get the code that FreeBSD used at
https://github.com/freebsd/git_conv/ which goes through things. This code
does a number of things that your organization likely wouldn't need to do.
It uses the latest different versions of the svn->git conversion tools.
Each has their pros and cons and part of the issue with this process was
evaluating which ones to use for the conversion. Not least because the
conversions can take quite a while with some of the less efficient tools....

We don't have a paper or write-up on the nuts and bolts of this conversion,
though.

Warner

> Please let me know if there's bits that are missing that would be helpful
> > to add, or drop a pull request if you think you can improve the wording
> of
> > sections...
>
> I will do so. Thanks
>
>         matthias
>
> > _______________________________________________
> > freebsd-current_at_freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "
> freebsd-current-unsubscribe_at_freebsd.org"
>
> --
> Matthias Apitz, ✉ guru_at_unixarea.de, http://www.unixarea.de/
> +49-176-38902045
> Public GnuPG key: http://www.unixarea.de/key.pub
> Без книги нет знания, без знания нет коммунизма (Влaдимир Ильич Ленин)
> Without books no knowledge - without knowledge no communism (Vladimir
> Ilyich Lenin)
> Sin libros no hay saber - sin saber no hay comunismo. (Vladimir Ilich
> Lenin)
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Wed Nov 18 2020 - 17:02:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:25 UTC