summaryrefslogtreecommitdiff
path: root/db-functions
AgeCommit message (Collapse)Author
2009-01-09Add support for altername BASEDIRs in db-functionsAaron Griffin
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 Griffin
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-22Set the umask to allow g+wAaron Griffin
This should hopefully cover all our permission bases with regard to new files Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-22Remove 'copy_helper' as chmodding is failAaron Griffin
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-21Add umask setting/restoring helper functionsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Fix patching for chmod callAaron Griffin
dirname was failing if the target was a dir Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-20Move everything to /srv to support new server confAaron Griffin
Additionally, make TMPDIR configurable so we can move that Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-11Move as much as we can out to a config fileAaron Griffin
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 Griffin
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 Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-13Validate a package file's architectureAaron Griffin
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 Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-02Forgot the db-functions file. WhoopsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>