summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-02-16make-sourceball: copy the proper pkg pathEric Bélanger1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-16make-sourceball: Add -f to gzip and rmAaron Griffin1-2/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-15Add repo/arch to make-sourceball log pathAaron Griffin1-3/+4
Original-work-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-15make-sourceball: move popd call before returnAaron Griffin1-1/+2
This ensures the 'cp' succeeds Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-15Fix arg number check in make-sourceballAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-13Keep the last failed.txt too for comparisonAaron Griffin1-0/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-13Call makepkg with --ignorearch during --allsourceAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-13Add -f flag to make-sourceballAaron Griffin1-13/+25
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-13Fix pkgname parsing for files without ARCHAaron Griffin1-1/+2
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 Griffin2-1/+9
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 Griffin2-6/+43
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 Griffin1-4/+4
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 Griffin1-6/+6
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-11Fail on license mismatch, instead of succeedingAaron Griffin1-2/+1
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 Griffin1-1/+5
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 Griffin1-1/+3
Located at /srv/ftp/sources/failed.txt Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-04More sourceball output cleanupAaron Griffin1-13/+5
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-04Remove 'skipping' output. Not neededAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-04Clean up output, remove 'trunk build'Aaron Griffin1-21/+5
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-02-01check_packages: fix stupid assumption on script location.Xavier Chantry1-4/+2
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 Griffin9-44/+87
Conflicts: db-update Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-14Remove HH:MM from devlist-mailer subject linesAaron Griffin1-2/+2
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 Griffin1-0/+25
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-10Use new BASEDIR facility in make-sourceballAaron Griffin1-3/+4
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-10Add support for altername BASEDIRs in db-functionsAaron Griffin1-1/+4
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 Chantry2-10/+22
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 Griffin1-3/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-29Allow devlist-mailer to send to alternate addressesAaron Griffin1-2/+6
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-29Misc make-sourceball fixes and updatesAaron Griffin1-4/+5
* --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 Griffin1-6/+3
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-16Only remove packages that were successfully addedAaron Griffin1-2/+2
This prevents some errors where packages where removed from the staging dir when they shouldn't have been. Original-idea-by: Pierre Schmitz <pierre@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-12Quiet down repo-add just a bitAaron Griffin3-4/+4
This assumes the -q flag patch is accepted for pacman 8) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-12Add potential BUILDSCRIPT config settingAaron Griffin1-0/+2
This may get removed from makepkg.conf in the future, so let's make sure we cover our ass Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-02Cleanup missing db file logicAaron Griffin1-9/+4
Do not touch missing db files. Additionally, no need to call db-remove if the db file doesn't exist Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-02Do not touch db file if it doesn't existAaron Griffin1-2/+0
repo-add works fine if no db file exists Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-02Remove slashes from end of config pathsEric Bélanger1-2/+2
Clean up output so that we don't get double slashes FS#12241 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-23Only copy DB file from repo if we have pkgsAaron Griffin1-7/+8
We were copying our DB file from the repo to our temp build dir all the time. We should only do this if there are packages to add Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-23Remove some harmless error messagesAaron Griffin1-1/+3
If add/del dirs exist, we try to fix it all up and it can error quite loudly Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-23Ensure we keep track of our initial umaskAaron Griffin1-1/+1
If we call set_umask more than once, make sure we don't overwrite our initial umask, so we can restore it right Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-23Set the umask to allow g+wAaron Griffin1-0/+2
This should hopefully cover all our permission bases with regard to new files Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-23Remove 'copy_helper' as chmodding is failAaron Griffin4-17/+8
The chmod doesn't work unless the user is the owner of the file Resorting to umask changes here Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-22Add umask setting/restoring helper functionsAaron Griffin1-0/+10
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-22Fix a variable overwrite when sourcing PKGBUILDsAaron Griffin3-31/+31
The local variable 'arch' was being overwritten when we source PKGBUILDs. Change it to _arch wherever we deal with PKGBUILD files Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-22Make working directory in testing2xAllan McRae1-0/+1
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Remove /del dir usage from db-updateAaron Griffin1-50/+14
db-remove is superior and requiring package files is dumb. Kill off this dir and clean up some code, yay! Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Adjust remaining scripts for new repo locationsDan McGee2-3/+3
Edited-by: Aaron Griffin <aaronmgriffin@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Drop unstable from processing in scriptsDan McGee2-2/+2
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Fix misc-scripts/ftpdir-cleanup pathing for /srvJan de Groot1-5/+5
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Move cron-jobs to /srv from /homeAaron Griffin3-5/+5
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Remove unused cron-job 'genpkglist'Aaron Griffin1-28/+0
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>