#1657 VCS links are hard to find
Closed: Fixed None Opened 14 years ago by kiilerix.

= phenomenon =

From a page like https://fedorahosted.org/abrt/browser it is not simple to find a URL usable for git clone.

I found a link on https://fedorahosted.org/web/ , but that is far away.

= recommendation =

I could image that it would be possible to automatically add VCS-links to the template for all "browser" pages.


Could you please explain why fh.org/web is "far away"?
Also, do you mean to adding something like this http://git.fedoraproject.org/git/?p=abrt.git;a=summary to that "browser" page.

By "far away" I mean that there is no obvious way a user can figure out to get from
https://fedorahosted.org/abrt/browser to https://fedorahosted.org/web/ .

Yes, kind of what you propose. Perhaps just that Anon URL (such as http://git.fedorahosted.org/git/abrt.git) and Auth URL (such as ssh://git.fedorahosted.org/git/abrt.git) could be shown on https://fedorahosted.org/abrt/browser .

Nobody sitting at https://fedorahosted.org/abrt/browser is looking for https://fedorahosted.org/web/ , but unfortunately we currently have to because that is (AFAICS) the only place the git urls can be found.

The right solution is to show for example http://git.fedorahosted.org/git/abrt.git and ssh://git.fedorahosted.org/git/abrt.git on https://fedorahosted.org/abrt/browser .

The thing to consider is that not everyone is using git as their versioning tool, so whatever is done has to work with the other projects.

Although, looking at the trac page closely, the information could be simply added to the project's wiki page. That's a more likely location to find the 'git clone' info than fedorahosted.org/web/.

I'm looking at this as an example: https://fedorahosted.org/2to3c/wiki

Yes, (fortunately) not all projects use git, so it is really the content of the relevant line from https://fedorahosted.org/web/ that is interesting.

Yes, projects could put it on the wiki. However:
1. The information is more relevant at https://fedorahosted.org/abrt/browser
2. It seems slightly fragile that the different parts of a projects fedorahosting has to be connected on the wiki.

So, there's only three solutions I can come up with:

a) As mentioned put the info on the front wiki page (most projects do this).

b) We can use a navadd plugin now to give you a 'gitweb' button in the same row as the Wiki / Browser, etc.
That can be done on a per project basis.

Would you like us to do that for the abrt project?

c) You can go to admin, repositories and add a new repo with the name of the gitweb url. Then this shows up in the browser with a link to gitweb. See:
https://fedorahosted.org/fedora-infrastructure/browser
for what this looks like.

I'm unable to see any better solutions at this time. You could file a RFE I suppose with trac asking for a way to attach that information in the browser?

I'm going to go ahead and close this now... please re-open or file a new ticket if there's further action here.

Login to comment on this ticket.

Metadata