Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archrelease
AgeCommit message (Collapse)Author
2011-10-07Support non-standard install locationsLukas Fleischer
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 Fleischer
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 Fleischer
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 Fleischer
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 Fleischer
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 Fleischer
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 Reisner
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-18archrelease: use bashier syntaxDave Reisner
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-18archrelease: call svn rm only onceDave Reisner
Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2011-08-13supress svn verbose outputPierre Schmitz
2011-08-13archrelease: Fix removal of repository contentLukas Fleischer
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 McGee
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 McGee
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 Schmitz
2010-12-14Accept any dir except a repos subdir as trunkPierre Schmitz
2010-06-24removed mode lines; was not a good idea after allPierre Schmitz
2010-02-22Don't check if package was released already0.9.4Pierre Schmitz
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 Schmitz
2010-02-17Use svnversion insead of svn infoPierre Schmitz
2010-02-17Use local information to determine if a commit is neededPierre Schmitz
2010-02-17Check if package was already releasedPierre Schmitz
2010-02-13apply common coding stylePierre Schmitz
2010-02-13inform the user of activities that might take a longer time0.9.1Pierre Schmitz
2010-02-12supress confusing output of pushd and popd0.9.0Pierre Schmitz
2010-02-11Replace expensive merge with delete and copyPierre Schmitz
2009-10-06archrelease: exit if working copy is not committedFrançois Charette
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-21Ensure archrelease is always run from a proper directoryAaron Griffin
It should only be run from a trunk dir containing a PKGBUILD Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-21Create the 'repos' dir if it doesn't existAaron Griffin
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 Chu
needs to be dealt with.
2008-04-09Start tracking svnmerge info when we create a branch0.6.2Jason Chu
I thought it was tracked by default
2008-04-08Copy only the HEAD revision when releasing0.6.1Aaron Griffin
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 Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-04-05Add arch{co,release,rm} to devtools and make them install properlyJason Chu