Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 368633

Summary: Permission problems in gentoo-syntax's svn repository
Product: Gentoo Infrastructure Reporter: Jonas Bernoulli <jonas>
Component: GitAssignee: Gentoo Infrastructure <infra-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: overlays
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jonas Bernoulli 2011-05-24 21:05:59 UTC
There are permission problems in gentoo-syntax's svn repository:

$ git svn clone svn://anonsvn.gentoo.org/emacs/gentoo-syntax
Initialized empty Git repository in /tmp/gentoo-syntax/.git/
W: Permission denied: Can't open file '/var/svnroot/emacs/db/revs/1657': Permission denied at /usr/libexec/git-core/git-svn line 1785

W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: File not found: revision 100, path '/gentoo-syntax'
W: Do not be alarmed at the above message git-svn is just searching aggressively for old history.
This may take a while on large repositories
Checked Ahrough ChangeLog
        A       ebuild-mode-keywords.el
        A       eselect-mode-keywords.el
        A       Makefile
        A       gentoo-syntax.el
r1030 = 7de307889a7f955697c82e98f2a53e4b6b10ee91 (refs/remotes/git-svn)
...

Despite the suggestion the error can not be ignored. Import skips the first 1029 commits because of it. It also makes it impossible to git-svn-fetch in an existing git repository.

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-05-25 15:37:24 UTC
The original assignment was correct. I assume that the overlays team has no hope of fixing this issue. With that said, I'm not sure how to fix it either.
Comment 2 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-05-25 15:52:16 UTC
i fixed the permission issue, but i think that it starts from commit 1030 because that dir didn't exist before that commit. I'll check history and report back
Comment 3 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-05-25 16:09:21 UTC
Indeed, there was no emacs/gentoo-syntax before commit 1030, it was emacs/emacs-extras/gentoo-syntax. git svn clone on topdir doesn't show any errors/warnings. Thanks for the report