summaryrefslogtreecommitdiff
path: root/db-functions
AgeCommit message (Collapse)Author
2015-06-08Merge branch 'master' into lukeshu/xbsLuke Shumaker
# Conflicts: # abslibre # any-to-ours # config # db-cleanup # db-functions # db-libremessages # db-move # db-sync
2015-06-05Use XBS instead of the SVN/ABS grossness.Luke Shumaker
* config: drop SVNREPO * cron-jobs/sourceballs: Replace commented out SVN code and active ABS code with XBS code. The XBS code is fairly similar to the SVN code, the difference being that it uses `xbs releasepath` instead of `svn export`. * db-functions: - Rename check_pkgsvn to check_pkgxbs - check_pkgxbs: Drop the `svn export` bit, as `xbs releasepath` assumes that a working directory already exists. Replace the paths created by the `svn export` with calls to `xbs releasepath`. - check_splitpkgs: Drop the ABS `cp` -r bit, as `xbs releasepath` assumes that a working directory already exists. Replace the paths created by the `cp -r` with calls to `xbs releasepath`. Rename the variables and temporary files s/svn/xbs/ . * db-move: - First loop: Rename the variable svnrepo_from to xbsrepo_from, and get the value from `xbs releasepath`. - Second loop: Run `xbs move` before the inner loop to get a list of architectures. Rename the variable `svnrepo_from` to `xbsrepo_to`, and get the value for it from `xbs releasepath`. Because xbs guarantees that the PKGBUILD exists for the architectures listed, replace the check for whether the PKGBUILD exists with `if true`, to keep merging easy (as opposed to removing the if, and de-indenting the whole thing). * db-remove: Get the location of the PKGBUILD from `xbs releasepath`, call `xbs unrelease`, and adjust a message to use `xbs name` and mention the appropriate repo/arch pair.
2015-06-05db-functions: do better printing of whitespace-separated filenamesLuke Shumaker
2015-05-25Merge branch 'lukeshu/cleanup' into lukeshu/xbsLuke Shumaker
# Conflicts: # abslibre # config # cron-jobs/repo-sanity-check # db-remove # db-sync.conf
2015-05-25Pull in more changes from lukeshu/archlinux+cleanup+librelibLuke Shumaker
2015-05-25Clean up shebangsLuke Shumaker
2015-05-17Merge branch 'master' into lukeshu/xbsLuke Shumaker
2014-10-04Update lastsync after db-sync or cleanup.Michał Masłowski
2014-06-24fooLuke Shumaker
2014-06-18db-functions: update ${FTP_DIR}/lastupdate when we modify the repo.Luke Shumaker
Of course, this only works for things that use db-functions, so db-sync won't touch it.
2014-06-18Merge branch 'master' into lukeshu/xbsLuke Shumaker
Conflicts: cron-jobs/sourceballs db-functions
2014-06-18oopsLuke Shumaker
2014-06-18db-funtions:check_splitpkgs(): use printf instead of a loopLuke Shumaker
2014-06-18more quoting fixesLuke Shumaker
2014-06-18db-functions:check_repo_permissions: ARCHES is an arrayLuke Shumaker
2014-06-18oopsLuke Shumaker
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-18use abort() and die() from librelibLuke Shumaker
2014-06-18Clean up quoting.Luke Shumaker
2014-06-18more quoting an printf fixesLuke Shumaker
2014-06-18The eval+printf %q thing wasn't worth the hard-to-read codeLuke Shumaker
2014-06-18db-functions: line repetitive things upLuke Shumaker
2014-06-18more quoting and printf fixesLuke Shumaker
2014-06-18use += when possibleLuke Shumaker
2014-06-18Use printf-formatters when possible (incomplete)Luke Shumaker
2014-06-17more quoting fixesLuke Shumaker
2014-06-17db-functions: add mv_aclLuke Shumaker
2014-01-08Avoid using $(basename $var) , use ${var##*/} insteadLuke Shumaker
2014-01-08Fix some array quoting.Luke Shumaker
2014-01-08fix comments, indentationLuke Shumaker
2014-01-08Be very careful about using $0.Luke Shumaker
2014-01-08Fix quoting on arrays.Luke Shumaker
2014-01-08Use `mktemp -t` to respect $TMPDIRLuke Shumaker
2014-01-08misc touch upLuke Shumaker
- TODO: add trailing newline - config: add text editor hint - config.orig: remove - getrepos: quote, use -- - db-functions: hardcode some paths, remove needless nullglob
2014-01-08Fix some array quoting.Luke Shumaker
2014-01-08db-functions: use ${array[*]} when appropriateLuke Shumaker
2013-12-31clean upLuke Shumaker
2013-12-31Merge branch 'cleanup' into master-mergeLuke Shumaker
Conflicts: config cron-jobs/sourceballs db-functions db-move db-remove db-update
2013-12-31Merge branch 'arch' into cleanup3Luke Shumaker
2013-11-02Add lastupdate fileFlorian Pritz
This allows for faster checking if an update might be needed and helps to let reporead run when something changed. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2013-11-02sourceballs: fix ACL issues on nymeriaJan Alexander Steffens (heftig)
ACLs from the WORKDIR were used, leading to problems as these weren't world-readable. Fix follows ftpdir-cleanup. Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2013-06-29use the get_full_version from libremessages (actually, common.sh)Luke Shumaker
It works properly when split packages have different versions.
2013-06-17touch upLuke Shumaker
2013-06-17use xbs, not svnLuke Shumaker
2013-06-16db-functions: use common.shLuke Shumaker
2013-06-16fix TMPDIRLuke Shumaker
2013-06-16Don't make assumptions about the host architecture.Luke Shumaker
2012-11-04Grant the SVNUSER access to the working directoryPierre Schmitz
2012-10-27Add the possibility to run all svn commands with a different userPierre Schmitz
* A SVNUSER can be configured in the config file * This user needs to be able to call svn without a password