summaryrefslogtreecommitdiffstats
path: root/archrelease
AgeCommit message (Collapse)AuthorFilesLines
2011-10-07Support non-standard install locationsLukas Fleischer1-67/+0
This build system overhaul allows for adding (define-style) macros to our scripts. All source files are now suffixed with ".in" to clarify that they might contain unprocessed defines. The Makefile provides a new rule to preprocess source files and generate proper output scripts. Also, add a "@pkgdatadir@" define (as used in GNU Autotools) and use it instead of hardcoded paths to "/usr/share/devtools" everywhere. We missed this when adding PREFIX support to the build system in commit 35fc83ce7d8dc26cd424321f2e8638d05da0a6d4. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-08-25archrelease: Fix behaviour with non-standard trunk nameLukas Fleischer1-4/+4
Do not hardcode the name of the package trunk directory and accept varying directory names, such as "gnome-unstable". Regression introduced in 8384ad849dfe308ed3e63e252785b9a6f80474f5. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-25archrelease: Copy new files from trunkLukas Fleischer1-1/+1
Currently, files that have just been added to trunk are not copied to the repositories when invoking archrelease, as `svn ls` does not list them if we don't `svn update` explicitly before. Use `svn ls -r HEAD` to include everything from current HEAD. Fixes FS#25680. Reported-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-25archrelease: Accept multiple tagsLukas Fleischer1-16/+28
This allows for releasing to multiple repositories with a single commit: ---- $ archrelease community-{i686,x86_64} copying trunk to community-i686...done copying trunk to community-x86_64...done releasing package...done ---- Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-25archrelease: Check for subdirectories earlyLukas Fleischer1-6/+6
Ensure we do not mess with version control if there are any subdirectories in the package trunk. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-25archrelease: Remove redundant directory checkLukas Fleischer1-8/+3
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-18archrelease: declare known_files as an arrayDave Reisner1-3/+3
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-18archrelease: use bashier syntaxDave Reisner1-9/+11
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-18archrelease: call svn rm only onceDave Reisner1-3/+5
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-13supress svn verbose outputPierre Schmitz1-2/+2
2011-08-13archrelease: Fix removal of repository contentLukas Fleischer1-1/+1
Fix the `svn rm` invocation when releasing to a repository that already contains some files. `svn ls` only returns basenames, so we need to prepend the path here. Regression introduced in 8384ad849dfe308ed3e63e252785b9a6f80474f5. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25archrelease: remove extra SVN commitDan McGee1-5/+22
This relies on the fact that trunk/ never has any subdirectories, so we can simply copy all the files in it to the relevant repos/xxx/ directory after removing all existing files in that directory. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-07-25archrelease: add repos/ directory if it doesn't existDan McGee1-0/+4
Very easy thing to forget when creating a new package, but easy enough to check for and add automatically. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-04-09archrelease: be more verbosePierre Schmitz1-1/+1
2010-12-14Accept any dir except a repos subdir as trunkPierre Schmitz1-3/+5
2010-06-24removed mode lines; was not a good idea after allPierre Schmitz1-3/+0
2010-02-22Don't check if package was released already0.9.4Pierre Schmitz1-15/+8
The checks aren't reliable enough and fail if the local repo is broken due to network failures. So for now we just allways commit.
2010-02-22be more fail safePierre Schmitz1-23/+22
2010-02-17Use svnversion insead of svn infoPierre Schmitz1-2/+2
2010-02-17Use local information to determine if a commit is neededPierre Schmitz1-9/+11
2010-02-17Check if package was already releasedPierre Schmitz1-0/+6
2010-02-13apply common coding stylePierre Schmitz1-14/+17
2010-02-13inform the user of activities that might take a longer time0.9.1Pierre Schmitz1-0/+2
2010-02-12supress confusing output of pushd and popd0.9.0Pierre Schmitz1-2/+2
2010-02-11Replace expensive merge with delete and copyPierre Schmitz1-31/+7
2009-10-06archrelease: exit if working copy is not committedFrançois Charette1-1/+8
Check with svn diff if the PKGBUILD etc has been committed, and exit with an error message if not. Also moved message from commitpkg to here. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-22Ensure archrelease is always run from a proper directoryAaron Griffin1-0/+10
It should only be run from a trunk dir containing a PKGBUILD Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-22Create the 'repos' dir if it doesn't existAaron Griffin1-0/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-20Add a message that explains what to do when a merge conflict is detected and ↵Jason Chu1-0/+8
needs to be dealt with.
2008-04-09Start tracking svnmerge info when we create a branch0.6.2Jason Chu1-0/+5
I thought it was tracked by default
2008-04-08Copy only the HEAD revision when releasing0.6.1Aaron Griffin1-1/+1
This prevents the copying of local files and only copies versioned files Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-08archrelease modifications to auto-commit handlingAaron Griffin1-10/+15
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-06Add arch{co,release,rm} to devtools and make them install properlyJason Chu1-0/+19