- May 27, 2016
-
-
Sven-Hendrik Haase authored
This makes it a lot easier to swap out the host that actually serves the repos in the future.
-
- Jun 06, 2015
-
-
Johannes Löthberg authored
Pacman cannot handle armored signatures, so force a generation of a binary one using the --no-armor flag.
-
- Nov 01, 2013
-
-
Dave Reisner authored
This function (currently) searches through $PWD and $PKGDEST looking for a tarball matching the requested package name, architecture, and pkgver. If found, it writes the full path to the located package to stdout and returns 0, else 1. If more than 1 match is found, it's treated as an error and the user will need to figure out what to do. Use this in checkpkg and commitpkg, which previously implemented their own less complete logic, to locate the build artifacts they rely on. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Dave Reisner authored
Instead of dying at the first sight of an unversioned file, this lets commitpkg dump all known unversioned files at once. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Aug 18, 2013
-
-
Dave Reisner authored
Fixes FS#36378. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Aug 08, 2013
-
-
Dave Reisner authored
Now that die() properly forwards arguments to error(), we can expect that the first arg is a format string and not the entirety of the output. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Jan 20, 2013
-
-
Pierre Schmitz authored
-
- Nov 15, 2012
-
-
Eric Bélanger authored
The usage messages now begins with a "Usage:", i.e. capitalized and with a colon. Fixes FS#26956. Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Nov 11, 2012
-
-
Pierre Schmitz authored
-
- Nov 03, 2012
-
-
Pierre Schmitz authored
-
- Oct 27, 2012
-
-
Pierre Schmitz authored
-
- Jun 16, 2012
-
-
Pierre Schmitz authored
-
- Jun 10, 2012
-
-
Lukas Fleischer authored
The "@" sign in file names in SVN marks the beginning of a pegged version number -- from the Subversion book: Peg revisions are specified to the Subversion command-line client using at syntax, so called because the syntax involves appending an “at sign” (@) and the peg revision to the end of the path with which the revision is associated. The trivial workaround is to always append an at sign to the end of the path in the version control checks. Before: $ community-stagingpkg 'Add systemd units.' ==> ERROR: exim-submission@.service is not under version control $ svn status -v | grep 'exim-submission@.service' A - ? ? exim-submission@.service After: $ community-stagingpkg 'Add systemd units.' ==> Committing changes to trunk...done ==> Signing package exim-4.80-2-x86_64.pkg.tar.xz... [...] Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Allan McRae authored
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Mar 05, 2012
-
-
Pierre Schmitz authored
-
- Mar 04, 2012
-
-
Pierre Schmitz authored
This might be useful for unofficial repos
-
- Feb 15, 2012
-
-
Allan McRae authored
We do not allow packages to be uploaded without signatures so force all unsigned packages to be signed. This has the bonus of not breaking makepkg signing support by requiring you use an internal makepkg variable. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Feb 06, 2012
-
-
Florian Pritz authored
This fixes a problem where rsync won't work if the pkgver contains a colon (epoch). In this case rsync assumes that the colon is a remote:path separator and having src and dest both being remote arguments is not supported. Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Jan 19, 2012
-
-
Pierre Schmitz authored
-
- Jan 18, 2012
-
-
Dave Reisner authored
In the case of a .pkg.tar.xz and a .pkg.tar.gz existing in the same directory, all commitpkg would say is: ==> WARNING: Could not find . Skipping x86_64 Upon digging into the logic, we did a few things poorly, mostly in getpkgfile: - getpkgfile tried to die in a subshell (within the command substituion assignment to 'pkgfile'). This will never work. - We assumed that proper glob expansion happened when we received exactly 1 arg. This isn't necessarily true without nullglob in effect. - We dumped the real error (spewed by getpkgfile) to /dev/null. - We checked for the package twice in both $PWD and $DESTDIR/. - We checked for file existance multiple times. Address this by: - not hiding errors. revamp the wording a little bit to make it more obvious why we failed, particularly in the case of a glob expanding to more than 1 file. Logic here is simplified to pointing out the failure cases of 0 and >1. - setting nullglob so the number of arguments passed into getpkgfile is meaningful from a 'did it decisively resolve' point of view. - not trying to exit the entire script from a subshell. Just return a value (and use it). - avoiding the package file existance check afterwards. this is a freebie from getpkgfile when the glob passed fails to expand. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Dec 04, 2011
-
-
Lukas Fleischer authored
We already fixed a couple of these in previous patches - this one should replace all remaining uses of single brackets ("[") by double brackets. Also, use arithmetic evaluation instead of conditional expressions where appropriate and make use of "-z" and "-n" instead of comparing variables to empty strings. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-
Pierre Schmitz authored
-
- Nov 21, 2011
-
-
Pierre Schmitz authored
-
- Nov 04, 2011
-
-
Lukas Fleischer authored
Move the message template before the if block. We moved this to the else branch in commit aaa68e49 which lead to "msgtemplate" being unset if one specifies a commit message on the command line, thus stripping the "upgpkg:" part. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Eric Bélanger authored
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Eric Bélanger authored
Some of the output/error messages were capitalized, some were not. This patch capitalize everything for consistency sake. Other minor changes were done to the messages like removing the superfluous "error:" from die messages and adding a final period to messages that were complete sentences as appropriate. Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Nov 01, 2011
-
-
Pierre Schmitz authored
* common.sh is included on build time * most functions are copied from makepkg
-
- Oct 31, 2011
-
-
Pierre Schmitz authored
-
Pierre Schmitz authored
-
Pierre Schmitz authored
-
- Oct 29, 2011
-
-
Lukas Fleischer authored
makepkg(8) currently uses a smarter method to extract all changelog and install files from a PKGBUILD. Sync commitpkg to use the same code (with small modifications). This also adds support for changelog/install files that contain a whitespace. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Oct 07, 2011
-
-
Lukas Fleischer authored
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 35fc83ce . Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-
- Aug 29, 2011
-
-
Lukas Fleischer authored
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Aug 25, 2011
-
-
Lukas Fleischer authored
Make use of archrelease's multi-tag capability invoke it once instead of re-launching it for for each individual tag. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Aug 18, 2011
-
-
Dave Reisner authored
Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Dave Reisner authored
Signed-off-by: Dave Reisner <d@falconindy.com> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Aug 15, 2011
-
-
Lukas Fleischer authored
Commit c51cc8d3 erroneously introduced a tab character that is prepended to the body of each commit message. Fix this by using C-style newline escape sequences which will avoid further whitespace issues caused by re-indentation of code at this point. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
- Aug 14, 2011
-
-
Pierre Schmitz authored
-
- Aug 13, 2011
-
-
Lukas Fleischer authored
Generate a message template when omitting the commit message (includes the same subject line that is used if a commit message is specified). Also, use two newlines to separate the subject line from the message body as it looks much clearer that way. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-
Lukas Fleischer authored
In addition to what we had before, this will also detect: * Non-existent files. * Files that are missing or scheduled for deletion. * Ignored files. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-