summaryrefslogtreecommitdiffstats
path: root/db-move
AgeCommit message (Collapse)AuthorFilesLines
2009-07-22remove support for different svn reposPierre Schmitz1-6/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-21db-move: reduce usage of loopsPierre Schmitz1-15/+10
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-21Add support for split packages to db-movePierre Schmitz1-24/+36
All split packages are treated as unit and can only be moved together. For split packages the pkgbase value has to be used to find the corresponding entry in the svn repository. Note: different architecures (e.g. any) is not supported by makepkg. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-21any support: use relative symlinksAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-14fix syntax errorPierre Schmitz1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-03-20'any' architecture support for db-move, db-removeAbhishek Dasgupta1-20/+34
Also: changed empty variable '$ftpdir' in db-remove to '$ftppath/$architecture'
2009-03-11Add per-repo SVN configsAaron Griffin1-1/+6
This could be useful if we move community to a separate SVN repo Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-12Quiet down repo-add just a bitAaron Griffin1-2/+2
This assumes the -q flag patch is accepted for pacman 8) 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-11-23Remove 'copy_helper' as chmodding is failAaron Griffin1-3/+3
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-22Fix a variable overwrite when sourcing PKGBUILDsAaron Griffin1-12/+12
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-21Clear traps on cleanupAaron Griffin1-0/+1
This prevents us from trying to remove the lockfile twice, and calling cleanup multiple times Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Move everything to /srv to support new server confAaron Griffin1-1/+1
Additionally, make TMPDIR configurable so we can move that Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-12Move as much as we can out to a config fileAaron Griffin1-6/+3
This should allow us to move FTP and SVN placement around Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-09Remove an erroneous '1' signal trap for cleanup() funcAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-21Add copy_helper function to ensure correct permissionsAaron Griffin1-3/+3
This will force all files copied back and forth to have 0664 permissions so that we can attempt to do away with this permission adjusting cron job Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-14Move temporary directories to /home/tmpAaron Griffin1-1/+1
This is to allow moves to /home/ftp/ to remain on the same filesystem, thus making the final moves atomic Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-08-31Create a "common functions" file for DB scriptsAaron Griffin1-17/+9
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-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 Griffin1-0/+120
Used to easilly move a package from one repo to another Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>