Changing repo Private to Public does not change it's visibility

77 views
Skip to first unread message

JLee

unread,
Jan 2, 2013, 11:37:17 AM1/2/13
to rhod...@googlegroups.com
Hi,

For every repo, there's a setting that allows you to set it private or public. If I create a repository initially as "private" then try switching it to "public" later, it's visibility still remains hidden to non-registered users. This problem is occurring on two different environments that I have Rhodecode installed. 

Settings information:
  • Git 1.8.1
  • Rhodecode 1.5.1
  • Centos 6


JLee

unread,
Jan 2, 2013, 11:38:43 AM1/2/13
to rhod...@googlegroups.com
Just to note, the checkbox itself changes to the valid setting, it's the repo itself that does not become public.
Message has been deleted

JLee

unread,
Jan 2, 2013, 2:46:18 PM1/2/13
to rhod...@googlegroups.com
The reason why I want to change it to public, is so I can clone it (using clone url) from another server that's running rhodecode. Here's the error log when I try to clone:

2013-01-02 14:39:35.821 ERROR [rhodecode.model.validators] Url validation failed
Traceback (most recent call last):
  File "/opt/rhodecode-venv/lib/python2.6/site-packages/RhodeCode-1.5.1-py2.6.egg/rhodecode/model/validators.py", line 445, in validate_python
    url_handler(repo_type, url, make_ui('db', clear_session=False))
  File "/opt/rhodecode-venv/lib/python2.6/site-packages/RhodeCode-1.5.1-py2.6.egg/rhodecode/model/validators.py", line 424, in url_handler
    GitRepository._check_url(url)
  File "/opt/rhodecode-venv/lib/python2.6/site-packages/RhodeCode-1.5.1-py2.6.egg/rhodecode/lib/vcs/backends/git/repository.py", line 185, in _check_url
    raise urllib2.URLError("[%s] %s" % (url, e))
URLError: <urlopen error [http://jlee@SERVERTOCLONE:5000/REPONAME] HTTP Error 401: digest auth failed>

marcin

unread,
Jan 2, 2013, 3:14:48 PM1/2/13
to rhod...@googlegroups.com
Hi,

Please note that if you make private repo non-private the default permission is reset to None, switch it to at least READ.

Cheers

JLee

unread,
Jan 2, 2013, 3:41:15 PM1/2/13
to rhod...@googlegroups.com
That did the trick, thanks!

Matthew Black

unread,
Jan 9, 2013, 12:13:05 PM1/9/13
to rhod...@googlegroups.com
I am having a similar issue. The repository group just went missing from the front page. It still shows up on the admin side and I can manually browse it. When I delete the most recent repository group created the missing repo group, which is not the same as the newest repo, appears back on the front page. Its almost like its limiting the front page to 7 repo groups and only listing the first 7 ordered by name. I am also using 1.5.1


On Wednesday, January 2, 2013 3:14:48 PM UTC-5, marcin wrote:

marcin

unread,
Jan 9, 2013, 4:46:45 PM1/9/13
to rhod...@googlegroups.com
Hi, I just checked the code, and there's a "issue" with paginator missing for groups. Please see following patch that fixes that. I think i'll release new version within 2-3days also that fixes this.
patch.diff
Reply all
Reply to author
Forward
0 new messages