summaryrefslogtreecommitdiff
path: root/db-update
AgeCommit message (Collapse)Author
2015-11-24prevent duplicate repos from locking themselvesNicolás Reynolds
2015-06-08db-update: get the correct directory for xbsLuke Shumaker
2015-06-05db-update: Hook in to `xbs release-server` as it exists today.Luke Shumaker
Obviously, this is an exercise in noticing a leaky abstraction. - assumes that the PKGBUILD is staged to a real directory going in - assumes where that is - assumes how to clean that up I believe the correct solution will require modifying XBS. Following is what I believe the changes should be. - change release-server to take "REPO ARCH DIR1 [DIR2...]", instead of using the CWD. - but this still assumes that the caller knows where release-client put the PKGBUILD, so change it to take "REPO ARCH PKGBASE1 [PKGBASE2...]". - this means that release-server knows to check if a PKGBUILD exists at the specified arch, and fall back to 'any' if it doesn't. - an alternative would be passing in the .pkg.tar filenames, and either parsing the filename or using db-functions to figure out the arch. - ??? how to get rid of cleaning up assumptions.
2015-05-24db-update: Remove debugging codeParabola
2014-07-04Fix having a flexible PKGEXTLuke Shumaker
2014-06-24db-update: get the list of repos the same way as upstream ArchLuke Shumaker
The largest advantage of this is that it implicitly ignores directories we don't want to consider repos.
2014-06-18silly whitespace and similar fidlingLuke Shumaker
2014-06-18Use printf formatters instead of string interpolation.Luke Shumaker
I used this command to find them: egrep -r --exclude-dir={test,.git} '(plain|msg|msg2|warning|error|stat_busy|stat_done|abort|die)\s+"?[^"]*\$'
2014-06-18Clean up quoting.Luke Shumaker
2014-01-15db-update: add shopt -s nullglob and remove mail script to ↵André Fabian Silva Delgado
maintenance@lists.parabolagnulinux.org because it's unstable
2014-01-11modification on db-update for mailaurelien
2014-01-08Avoid using $(basename $var) , use ${var##*/} insteadLuke Shumaker
2014-01-08Fix some array quoting.Luke Shumaker
2014-01-08Normalize to load config then local_config then db-functionsLuke Shumaker
2014-01-08Be very careful about using $0.Luke Shumaker
2014-01-08Fix quoting on arrays.Luke Shumaker
2014-01-08db-update: remove 'other' from repo blacklist now that issue #460 is addedLuke Shumaker
2014-01-08Don't error about permissions on empty staging repos (feature #460)Parabola
2014-01-06fix thingsParabola
2014-01-05db-update: add hook for publishing generated sourcesParabola
2012-09-13db-update: Ignore repos in repos.Michał Masłowski
2012-08-21This is clearly not the wayNicolás Reynolds
2012-08-21FixNicolás Reynolds
2012-06-26Re-enabled check on other repos; skip already released packagesNicolás Reynolds
2011-05-18* Separated nonfree check from db-updateJoshua Ismael Haase Hernandez
* Added db-check-nonfree to repo-update
2011-05-15db-update msg when cleaning nonfreeJoshua Ismael Haase Hernández
2011-05-08* Unique pkgname list for nonfree and dbpkgsJoshua Ismael Haase Hernández
2011-05-08* Remove non free packages on db-updateJoshua Ismael Haase Hernández
2011-04-22Midnight fixJoshua Ismael Haase Hernández
2011-04-16Merge branch 'master' of git://projects.archlinux.org/dbscriptsJoshua Ismael Haase Hernández
Conflicts: db-functions
2011-04-02Add signature files to update/move/remove targetsRémy Oudompheng
Signature files are optional and the previous behaviour is unchanged when signatures files do not exist. Signed-off-by: Rémy Oudompheng <remy@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-02-18Parabola specific changesParabola
2011-01-15Move repo manipulation code into common functionsPierre Schmitz
repo-add and repo-remove is now indirectly called by arch_repo_add/remove. This simplifies future extensions like incremental file list creations. See FS#11302
2010-12-02db-update: Fail if a set of split packages is incompletePierre Schmitz
2010-09-11Use local config instead of guessing by hostnamePierre Schmitz
Using the hostname to decide which repos to use is not releiable and hard to test. Instead use config.local to configure these. config files for sigurd and gerolde were added which can be copied or symlinked to config.local on the specific host.
2010-09-05Check if package exists in any other repository on updatePierre Schmitz
This also checks if the sam package exists within the old package layout (without package pool)
2010-09-02Set correct group after touching the db filePierre Schmitz
* When writing the db file ensure that it has write permission of the group which owns the parent directory. * This should make the adjust-permissions cron job obsolete.
2010-08-24db-update: Make sure there are no links in the staging directoryPierre Schmitz
2010-08-17Add additional checks when reading PKGBUILDsPierre Schmitz
If reading from a PKGBUILD fails stop immediatly. Also put out more usefull error messages.
2010-08-17minor fix to error messageAllan McRae
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2010-08-17Don't try to update no packagePierre Schmitz
Check if there are packages to update for given architecure. Previously db-update quit when only one arch of a package was available.
2010-08-15Lock repos before checkingPierre Schmitz
2010-08-15Use common names for reposPierre Schmitz
2010-08-14Rewrite of db-updatePierre Schmitz
* db-update now updates all repos with packages in its staging dirs * sanity checks are performed before any repo is touched * improved performance * less code; easier to maintain
2010-08-13Simplify check for existing packagesPierre Schmitz
2010-08-13removed useless statementsPierre Schmitz
2010-08-13Remove check which was already covered by check_repo_permissionPierre Schmitz
2010-08-13Abort if package already exists in repoPierre Schmitz
Don't try to be smart and remove packages from the staging dir without asking.
2010-08-13Use common functions to print messages, warnings and errorsPierre Schmitz
These functions are copied from makepkg
2010-08-13Check permission before any actionPierre Schmitz
Added a function to check if user has permission to alter the repos and db files.