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

Adding a repository to explicit main/ group causes display issues in the repository list. #439

Closed
gitblit opened this issue Aug 12, 2015 · 4 comments

Comments

@gitblit
Copy link
Owner

@gitblit gitblit commented Aug 12, 2015

Originally reported on Google Code with ID 143

What steps will reproduce the problem?
1. Create a repository without grouping. ("firstrepo").
2. Create another repository explicitly using main as group. ("main/secondrepo")

What is the expected output? What do you see instead?

Not sure what the expected output. The real output is that I see
'main' listed twice in my repository list and the second repo
has vanished from the user interface:

main
   firstrepo
other groups
main
   firstrepo

The git folder on the server shows up as:

/firstrepo
/main/secondrepo

And the repository is still accessible through sitename.com/summary/main%2Fsecondrepo.git

What version of the product are you using? On what operating system?

gitblit 1.1.0 express on ubuntu 12.04 with java 1.7 .

Please provide any additional information below.

The workaround is to delete or move the repository and the 
web interface goes back to normal.

Reported by criminy on 2012-10-05 16:04:18

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

I'll add in a special case for working around that.  main is the default synonym for
the root.  You can control that name with web.repositoryRootGroupName.

Reported by James.Moger on 2012-10-05 16:14:36

  • Status changed: Accepted
  • Labels added: Milestone-1.2.0

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Great. Just seems like a leaky abstraction if you have to know what web.repositoryRootGroupName
is in order
to create a repo inside the it.

Impressed as always =)

Reported by criminy on 2012-10-05 16:22:16

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

Fixed on master.  While you could build from master right now, I would advise against
it as some things are in flux.  :)

Reported by James.Moger on 2012-10-05 22:02:21

  • Status changed: Queued

@gitblit
Copy link
Owner Author

@gitblit gitblit commented Aug 12, 2015

v1.2.0 has been deployed.

Reported by James.Moger on 2013-01-01 01:06:25

  • Status changed: Fixed

@gitblit gitblit closed this as completed Aug 12, 2015
@flaix flaix added this to the 1.2.0 milestone Dec 13, 2016
@flaix flaix added this to the 1.2.0 milestone Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants