User-centric groups of repositories?

18 views
Skip to first unread message

Alexandre Quessy

unread,
Oct 3, 2010, 9:05:19 AM10/3/10
to Gitorious
Hello everyone from Gitorious,

I am a free software enthusiast, but I had chose to use Github for my
Git repositories. Why is that? Because I have many small project
rather than one big. I want the freedom to create as many small
repositories I want, and name them whatever their name should be. If
it's a fork of some other project, I might name it the same name, or
differently. Sometimes it might be nice to use project-centric groups
of repositories, like in Gitorious, but sometimes, it might be more
useful to group them by the name of the user who has created them.

Is there any chance that Gitorious allows one to create many
repositories and group them under his user name, rather than by
project?

If this happens, I would happily switch to Gitorious.

Best regards,
Alexandre Quessy
http://alexandre.quessy.net
http://bitbucket.org/aalex
http://github.com/aalex

Marius Mårnes Mathiesen

unread,
Oct 4, 2010, 1:52:27 AM10/4/10
to gito...@googlegroups.com
On Sun, Oct 3, 2010 at 3:05 PM, Alexandre Quessy <que...@gmail.com> wrote:
Is there any chance that Gitorious allows one to create many
repositories and group them under his user name, rather than by
project?


Alexandre,
You're not the first to request this feature, and it would probably be a very nice feature. 

However, if this is what's stopping you from using Gitorious, why not simply create a project with your name and add the repositories to that project? 

Cheers,
- Marius

Alexandre Quessy

unread,
Oct 6, 2010, 9:17:59 AM10/6/10
to gito...@googlegroups.com
Hello Marius and everyone,

2010/10/4 Marius Mårnes Mathiesen <marius.m...@gmail.com>:

That's a very good idea. For some reason, I might have thought it was
not "clean" to do such thing, so I didn't even think about it. :)
I'll give it a try!

Thanks,
--
Alexandre Quessy
http://alexandre.quessy.net/

Marius Mårnes Mathiesen

unread,
Oct 6, 2010, 10:19:43 AM10/6/10
to gito...@googlegroups.com
On Wed, Oct 6, 2010 at 3:17 PM, Alexandre Quessy <alex...@quessy.net> wrote:
That's a very good idea. For some reason, I might have thought it was
not "clean" to do such thing, so I didn't even think about it. :)
I'll give it a try!

I actually keep a couple of convenience functions in the file ~/.irbrc on the server, like this:

def repository_by_url(url)
  parts = url.split("/")
  project_name = parts[-2]
  repository_name = parts[-1]
  Project.find_by_slug!(project_name).repositories.find_by_name(repository_name)
end

All functions in ~/.irbrc are available in the console (and other IRB sessions)

Very handy indeed...

- Marius
Reply all
Reply to author
Forward
0 new messages