summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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>
2008-05-07Remove genpkglists from the dbscriptsAaron Griffin1-9/+3
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-07More absolute pathingAaron Griffin1-2/+3
Also, added a pretty comment. It's so pretty! Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-07Remove usage of the 64bit dirs from the staging pathAaron Griffin1-13/+22
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-07Remove testing pathsAaron Griffin1-4/+2
These snuck in in a previous commit Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-06Make the params slightly more clearAaron Griffin1-2/+5
Real super minor Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-05Switch the params to be inline with archreleaseAaron Griffin9-10/+10
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-05-03Massive rewrite to make this script uberAaron Griffin1-104/+123
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 Griffin7-977/+1
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 Griffin9-40/+16
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ächler1-2/+2
2008-04-08Correct lockfile usageAaron Griffin1-6/+7
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 Griffin1-32/+31
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Remove 'svndir' usageAaron Griffin2-12/+7
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 Leone3-6/+26
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 Leone2-0/+0
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 Griffin1-1/+1
I mistyped it. Whoops, silly me Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Fix "unknown" category handlingAaron Griffin3-3/+3
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 Griffin2-13/+46
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 Griffin1-2/+2
Way too much output, and it's useless... Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Recompile for new passwordsAaron Griffin1-0/+0
Why are the binaries in source control? No clue Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08Giant SVN changesAaron Griffin12-560/+401
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ächler3-33/+6
2008-02-03Adding cleanup scripts so they don't get lost:Thomas Bächler2-0/+99
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 McGee2-2/+8
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-29Remove db-arch scripts, add db-core scriptsDan McGee4-34/+37
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-11-29Remove CVS Id linesDan McGee16-21/+0
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-09-16new db-testing scriptsThomas Bächler2-4/+63
2007-09-15hopefully fixed filelists in mysqlThomas Bächler3-8/+11
2007-09-15fixed genpkglistThomas Bächler1-2/+2
2007-09-14adjusted scripts for pacman 3 naming scheme, should still work with the old oneThomas Bächler4-20/+69
2006-07-06updated for new arch db schemaJudd Vinet2-13/+13
2006-07-06added new pkgdb2 programsJudd Vinet2-0/+413
2006-05-07suppress errors in first ls checkJudd Vinet1-2/+2
2006-05-05updates for multi-architecture supportJudd Vinet10-38/+118
2006-03-11l'il fixJudd Vinet1-2/+2
2006-02-22fixed dupe package listingsJudd Vinet1-6/+30
2006-02-20re-worked db-gen scripts -- new and improvedJudd Vinet9-103/+448
2005-07-01run gensync through fakeroot first, so all files are owned by root.rootJudd Vinet1-3/+12
2005-06-21fixed a little bug in db-inc - UID is already presentJudd Vinet1-2/+2
2005-06-21nixed all the redundant code in the db- scriptsJudd Vinet4-174/+80