git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Migrate from svn to git

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
May 26, 2010, 16:23 UTC
Message-ID
<AANLkTikD6Op5TO0EtQWLQ0N6zD0Kr-pltW76rY1Dvx5D@mail.gmail.com>
In-Reply-To
<4BFD3AAF.4080403@fechner.net>
On Wed, May 26, 2010 at 15:13, Matthias Fechner <idefix@fechner.net> wrote:
Show 18 quoted lines
> I hope that is the correct list to ask some questions.
> I understood that the idea behind git is completely different and I like the
> idea behind git.
>
> But for the svn repository I want to convert I need some features and I'm
> not sure how / if to implement them in git.
>
> Corrently the svn repo is divided into trunk branches and tags.
> In each of this directory like trunk i have directories like hardware,
> software, docu and more.
>
> For each of this subdirectories I have usergroups defined which has no
> access, read access or rw access.
>
> If I understood the manual correctly I can stick on that structure and
> easily work here with the unix-permission to grant access to the folders?
> I think I have to test then acl with freebsd to have more then one group for
> each directory.

No. Git isn't centralized. Anyone can clone the repo and change anything the want. You implement control by setting a policy on what you merge back into your tree, which is considered canonical.

There are several on-commit filtering programs available that can do that automatically based on paths within the repository.

Show 7 quoted lines
> The second question is, I someone commits some files with svn an email is
> sent to a svn-commit mailinglist so changes can easily be discussed.
> The current mail is sent in html format with a colored diff, so it is easier
> to read.
>
> Is something similar possible with git or do you suggest a complete
> approach?
There are a lot of these scripts available in contrib and elsewhere.
Previous: Matthias FechnerNext: Matthias Fechner
Message 2 of 9 in “Migrate from svn to git”
  1. Matthias FechnerMay 26, 2010
  2. Ævar Arnfjörð BjarmasonMay 26, 2010
  3. Matthias FechnerMay 27, 2010
  4. hasen jMay 26, 2010
  5. Nazri RamliyMay 26, 2010
  6. Matthias FechnerMay 27, 2010
  7. Michael WittenMay 31, 2010
  8. Matthias FechnerJun 1, 2010
  9. Michael WittenJun 1, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.