FS#33575 - CVS packages, version update behavior
Attached to Project:
Pacman
Opened by Maxime Gauduin (Alucryd) - Saturday, 26 January 2013, 15:25 GMT
Last edited by Allan McRae (Allan) - Monday, 28 January 2013, 13:43 GMT
Opened by Maxime Gauduin (Alucryd) - Saturday, 26 January 2013, 15:25 GMT
Last edited by Allan McRae (Allan) - Monday, 28 January 2013, 13:43 GMT
|
Details
I have set up a git repo containing all my PKGBUILDs and
install files, to keep them up to date on all the computers
I use. I have made a little script which will replicate the
whole git tree, and create symlinks to all PKGBUILDs and
install files in this replica. This way, all building
operations will not taint my git folder, while editing the
symlinked files will reproduce the changes on the actual
files.
However, on CVS packages, makepkg will check for a new version and overwrite the PKGBUILD in the folder where it is run, effectively replacing my symlink with a hard copy, then the changes are no longer reproduced in the git folder. Would it be possible to have makepkg only edit the file without replacing it, or replacing the file the symlink points to? |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 28 January 2013, 13:43 GMT
Reason for closing: Fixed
Additional comments about closing: symlink handling added in commit 8624eddb
Monday, 28 January 2013, 13:43 GMT
Reason for closing: Fixed
Additional comments about closing: symlink handling added in commit 8624eddb
Comment by
Maxime Gauduin (Alucryd) -
Saturday, 26 January 2013, 18:02 GMT
Comment by Allan McRae (Allan) -
Saturday, 26 January 2013, 22:53 GMT
Comment by
Maxime Gauduin (Alucryd) - Sunday,
27 January 2013, 01:17 GMT
Comment by Allan McRae (Allan) -
Sunday, 27 January 2013, 01:23 GMT
Comment by
Maxime Gauduin (Alucryd) - Sunday,
27 January 2013, 09:25 GMT
I've made a patch for it. I'm putting it here while I'm trying to
figure out why git send-email does not want to work.
You have separated the "-i" flag from its arguement on both bsd
and darwin. Also... --follow-symlinks is not available on bsd and
darwin.
Oh, well I'll remove them from the bsd and darwin targets. About
the linux target, I succesfully used the patched build, it seems
-i can be put before or after --follow-symlinks. Still, I'll
modify it tmorrow to be more accurate. I've finally managed to
send this patch using git-email, I'll have to send it again.
Yes - "-i" does not take an argument on Linux.
Thx for all the info, I have sent an updated patch to the mailing
list. I'm learning new things everyday using arch but still have
so many to learn!