Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New repository list layout #328

Closed
klaussilveira opened this issue Jun 1, 2013 · 6 comments
Closed

New repository list layout #328

klaussilveira opened this issue Jun 1, 2013 · 6 comments
Labels

Comments

@klaussilveira
Copy link
Owner

The current repository list layout needs a facelift in order to support:

@spacez320
Copy link

Can we clarify what is meant by 'cloneurl'? Since there isn't any authentication mechanism set-up for this (none that I realize, anyway), are you referencing http clones? I'm thinking about working on such a feature and setting up a new issue if it isn't a part of this.

@klaussilveira
Copy link
Owner Author

You can create a cloneurl file inside your .git directory, allowing the repository viewer (Gitweb, GitList, etc.) to show the clone URL to the user. Whatever you put there, is displayed.

@hsteininger
Copy link

Hi, im not sure, what do you mean with:

create a cloneurl file inside your .git directory

inside my working tree? or inside the Bare Repository.
Anyway, i tried both and none worked.
maybe i did something wrong?

@Grinnz
Copy link

Grinnz commented Jul 24, 2014

I would suggest an option where a repository (bare or .git folder) can be specified directly, instead of doing a full scan of a directory for repositories. Also allow the ability to give the repository a custom name in the configuration. For example we have several repositories named "projectx" (in different parts of the filesystem) and wish to include them directly, with different names. Here is an example configuration for the viewgit repository:

$conf['projects'] = array(
    'projectx' => array('repo' => '/usr/projects/projectx', 'description' => 'Project X'),
    'projectx-someone' => array('repo' => '/home/someone/projects/projectx/.git', 'description' => 'Someone\'s Project X instance')
);

You can see there is currently no way to include these repositories together in gitlist, even with a top level directory as they would both be listed as projects/projectx.

@camlafit
Copy link

Hi

cloneurl file is not displaye anywhere on project page. I follow http://git-scm.com/docs/gitweb documentation to respect cloneurl format, nothing
I use official stable tarball archive.

Any idea ?

Thanks

@andymnc
Copy link

andymnc commented Nov 9, 2015

Hi,
was this ever solved? We really need the feature about showing clone link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants