FS#21098 - [makepkg] Backup VCS source code with --allsource

Attached to Project: Pacman
Opened by christopher rogers (godane) - Wednesday, 06 October 2010, 02:38 GMT
Last edited by Allan McRae (Allan) - Friday, 10 August 2012, 04:55 GMT
Task Type Feature Request
Category makepkg
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version 3.4.1
Due in Version 4.1.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

The idea is you should be able to back up all packages source code. Problem is --allsource doesn't do that with VCS sources. This would allow all source code to backed up.

Also i would like a repack option of the all source code. This would have to recompress all .tar.bz2/.tar.gz/.zip files into .tar.xz. Maybe added a repack_md5sum to end of PKGBUILD. The idea is to be able recompress all source to fit better on a dvd that could be sold or save bandwidth if we back source up on server.

There is WIP patch i added for you guys to fix VCS. I have not got the source tars i made into .src.tar.gz files yet. You should also make makepkg look for these new sources.

Steps to Reproduce:
try to do this to subversion/cvs/git/hg package:
makepkg --allsource
It will not backup source code.
   patch (2.7 KiB)
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 10 August 2012, 04:55 GMT
Reason for closing:  Implemented
Additional comments about closing:  https://projects.archlinux.org/pacman.gi t/commit/?id=024bc44a
Comment by Dan McGee (toofishes) - Friday, 01 April 2011, 14:57 GMT
Not all of these variables are standard in makepkg right now, so this is 100% blocked until  FS#19476  goes in.
Comment by Eric Belanger (Snowman) - Friday, 24 June 2011, 09:53 GMT
All the variables starting by an underscore all already in the devel_check function of makepkg. So I guess they're standard as far as I can see. This patch could be used to fix  FS#19476  as well by moving out the 'bsdtar -cjf'.

Loading...