FS#34636 - bug with svn config handling
Attached to Project:
Pacman
Opened by James (Raziel23) - Saturday, 06 April 2013, 08:28 GMT
Last edited by Allan McRae (Allan) - Tuesday, 16 April 2013, 02:02 GMT
Opened by James (Raziel23) - Saturday, 06 April 2013, 08:28 GMT
Last edited by Allan McRae (Allan) - Tuesday, 16 April 2013, 02:02 GMT
|
Details
Description:
There is a bug with svn handling within pacman which clone a svn repository with command: svn checkout --config-dir "$dir" "$url" "$dir" --config-dir shouldn't point out to a directory where will be cloned a repository, because it breaks projects repositories which contain in main directory a file or a directory named "config" (for me it simply change a svn project repository where "config" directory wasn't visible in the main directory structure and thus I cannot properly build a package). --config-dir option refer to a client-side configuration (user configuration files) and it isn't repository configuration files. In the PKGBUILD-svn.proto file in the abs package --config-dir option point out to './' directory. |
This task depends upon
Closed by Allan McRae (Allan)
Tuesday, 16 April 2013, 02:02 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 7e0f5282
Tuesday, 16 April 2013, 02:02 GMT
Reason for closing: Fixed
Additional comments about closing: git commit 7e0f5282
be in pacman project section) thus I will send a new bug report in appropriate place or please change to it
(project: pacman, category: makepkg). It was my fault that I send this bug into inappropriate place on bug
tracker (it is my first bug report and I misunderstand bug tracker interface).
for everyone (I don't think there is a svn repository which contain a _hidden_ directory named ".makepkg").
But there is a downside of the included patch and I don't think that it is intended. --config-dir option didn't create
the "$dir/.makepkg" directory and I presume that svn read configuration files from the default directory "~/.subversion"
because there wasn't any errors or warnings. On the other hand when I created this directory (with command:
mkdir -p "$dir/.makepkg") before checkout, then svn properly created there configuration files.
https://mailman.archlinux.org/pipermail/pacman-dev/2013-April/017000.html