summaryrefslogtreecommitdiffstats
path: root/config
AgeCommit message (Collapse)AuthorFilesLines
2010-09-01Simplify repo configurationPierre Schmitz1-0/+8
* Repositories can now be defined in the config file for each host * added community-staging, gnome-unstable and kde-unstable * Exception is the adjust-permission cron-job; but we might want to use acls in future anyway Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-08-08Remove BUILDSCRIPT variablePierre Schmitz1-1/+0
There is no need to have a variable for things like PKGBUILD that are very unlikely to ever change.
2010-08-07determine correct dir even if config was sourcedPierre Schmitz1-1/+1
2010-08-07Override default config with config.localPierre Schmitz1-0/+3
This is useful for local testing
2010-06-28sourceballs: Added community and community-testing supportEric Bélanger1-0/+1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-06-20Replace PKGPOOL_DIR by a function callPierre Schmitz1-3/+0
The package pool dir depends on the host; so we solve this similar to get_repos_for_host() Note: There is no "os" subdir for the package pool.
2010-05-03Add PKGPOOL_DIR config variableAaron Griffin1-0/+3
This is a relative var, descendent from FTP_BASE. We do this because we also need a relative path to the package pool dir
2010-04-28Remove FTP_OS_SUFFIX variableAaron Griffin1-1/+0
This isn't needed and if "os" ever changes, we have bigger changes. Won't save us any time and it's longer to type.
2010-03-03Make repo locking an atomic process and added timeout argumentEric Bélanger1-0/+3
The repo locking function now use a lock directory instead of a lock file. This makes the lock checking and creation an atomic process. The repo_lock function will now try to obtain a lock every $LOCK_DELAY seconds until it is successful. An optional third argument can be use to give a timeout in seconds; this is intended for scripts that runs unattended. Repo locking is now used in the ftpdir-cleanup script. This should fix the problem of the ftpdir-cleanup script removing the new package instead of the old one (FS#17058). Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
2010-02-21Accept any *.pkg.tar.* package file namePierre Schmitz1-1/+1
With this patch packages with different compressions are accepted. It is ensured that one cannot have the same package with different compression extensions. The new functions getpkgfile{,s} are used to sanitize globed filenames. Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-02-21add dry run option to ftpdir-cleanupPierre Schmitz1-0/+1
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2009-10-26Added source-cleanup directory supportEric Bélanger1-0/+1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-10-26Moved ALLOWED_LICENSES declaration to config fileEric Bélanger1-0/+3
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-25Add SRCEXT to configAaron Griffin1-0/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-18Remove dependence on makepkg.confAaron Griffin1-0/+1
Removed the need for makepkg.conf * Killed off CARCH * Added PKGEXT to the config file * Remove source_makepkg function * Source config file where makepkg.conf was needed Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-18Uncomment BUILDSCRIPT in the config fileAaron Griffin1-2/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-08-18Replace DB_COMPRESSION with DBEXT in the configAaron Griffin1-0/+1
DBEXT contains the full extension for the db files (.db.tar.gz) and is recorded in the config file Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-22remove support for different svn reposPierre Schmitz1-4/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-21Refactor ftpdir-cleanup to handle all archesFrancois Charette1-0/+1
This may look like a rather large patch, but the changes are mostly a reshuffling of the code to loop over all arches first, and then handle the arch-indep packages. The cronjob has been changed accordingly. Added new category DELETESYMLINKS, which are deleted instead of being moved to package-cleanup. I have also fixed the arch-specific issue with the ftppath, using parameters in config instead. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-17ftpdir-cleanup: Add configurable destdirAaron Griffin1-0/+2
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06config: Revert 'any' addition to the ARCHES arrayAaron Griffin1-1/+1
This change was made in error, as db-update does its own parsing of 'any' files independently Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-05-06config: Add 'any' ARCH to arrayAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
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>
2009-03-11Make db-update parse all architecutresAaron Griffin1-0/+1
ARCHES is defined in config. db-update should now loop over all arches on each run and update whatever is in the staging dir. Remove the db-*64 scripts due to this Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-12Add potential BUILDSCRIPT config settingAaron Griffin1-0/+2
This may get removed from makepkg.conf in the future, so let's make sure we cover our ass Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-02Remove slashes from end of config pathsEric Bélanger1-2/+2
Clean up output so that we don't get double slashes FS#12241 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Switch svn path to be proper on geroldeAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-21Move everything to /srv to support new server confAaron Griffin1-2/+3
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/+4
This should allow us to move FTP and SVN placement around Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>