Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

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
Task Type Bug Report
Category makepkg
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Medium
Priority Normal
Reported Version 4.1.0
Due in Version 4.1.1
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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
Comment by James (Raziel23) - Saturday, 06 April 2013, 10:13 GMT
Please close this bug report because I send it to inappropriate project section on bug tracker (it should
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).
Comment by Allan McRae (Allan) - Saturday, 06 April 2013, 10:36 GMT
We can move bugs between sections...
Comment by Allan McRae (Allan) - Thursday, 11 April 2013, 05:51 GMT Comment by James (Raziel23) - Thursday, 11 April 2013, 13:55 GMT
The patch works and now I can properly build the package. The ".makepkg" directory name should be enough unique
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.
Comment by Allan McRae (Allan) - Thursday, 11 April 2013, 23:46 GMT
Thanks - I was sure I tested that... Updated patch:
https://mailman.archlinux.org/pipermail/pacman-dev/2013-April/017000.html

Loading...