summaryrefslogtreecommitdiffstats
path: root/db-functions
AgeCommit message (Collapse)AuthorFilesLines
2009-02-13Correct the sourceball removal stepAaron Griffin1-0/+11
Only remove sourceballs that do NOT exist in any repo This code is experimental Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-10Add support for altername BASEDIRs in db-functionsAaron Griffin1-1/+4
This is needed because we do lots of things via relative paths, and scripts in the misc-scripts dir may need some of these functions too Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-23Ensure we keep track of our initial umaskAaron Griffin1-1/+1
If we call set_umask more than once, make sure we don't overwrite our initial umask, so we can restore it right Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-23Set the umask to allow g+wAaron Griffin1-0/+2
This should hopefully cover all our permission bases with regard to new files Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-23Remove 'copy_helper' as chmodding is failAaron Griffin1-9/+0
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-22Add umask setting/restoring helper functionsAaron Griffin1-0/+10
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Fix patching for chmod callAaron Griffin1-1/+3
dirname was failing if the target was a dir Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Move everything to /srv to support new server confAaron Griffin1-2/+2
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-0/+5
This should allow us to move FTP and SVN placement around Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-21Add copy_helper function to ensure correct permissionsAaron Griffin1-0/+7
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-10-21Remove some goofy debugging messages from db-functionsAaron Griffin1-2/+0
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-14Validate a package file's architectureAaron Griffin1-0/+17
Apparently, people seem to be renaming files as a "hack" and breaking things. Let's make sure they edited the PKGINFO too Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Correctly remove old sourceballs without removing the wrong filesAaron Griffin1-0/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Forgot the db-functions file. WhoopsAaron Griffin1-0/+48
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>