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.
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?
2010/10/4 Marius Mårnes Mathiesen <marius.mathie...@gmail.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?
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!
On Wed, Oct 6, 2010 at 3:17 PM, Alexandre Quessy <alexan...@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_na me) end
All functions in ~/.irbrc are available in the console (and other IRB sessions)