summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-06db-update: Replace || with -o in if statementsFrançois Charette
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06db-update: remove 'touch' of empty db fileAaron Griffin
repo-add handles this on its own Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06config: Add 'any' ARCH to arrayAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06db-update: Add if check before 'any' removalFrançois Charette
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06db-update: Use proper variable for WORKDIRFrançois Charette
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-03-20ftpdir-cleanup: remove arch-independent packagesAbhishek Dasgupta
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 Dasgupta
Also: changed empty variable '$ftpdir' in db-remove to '$ftppath/$architecture'
2009-03-11Moved arch-independent processing out of the loop.Abhishek Dasgupta
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 Dasgupta
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-03-11Add convert-to-any scriptAbhishek Dasgupta
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 Griffin
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 Griffin
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 Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-23Ensure grep matches only full pkgnamesAaron 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-21integrity-check: fix a few errorsXavier Chantry
I think it will work better now :) Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-21Remove the repo-maint crontabAaron Griffin
Our cron currently doesn't handle stand-alone crontabs too well, and we're managing all these in root's crontab anyway. Meh... deleted 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-21Add a script to simplify the integ check callAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-20Remove unstable scriptsAaron Griffin
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-16sourceballs: copy previous errors.txt output fileAaron Griffin
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-13Keep the last failed.txt too for comparisonAaron 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-13Fix pkgname parsing for files without ARCHAaron Griffin
Split the srcpkg parsing into two separate steps, one to swap the extensions, and another to remove the architecture Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-13Allow skipping of sourceball license checkAaron Griffin
Also add a whitelist of files to skip (empty right now) 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-11Output stderr to an error file for each runAaron Griffin
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-09Write out failed packages to a txt fileAaron Griffin
Located at /srv/ftp/sources/failed.txt 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-04Remove 'skipping' output. Not neededAaron 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-02-01check_packages: fix stupid assumption on script location.Xavier Chantry
The parse_pkgbuilds.sh script was assumed to be in the current working directory, which is quite stupid since check_packages.py can be called from anywhere. Now it only assumes that check_packages.py and parse_pkgbuilds.sh are in the same directory. This should fix the empty integrity checks on arch-dev :) Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
2009-01-14Merge branch 'master' of file:///srv/projects/git/dbscriptsAaron Griffin
Conflicts: db-update Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-14Remove HH:MM from devlist-mailer subject linesAaron Griffin
This was extraneous info. Not needed as higher granularity can be gleaned from the mail's date 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>
2009-01-09Add support for altername BASEDIRs in db-functionsAaron Griffin
This is needed because we do lots of things via relative paths, and scripts in the misc-scripts dir may need some of these functions too Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-09check_packages : add --arch option.Xavier Chantry
The parsing script didn't set CARCH previously, and the flashplugin PKGBUILD exited in this case. First override the exit function to prevent the whole script to exit, and add a --arch option to be able to set CARCH correctly. To be used like this : For core and extra : ./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=core,extra --arch=i686 ./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=core,extra --arch=x86_64 For community : ./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=community --arch=i686 ./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=community --arch=x86_64 Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-29Remove an if check for old staging 'add' dirsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-29Allow devlist-mailer to send to alternate addressesAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>