Commit Graph

23 Commits

Author SHA1 Message Date
Natanael Copa 7a447caf05 buildrepo: exit early if listing of packages for purging fails
Otherwise we might end up purging more packages than expected if an
APKBUILD has syntax errors
2013-10-21 13:48:23 +00:00
Natanael Copa 67e769e605 buildrepo: avoid using 'i' as loop variable
some apkbuilds use it in global context
2013-04-26 19:11:38 +00:00
Natanael Copa 3b4c88ff4b buildrepo: fix clean of old pkgs
- we need check arch for noarch
- we need list packages generated from $linguas
2013-04-23 08:01:53 +00:00
Natanael Copa 074f43536d buildrepo: faster purging of old packages 2013-03-09 11:08:17 +00:00
Natanael Copa 73918f526c buildrepo: only consider rebuilding packages that has proper arch set 2013-03-09 11:07:56 +00:00
Natanael Copa b1b093180f buildrepo: set REPODEST when running abuild
fixes regression
2013-02-22 09:35:19 +00:00
Natanael Copa d0e15dd5b6 buildrepo: parse APKBUILDs in subshell
so we dont leak functions like 'build' and other variables.
2013-02-22 09:03:13 +00:00
Natanael Copa 109a3c1ec8 buildrepo: use CARCH from abuild.conf 2013-02-22 08:34:57 +00:00
Natanael Copa f197c51d78 buildrepo: speed up by avoiding forks 2013-02-15 13:06:29 +00:00
Natanael Copa 2f68278fba buildrepo: add message that we are puring old packages 2013-02-07 16:06:38 +00:00
Natanael Copa bfc8e37323 buildrepo: don't break if there are -*.apk files in dir
apk takes files that starts with - as params.
2011-11-01 08:45:19 +00:00
Natanael Copa 1e3c5a742b buildrepo: fix previous commit 2011-04-17 12:55:51 +00:00
Natanael Copa 54ca2cb82a buildrepo: fix purging of old packages 2011-04-07 14:34:51 +00:00
Natanael Copa 5acc501d8b buildrepo: fixes for new $repo/$arch layout 2011-04-07 06:05:05 +00:00
Natanael Copa c5b9e2c6dc buildrepo: fix previous commit 2010-11-02 09:39:34 +00:00
Natanael Copa 5cde86ff29 buildrepo: do not error if there are no packages in repo 2010-11-02 09:03:20 +00:00
Natanael Copa 19b2598f8a Revert "abuild: minor cleanup"
This commit seems to kill the entire repository

This reverts commit 46aed95754.
2009-10-27 15:24:18 +00:00
Natanael Copa 46aed95754 abuild: minor cleanup 2009-10-23 16:53:13 +00:00
Natanael Copa 2cb07ae9b2 buildrepo: add repository description/version 2009-09-03 16:35:00 +00:00
Natanael Copa bb980f8495 buildrepo: set permissions on APKINDEX.tar.gz - clean up old tmp.*
This solves issues for rsync jobs for mirrors.
2009-07-28 08:44:32 +00:00
Natanael Copa d7d7e55e91 buildrepo: use new apk index and sign repo 2009-07-24 17:11:56 +00:00
Natanael Copa 896c436e14 buildrepo: check if all files exist before try copy anything
seems like copy removes destination if source does not exist so
we ended up with a buildrepo that removed all packages
2009-06-04 12:22:48 +00:00
Natanael Copa 3d79fb7036 use .in files for scripts 2009-05-08 13:33:34 +00:00