Age | Commit message (Collapse) | Author |
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Used to easilly move a package from one repo to another
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
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>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
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>
|
|
Left in a comment while debugging
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
We don't use fakeroot anymore in these scripts
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Leftovers - accidental commit
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Remove all package file we added or removed
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
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>
|
|
We accidentally were calling repo-add/repo-remove
with invalid (empty) params.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
I sure didn't
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This is silly and broken anyway. We can do this with a
cron script later
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Also, added a pretty comment. It's so pretty!
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
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>
|
|
These snuck in in a previous commit
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Real super minor
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Yeah too much to write out. I basically rewrote it from
scratch to use repo-add and all that fun stuff.
|
|
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>
|
|
Switch to a callable script in place of an include file
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
We want a lock per repo not per user.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
This was a holdover from the CVS scripts used to import
and existing checkout
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
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>
|
|
I don't even want to know.
Signed-off-by: Simo Leone <simo@archlinux.org>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
I mistyped it. Whoops, silly me
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
More minor fixes for my previous SVN commits
Now with less password
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
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>
|
|
Way too much output, and it's useless...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Why are the binaries in source control? No clue
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
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>
|
|
|
|
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.
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|