summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-05-21Copied 'ftpmaint' from root as adjust-permissionsAaron Griffin
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 Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Remove arch from the testing2 scripts, add *64 versionAaron Griffin
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 Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-21Add db-move related scriptsAaron Griffin
Used to easilly move a package from one repo to another Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-20Added a simple sendmail-ish script to send to the MLAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-15More cron job cleanup and fixesAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-14Cron cleanup, and only copy DB files onceAaron Griffin
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 Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-14Add new db-remove scriptAaron Griffin
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 Griffin
Left in a comment while debugging Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-14Remove a check for fakerootAaron Griffin
We don't use fakeroot anymore in these scripts Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Cleanup some debugging outputAaron Griffin
Leftovers - accidental commit Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Moving some files around, organizationalAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Properly clean up stating dirs after a successAaron Griffin
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 Griffin
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 Griffin
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 Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Whoops, 'cd' is a built in - who knew?Aaron Griffin
I sure didn't Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-06Fix file deletion on package removalAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-06Remove genpkglists from the dbscriptsAaron Griffin
This is silly and broken anyway. We can do this with a cron script later Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-06More absolute pathingAaron Griffin
Also, added a pretty comment. It's so pretty! Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-06Remove usage of the 64bit dirs from the staging pathAaron Griffin
Packages can be differentiated now by $CARCH in the filename. No need for this extra dir. Also, using absolute paths for binaries Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-06Remove testing pathsAaron Griffin
These snuck in in a previous commit Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-05Make the params slightly more clearAaron Griffin
Real super minor Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-05Switch the params to be inline with archreleaseAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-02Massive rewrite to make this script uberAaron Griffin
Yeah too much to write out. I basically rewrote it from scratch to use repo-add and all that fun stuff.
2008-04-15Remove SQL database related tasks from these scriptsAaron Griffin
Updating a SQL database should NOT be a task of these scripts. They should deal ONLY with the act of maintaining a pacman repo Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-15Switch to proper script usageAaron Griffin
Switch to a callable script in place of an include file Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Small fix for ftpdir-cleanupThomas Bächler
2008-04-08Correct lockfile usageAaron Griffin
We want a lock per repo not per user. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Use local user dirs for checkoutsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Remove 'svndir' usageAaron Griffin
This was a holdover from the CVS scripts used to import and existing checkout Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Added a MakefileSimo Leone
Also fixed mysql include in pkgdb2-del. Rigged some makefile defines for mysql info instead of hardcoding into the source. Signed-off-by: Simo Leone <simo@archlinux.org> Aaron: Added -I for mysql includes Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Delete binaries from repoSimo Leone
I don't even want to know. Signed-off-by: Simo Leone <simo@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Properly point to the 64bit staging dirsAaron Griffin
I mistyped it. Whoops, silly me Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Fix "unknown" category handlingAaron Griffin
More minor fixes for my previous SVN commits Now with less password Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Make genpkglist work againAaron Griffin
I somehow delete the dupe checking. This also works based on svn repo tag, and doesn't give stupid errors if packages.txt is missing Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Make SVN output quietAaron Griffin
Way too much output, and it's useless... Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Recompile for new passwordsAaron Griffin
Why are the binaries in source control? No clue Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-07Giant SVN changesAaron Griffin
Some other fun stuff snuck in there, like indentation changes, but this should get us mostly working under SVN, and at least allow us to build DB files at the very least Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-02-16Commited cleanup script to db-inc/genpkglistThomas Bächler
2008-02-03Adding cleanup scripts so they don't get lost:Thomas Bächler
cleanup.sh: Iterates through the db file and lists dupes and missing files. cleanup2.sh: Iterates through the ftp directory and finds files that don't correspond to any package in the db. They currently only list files, but don't delete anything.
2007-11-29Get GIT repo in line with the current dbscriptsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-29Remove db-arch scripts, add db-core scriptsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-29Remove CVS Id linesDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-09-16new db-testing scriptsThomas Bächler
2007-09-14hopefully fixed filelists in mysqlThomas Bächler
2007-09-14fixed genpkglistThomas Bächler
2007-09-14adjusted scripts for pacman 3 naming scheme, should still work with the old oneThomas Bächler