summaryrefslogtreecommitdiff
path: root/misc-scripts/make-sourceball
AgeCommit message (Collapse)Author
2010-03-13sourceballs: Make cleanup more efficientEric Bélanger
Moved all cleanup related code in sourceballs-cleanup script and moved, now common, functions in db-functions. The cleanup script is now ran after all the new sourceballs have been fetched. Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
2009-10-26Added source-cleanup directory supportEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26Moved chk_license to db-functions fileEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26Moved ALLOWED_LICENSES declaration to config fileEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23make-sourceball: Re-add file parsing of name/verAaron Griffin
getpkgname / getpkgver were replaced with versions that scanned the .PKGINFO file. These don't work for source packages, so add the functionality back in for this case Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23make-sourceballs: clean up outputAaron Griffin
Only output "Creating sourceball" text when we're actually creating it Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-23Fixed split packages support in sourceballs scriptEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-21Modify sourceball remove_old functionAaron Griffin
The revampled getpkgname/getpkgver functions need the full path to the file now, not just the filename Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-09-13Be more careful with config file inclusionDan McGee
We can't really do the basedir magic from db-functions as it is just being sourced and is not the currently executing script. Although a bit repetitive, it is a lot safer to just include the config file everywhere. Noticed this when trying to run the latest available scripts on sigurd. Signed-off-by: Dan McGee <dan@archlinux.org>
2009-08-25Quiet sourceball output when license is skippedAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-18Use db-functions file everywhereAaron Griffin
This source the config file and gets us functions such as getpkgname which were duplicated elsewhere Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-18More makepkg.conf removal - prefer toplevel configAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-18Variable rename fix: SVN_PATH -> SVNREPOEric Bélanger
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-26make-sourceball: license skip is NOT a failureAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-23Remove old sourceballs before doing anythingAaron Griffin
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-21make-sourceball: Fix license error outputAaron Griffin
Remove the goofy -e and add the pkgname Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-18make-sourceballs: one logfile per pkgnameAaron Griffin
This aids with cleanup, and we really didn't need multiple files anyway :) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-16make-sourceball: copy the proper pkg pathEric Bélanger
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-15make-sourceball: Add -f to gzip and rmAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-14Add repo/arch to make-sourceball log pathAaron Griffin
Original-work-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-14make-sourceball: move popd call before returnAaron Griffin
This ensures the 'cp' succeeds Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-14Fix arg number check in make-sourceballAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-13Call makepkg with --ignorearch during --allsourceAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-13Add -f flag to make-sourceballAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-13Correct the sourceball removal stepAaron Griffin
Only remove sourceballs that do NOT exist in any repo This code is experimental Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-13Rename local 'arch' variable to '_arch'Aaron Griffin
We source the PKGBUILD, which causes issues here Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-11Fail on license mismatch, instead of succeedingAaron Griffin
This is done mainly so we can get a log of all failures and ignore normal output Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-11Emit makepkg --allsource to a logfileAaron Griffin
One log file per package, in /var/log/sourceballs for easier lookup and reference. Log file is removed if the command succeeds, and gzipped on failure Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-04More sourceball output cleanupAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-04Clean up output, remove 'trunk build'Aaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-12Add license checking to make-sourceballAaron Griffin
Confirm that the license of a package requires source distribution before building the source tarball TODO: Make sure we can skip this check somehow Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-09Use new BASEDIR facility in make-sourceballAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-29Misc make-sourceball fixes and updatesAaron Griffin
* --allsource places packages in dirs with the pkgname * Syntax errors with if statement and globbing * Set and restore umask Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-29Fix sourceball generation to work with conf fileAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Adjust remaining scripts for new repo locationsDan McGee
Edited-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Correctly remove old sourceballs without removing the wrong filesAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Move source generation to /home/ftp/sourcesAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Remove unused code from make-sourceballAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29make-sourceball fixesAaron Griffin
* Add a top-level directory to the tarball * Use makepkg -gc and compress the dir - simpler * Other stuff, I'm sure Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-27Minor changes to the make-sourceball scriptAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22Add a script to generate source tarballs for GPL complianceAaron Griffin
This may need to be moved out of here later /me shrugs Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>