metagit 0.1.2
Hi,
I wanted to announce my project metagit[1], which I started a few weeks ago. It is a python program, which allows you to manage many scm repositories at once, e.g. pull all repositories, that are matched by a given regex. Before you can use it you have to define a set of repositories. This can either be accomplished by defining them one by one, or you can use a repo lister.
One good example of a repo lister is the SSHDir lister. It performs a find on a remote server within a given directory and adds all the repositories there to your repo set. There is also a lister to get all your github repos (or gitorious).
But metagit isn't narrowed to git as scm. At this point it also gives you the possibility to use mercurial as scm backend and you can clone your damned fucked SVN repo with git-svn (with the externals, if you wish).
The configuration is just a python script, where you can use the power of python to define your repositories, and no package is used that isn't shipped with python (at minimum python 2.5 (it workes perfectly with debian stable)).
You can also define policies which of your defined repos (or listers) show up on a machine (this is done by a regex against the fqdn).
If you have any wish what metagit should also be able to do, write me a mail, write a issue at github or fork it :-)
greetz didi
[1] http://github.com/stettberger/metagit
Signature · 3 lines
(λ x . x x) (λ x . x x) -- See how beatiful the lambda is No documentation is better than bad documentation -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
Christian Dietrich:
Quoted 3 lines
Hi,
I wanted to announce my project metagit[1], which I started a few weeks ago.
Would you mind comparing your project with
http://kitenet.net/~joey/code/mr/ ?
Best regards,
Thomas Koch, http://www.koch.ro
Quoted 2 lines · Thomas Koch
Would you mind comparing your project with
http://kitenet.net/~joey/code/mr/ ?
I didn't know mr, when i started hacking metagit (which was based on an Idea mit mschilli in the German Linux Magazin). My focus was always, that i can run the same config on all of my machines, because I tend to have all my documents in single git repos (e.g. every course at university is a git repo).
To make this happen, i needed to define some modules that list me all my repositories on the server where my university stuff is. But i didn't want to see my uni stuff at work, so i needed policies where the repos should come up. As i see these features aren't implemented directly in mr.
For my work, where svn with svn:externals is used, I implemented the svn:externals support, where all the externals are cloned recursivly. (You can even define if a given command is executed on the externals or not). This is also a feature mr doesn't have.
And there is the simple, but useful metagit cd, which echos a cd command to a repository path. So with the bash function
mm () {
$(metagit cd $@)
}I can simply jump to the metagit repo with `mm meta', where ever it was put.
On the other hand metagit doesn't implement recording of actions if you're offline. And of course the most important point that metagit is worse than mr is, as already mentioned, that it is written in python and not in perl.
greetz didi
Signature · 3 lines
(λ x . x x) (λ x . x x) -- See how beatiful the lambda is No documentation is better than bad documentation -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.
Quoted 2 lines · Christian Dietrich
If you have any wish what metagit should also be able to do, write me a mail, write a issue at github or fork it :-)
Not require python?
-Miles
Signature · 3 lines
Americans are broad-minded people. They'll accept the fact that a person can be an alcoholic, a dope fiend, a wife beater, and even a newspaperman, but if a man doesn't drive, there is something wrong with him. -- Art Buchwald
Quoted 6 lines · Christian Dietrich
I wanted to announce my project metagit[1], which I started a few weeks ago. It is a python program, which allows you to manage many scm repositories at once, e.g. pull all repositories, that are matched by a given regex. Before you can use it you have to define a set of repositories. This can either be accomplished by defining them one by one, or you can use a repo lister.
[...]
Quoted 1 line
Could you add short description about this project in appriopriate place on https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools
page?
Thanks in advance.
Signature · 3 lines
Jakub Narebski Poland ShadeHawk on #git
Quoted 3 lines · Jakub Narebski
Could you add short description about this project in appriopriate place on https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools
page?
Added it. I hope it is in the right place now.
greetz didi
Signature · 3 lines
(λ x . x x) (λ x . x x) -- See how beatiful the lambda is No documentation is better than bad documentation -- Das Ausdrucken dieser Mail wird urheberrechtlich verfolgt.