summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-08-31Add sourceball generating cron scriptAaron Griffin2-0/+82
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Create a "common functions" file for DB scriptsAaron Griffin4-60/+26
Common functions, such as sourcing makepkg, and locking a repo Additionally, repo-locking has been unified to prevent multiple users from corrupting a repo (i.e. db-move run while db-remove in progress) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Prevent staging cleanup if copy to repo failsAaron Griffin1-1/+3
This stops files being removed from the staging area if they were not successfully copied to the repo. This can happen due to permission issues with the database when multiple people update the repo in quick succession. Original-work-by: Allan McRae <allan@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Fix an error message copy/paste errorAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Replace check_archlinux.py by check_archlinux/check_packages.pyXavier Chantry6-704/+528
The old script had several problems so I decided to do a full rewrite. The improvements include : * better and safer parsing of PKGBUILDs It now uses separate parse_pkgbuilds.sh bash script (inspired from namcap) * much better performance A python module for calling vercmp natively, and the algorithm for checking circular dependencies was greatly improved * more accurate dependency and provision handling Now versioned dependencies and provisions are handled correctly. After building the python module and moving it next to the main script, it should be possible to use it like this : For core and extra : ./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=core,extra ./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=core,extra For community : ./check_packages.py --abs-tree=/home/abs/rsync/i686 --repos=community ./check_packages.py --abs-tree=/home/abs/rsync/x86_64 --repos=community Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-30Remove community from the integrity check, for nowAaron Griffin1-1/+2
To much output sent to the dev list, this needs to be sent to the aur-general list separately Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-20Corrections to the devlist-mailer scriptAaron Griffin1-2/+9
* Add configurable subject * Add To: and From: headers Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-20Remove some 'self' usage from check_archlinux.pyAaron Griffin1-2/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-20Patch check_archlinux.py to work on our current ABS tree.Travis Willard1-51/+30
Patch this on devtools - to run against /home/abs, we'd use: ./check_archlinux.py --abs-tree=/home/abs/rsync/i686 --arch=i686 ./check_archlinux.py --abs-tree=/home/abs/rsync/x86_64 --arch=x86_64 Signed-off-by: Travis Willard <travis@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-20Make blank lines conditionalAaron Griffin1-2/+4
Mainly for output cleanup Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-20Make sure ftpdir-cleanup actually does work before outputtingAaron Griffin1-0/+6
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-19Merge branch 'master' of /srv/projects/git/dbscriptsAaron Griffin1-54/+40
2008-06-19Correct the devlist mailer script to send real emailsAaron Griffin1-6/+7
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Remove unused code from make-sourceballAaron Griffin1-6/+0
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29make-sourceball fixesAaron Griffin1-51/+43
* 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-29Add a real cron script to cycle over all reposAaron Griffin1-0/+35
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Move ftpdir-cleanup to misc-scriptsAaron Griffin1-0/+0
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-29Fix EXTRAFILES in ftpdir-cleanupThomas Bächler1-4/+6
Signed-off-by: Thomas Bächler <thomas@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-27Add the check_archlinux.py repo checkerScott Horowitz1-0/+724
This is to be used for integrity checked, generated perhaps once a day Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-27Merge branch 'master' of /srv/projects/git/dbscriptsAaron Griffin2-0/+59
2008-05-27Minor changes to the make-sourceball scriptAaron Griffin1-5/+14
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-24Link the new testing2x script to the 64 version tooAaron Griffin1-0/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-24Commit testing2x scriptThomas Bächler1-0/+58
Signed-off-by: Thomas Bächler <thomas@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22Add a script to generate source tarballs for GPL complianceAaron Griffin1-0/+107
This may need to be moved out of here later /me shrugs Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22crontab file for repo-based cron jobsAaron Griffin1-0/+12
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22Git tells me this file was modifedAaron Griffin1-2/+2
I don't know what changed, but I am committing to check! Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22Use 'mv' to shuffle files out of the *64 dirsAaron Griffin1-1/+2
This way, all package files get cleaned up properly at the end of the process. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-22Fix db-remove usage textAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Adjust permissions of the adjust-permissions scriptAaron Griffin1-0/+0
HAH! Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Switch EXTRAFILES test to be more accurateAaron Griffin1-14/+19
New test suggested by Thomas via cleanup2.sh script Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Copied 'ftpmaint' from root as adjust-permissionsAaron Griffin1-0/+24
This script makes sure we all have write access to the repos Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Switch to output filelists in official reposAaron Griffin1-1/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Remove arch from the testing2 scripts, add *64 versionAaron Griffin4-10/+28
Thanks Pierre for the suggestion. This is much more in line with the existing DB scripts Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Make sure to cleanup WORKDIR on exitAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Add db-move related scriptsAaron Griffin3-0/+146
Used to easilly move a package from one repo to another Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Added a simple sendmail-ish script to send to the MLAaron Griffin1-0/+16
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-15More cron job cleanup and fixesAaron Griffin3-77/+159
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-15Cron cleanup, and only copy DB files onceAaron Griffin3-88/+125
This would break all adds if there were any deletes. We definitely don't want that. Also, cleanup of cron scripts in the same commit because I'm lazy Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-14Make the staging warning stand out moreAaron Griffin1-0/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-14Add new db-remove scriptAaron Griffin1-0/+97
This script deletes by package NAME only. Additionally, it also removes from svn. The goal is to simplify the process of removing packages. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-14Make sure to clean up working temp dirsAaron Griffin1-1/+1
Left in a comment while debugging Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-14Remove a check for fakerootAaron Griffin1-5/+0
We don't use fakeroot anymore in these scripts Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Cleanup some debugging outputAaron Griffin1-3/+0
Leftovers - accidental commit Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Moving some files around, organizationalAaron Griffin4-268/+0
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Properly clean up stating dirs after a successAaron Griffin1-1/+5
Remove all package file we added or removed Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Fail loudly if ftp dir is missingAaron Griffin1-1/+7
This allows us to intuitively handle on-the-fly repos by calling `db-update foobar i686` for the foobar-i686 tag, and let us fail on the server side if the repo hasn't been approved/created by someone with admin rights. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Make sure we're actually adding/removing filesAaron Griffin1-19/+30
We accidentally were calling repo-add/repo-remove with invalid (empty) params. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Make sure we copy old staging dir entries properlyAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Whoops, 'cd' is a built in - who knew?Aaron Griffin1-4/+4
I sure didn't Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Fix file deletion on package removalAaron Griffin1-5/+7
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>