threads / announce / 25384

[ANNOUNCE] metagit 0.1.2

Subject: [ANNOUNCE] metagit 0.1.2

## tl;dr

6 messages between Oct 7, 2010 and Oct 11, 2010.

replies: 5people: 4as markdown or json

Christian Dietrich· Oct 7, 2010, 20:20 UTC · lore

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
-- 
(λ 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.
Miles Bader· Oct 8, 2010, 01:49 UTC · re: Christian Dietrich · lore

Re: [ANNOUNCE] metagit 0.1.2

Christian Dietrich <stettberger@dokucode.de> writes:
> 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
-- 
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
Thomas Koch· Oct 8, 2010, 10:07 UTC · re: Christian Dietrich · lore

Re: [ANNOUNCE] metagit 0.1.2

Christian Dietrich:
> 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
Christian Dietrich· Oct 8, 2010, 18:04 UTC · re: Thomas Koch · lore

Re: [ANNOUNCE] metagit 0.1.2

Thomas Koch <thomas@koch.ro> writes:
> 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
-- 
(λ 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.
Jakub Narebski· Oct 9, 2010, 08:48 UTC · re: Christian Dietrich · lore

Re: [ANNOUNCE] metagit 0.1.2

Christian Dietrich <stettberger@dokucode.de> writes:
Show 6 quoted lines
> 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. 
[...]
> [1] http://github.com/stettberger/metagit

Could you add short description about this project in appriopriate place on https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools page?

Thanks in advance.
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Christian Dietrich· Oct 11, 2010, 20:08 UTC · re: Jakub Narebski · lore

Re: [ANNOUNCE] metagit 0.1.2

Jakub Narebski <jnareb@gmail.com> writes:
> 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
-- 
(λ 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.

← back to recent threads