davideuler / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
0 stars 0 forks source link

Owners can not be modified when the owners in the config file do not exist #480

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I recently imported a lot of git repositories from another gitblit server. I 
figured the quickest way to do this would be to just rsync the repo's over to 
the new server. I realise I could have set up a federation etc, but due to 
connectivity issues, rsync was a lot easier.

However some repositories have owners which do not exist in the new gitblit 
installation. The admin user is not able to modify them, I can only fix it by 
editing the config file.

What steps will reproduce the problem?
1. Create a git(blit) repo on gitblit server 1, with owner "FOO"
2. Copy the git folder over to gitblit server 2 (rsync), not having a user 
named "FOO"

What is the expected output? What do you see instead?
I expect gitblit to either delete unknown users automatically from the list, or 
display them anyway for me to manually remote them in the repository page. I 
see an 2 empty lists, and i'm not able to change any owner, not even existing 
ones. See the attached screenshot.

What version of the product are you using? On what operating system?
Current latest gitblit master (3e0c6ca8a65bd4b076cac1451c9cdfde4be1d4b8), on 
Ubuntu 14.04 running Tomcat 7 and OpenJDK (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1) 
64 bit.

Please provide any additional information below.
I solved the issue by manually editing the config files in the repositories. I 
have "basic auth" enabled rather than form based auth.

Original issue reported on code.google.com by robindegen on 5 Aug 2014 at 4:15

Attachments:

GoogleCodeExporter commented 9 years ago
I should note that these repo's came from a gitblit 1.4 server. I could trace 
back the exact version if required.

Original comment by robindegen on 5 Aug 2014 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by James.Mo...@gmail.com on 12 Aug 2014 at 6:08

GoogleCodeExporter commented 9 years ago
I could not reproduce your exact symptoms: I had a list of potential owners to 
choose from. But I do confirm that your missing owner was not displayed.  I 
have pushed a fix to display & preserve your missing owner.

Original comment by James.Mo...@gmail.com on 4 Sep 2014 at 5:50

GoogleCodeExporter commented 9 years ago
Tested on v1.6.0-116-gfbe6dbd, the problem is now fixable through the 
webinterface, so i'd consider this one fixed. Thanks

Original comment by robindegen on 26 Sep 2014 at 9:24

GoogleCodeExporter commented 9 years ago
v1.6.1 released

Original comment by James.Mo...@gmail.com on 20 Oct 2014 at 9:36