FS#28697 - [abs] improvement of abs PKGBUILD-svn.proto

Attached to Project: Arch Linux
Opened by Daniel YC Lin (dlin) - Tuesday, 28 February 2012, 10:10 GMT
Last edited by Dave Reisner (falconindy) - Friday, 07 September 2012, 16:54 GMT
Task Type General Gripe
Category Packages: Extra
Status Closed
Assigned To Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

To reduce build size, the proto should use 'export' instead of 'rm + cp"

Additional info:
* package version(s)

abs 2.4.3-2

* config and/or log files etc.


Steps to reproduce:
Original PKGBUILD-svn.proto is
rm -rf "$srcdir/$_svnmod-build"
cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
To use following line can reduce the $_svnmod-build disk usage
svn export --force $_svnmod $_svnmod-build
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 07 September 2012, 16:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  extra/abs-2.4.4
Comment by Daniel YC Lin (dlin) - Thursday, 01 March 2012, 00:45 GMT
Could you help to watch this task together?
https://bugs.archlinux.org/task/28481
Comment by Daniel YC Lin (dlin) - Monday, 05 March 2012, 05:48 GMT
Please add 'display changelog' function on git/hg/svn .. command

for hg

package() {
...
msg2 "changelog(last 10)"
(cd $srcdir/$_hgrepo ; \
hg log -l 10 --template '{node|short} {date|shortdate} {desc|firstline}\n')
}


for git

msg2 "changelog(last 2)"
(cd $srcdir/$_gitname.git ; git log -2 --decorate=no | cat)
Comment by Dave Reisner (falconindy) - Friday, 07 September 2012, 16:54 GMT
I won't drop the removal of the old build directory, but the export makes sense.

Loading...