summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-07-20ftpdir-cleanup: Corrections for 'any' packagesAaron Griffin1-2/+4
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-20Minor syntactic improvements in db-updateFrancois Charette2-4/+6
* also added error msg for repo_lock in db-functions [Aaron: keep quotes around $WORKDIR] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-20simple syntactic improvementsFrancois Charette1-5/+8
[Aaron: Don't remove quotes around $WORKDIR] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-20Fix final "cleanup" to avoid spurious error msgFrancois Charette1-1/+1
* When calling cleanup at the end of db-update, the function repo_unlock is called, but the repo-locks have already been unlocked! So we get a spurious error message. This commit replaces "cleanup" by "rm -rf $WORKDIR". Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-20Bugfix in db-functions for _grep_pkginfoFrancois Charette1-1/+1
* undefined argument $pattern changed to $2 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-17ftpdir-cleanup: Add configurable destdirAaron Griffin2-1/+6
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-17ftpdir-cleanup: Allow configurable destination dirAaron Griffin1-8/+9
3rd argument to the script Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-17sourceballs: skip nonexistant FTP pathsAaron Griffin1-0/+4
This is useful when running on separate machines that don't have all repos Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-17Add community and 'any' arch to sourceballsAaron Griffin1-2/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-17Add community and 'any' arch to ftp cleanupAaron Griffin1-3/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-17Fix adjust-permissions for gerolde and sigurdAaron Griffin1-12/+21
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-14Refactor PKGINFO reading into a functionAaron Griffin1-4/+13
This is just for readability and cleanup Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-14use pkgbase to get pkgbuild in db-updatePierre Schmitz1-12/+14
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-14remove redefined functionPierre Schmitz1-11/+0
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-14Read meta data from .PKGINFO instead of filenamePierre Schmitz1-15/+31
Prefer pkgbase over pkgname in getpkgbase() Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-14fix syntax errorPierre Schmitz1-2/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-14fix syntax errorPierre Schmitz1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-12fixes for ftpdir-cleanupFrançois Charette1-2/+2
* don't add files with arch=any to EXTRAFILES * replace && by -a within [ ] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-12fix redirection to stderr in get_svnpathFrancois Charette1-2/+2
[Aaron: Use >&2 instead of /dev/stderr, just in the offchance that /dev is missing for some reason] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-12compute compression option from file extensionPierre Schmitz2-2/+15
bsdtar does not detect the compression type from the file extension. So we need to set the right option on our own. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-13convert-to-any: Remove 'z' from bsdtarAaron Griffin1-2/+2
bsdtar can detect this on its own, which allows us to use differing PKGEXTs easily Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-13use pkgext defined in makepkg.confPierre Schmitz5-15/+20
Signed-off-by: Pierre Schmitz <pierre@archlinux.de> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-13convert-to-any: use fakeroot, put .PKGINFO at topAbhishek Dasgupta1-2/+2
Signed-off-by: Abhishek Dasgupta <abhidg@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-13convert-to-any: Change description in headerFrançois Charette1-3/+4
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-13convert-to-any: Cleanup and commit removalAbhishek Dasgupta1-57/+18
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-12fixed redirection of error msgs in get_svnpathFrancois Charette1-2/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-12fixed filename in creation of symlinksFrancois Charette1-2/+3
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-12create $WORKDIR before cding to itFrancois Charette1-0/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-12Check whether packages exist in build dirs before attempting to copy themFrancois Charette1-13/+17
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-08check_archlinux: Skip searching CVS and .svn dirsAaron Griffin1-0/+6
Prevents some errors in the community scripts due to scanning of CVS dirs. Also skipping .svn dirs for the future (dotglob may be set, in which case we'd scan .svn dirs as well) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06config: Revert 'any' addition to the ARCHES arrayAaron Griffin1-1/+1
This change was made in error, as db-update does its own parsing of 'any' files independently Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06db-update: Add some total counts to outputAaron Griffin1-2/+4
Original-work-by: François Charette <francois@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06check_packages.py: Add 'any' arch supportFrançois Charette1-2/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06adjust_permissions: Add 'any' architectureFrançois Charette1-0/+3
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06db-update: Replace || with -o in if statementsFrançois Charette1-2/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06db-update: remove 'touch' of empty db fileAaron Griffin1-2/+0
repo-add handles this on its own Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06config: Add 'any' ARCH to arrayAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06db-update: Add if check before 'any' removalFrançois Charette1-2/+3
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06db-update: Use proper variable for WORKDIRFrançois Charette1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-03-20ftpdir-cleanup: remove arch-independent packagesAbhishek Dasgupta1-1/+25
Removes architecture independent packages which are not symlinked in any of the architecture repositories.
2009-03-20'any' architecture support for db-move, db-removeAbhishek Dasgupta2-34/+56
Also: changed empty variable '$ftpdir' in db-remove to '$ftppath/$architecture'
2009-03-11Moved arch-independent processing out of the loop.Abhishek Dasgupta1-47/+62
Also fixes the bug in the previous commit, in which the arch-independent packages would be deleted from the staging directory after only one iteration.
2009-03-11db-update: Add support for 'any' archAbhishek Dasgupta1-2/+38
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-03-11Add convert-to-any scriptAbhishek Dasgupta1-0/+108
Converts an arch-specific package to the "any" arch [Aaron: converted cd to pushd/popd] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-03-11Add per-repo SVN configsAaron Griffin6-5/+33
This could be useful if we move community to a separate SVN repo Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-03-11Make db-update parse all architecutresAaron Griffin8-112/+110
ARCHES is defined in config. db-update should now loop over all arches on each run and update whatever is in the staging dir. Remove the db-*64 scripts due to this Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-26make-sourceball: license skip is NOT a failureAaron Griffin1-1/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-23Ensure grep matches only full pkgnamesAaron Griffin1-2/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-23Remove old sourceballs before doing anythingAaron Griffin1-1/+1
This prevents dangling sourceballs sitting around when things start to fail or licenses are changed. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-22integrity-check: fix a few errorsXavier Chantry1-5/+4
I think it will work better now :) Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>