Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/package.inc.sh
AgeCommit message (Collapse)Author
2018-09-13Use --shared instead of --local for clonesDave Reisner
A second attempt at fixing https://bugs.archlinux.org/task/60027 -- using --shared is much simpler and results in better diskspace savings.
2018-09-13Revert "Avoid hardlinks when cloning across filesystems"Dave Reisner
This reverts commit 33b433898ebd7771ca045338bfca7c910312970c.
2018-09-12Avoid hardlinks when cloning across filesystemsDave Reisner
Would be nice if git detected this for us, but sadly it doesn't.
2018-08-19Use --local when creating a git clone for checkoutDave Reisner
While we're here, merge our 'git config' command into the clone.
2018-08-19Avoid cd, references to $startdirDave Reisner
just set GIT_DIR appropriately and always operate from the original $PWD. As part of this, let's cleanup our error handling in initialize() a fair bit.
2017-08-20simplify subtree decision makingDave Reisner
2017-07-07fully qualify remote ref to avoid ambiguityDave Reisner
This solves the problem of: $ asp checkout foo $ asp list-arches foo warning: refname 'packages/packages/foo' is ambiguous. x86_64 i686 Same for list-repos (duh, shared codepath)
2017-07-07ensure package_resolve returns an error on failed lookupDave Reisner
2017-06-18package: prefer tar over bsdtarDave Reisner
bsdtar is common to all Arch systems, but other distros (debian-ish) might only have tar installed by default. Sadly, bsdtar has slightly nicer semantics in it's -s than GNU tar's transform when matchin directories in the tarball.
2017-05-23always preserve exit statuses on returnDave Reisner
2017-04-05quote $subtree expansionDave Reisner
2017-04-04avoid leaking git output for completionsDave Reisner
completions might trigger tracking of a new package. it all goes to stderr, but let's not crowd the output regardless.
2017-03-31assorted cleanupDave Reisner
mostly to make shellcheck happy
2017-03-25Handle split packagesDave Reisner
When a basic lookup fails, attempt to resolve the package name through archweb to get the pkgbase, under the assumption that this might be a split package. This adds jq as a new dependency. Closes #8.
2017-03-25avoid variable pollution when using params by refDave Reisner
2017-03-12support showing files from repos dirDave Reisner
2017-03-12add ls-files subcommand, allow showing files other than PKGBUILDDave Reisner
2016-03-20fix some things highlighted by shellcheckDave Reisner
2014-09-27set pull.rebase=true on new repo creationDave Reisner
This ought to save some people trouble if they choose to develop on the default created branch.
2014-09-27uggh, more branch creation twiddlingDave Reisner
2014-09-12hide the class of errors we want to ignore with -qfDave Reisner
...instead of dumping *all* error output to the eternal bit bucket.
2014-09-12pass proper refname to remote_update_refsDave Reisner
refnames need the packages/ prefix, not just the package name. Caused by 2f04d93b37172e5. Fixes GH#6.
2014-09-12don't track remote branchesDave Reisner
this isn't useful for us, because our branches are just pointers -- we manually maintain them on 'update'.
2014-09-11forward update requessts to the remoteDave Reisner
2014-08-29add 'show' verb, to display a PKGBUILD for a packageDave Reisner
2014-08-28package: simplify arch/repo extractionDave Reisner
2014-08-28packages: only show log for trunk/ directoryDave Reisner
The rest of this is just noise.
2014-08-19package: drop "private" log methods, merge into package_logDave Reisner
2014-08-18cleanup local tracking branches when untrackingDave Reisner
Also, make both package_untrack and remote_untrack robust against partially existing branches.
2014-08-06fix warnings when exporting a checked out branchDave Reisner
Explicitly refer to the remote branch.
2014-07-31add checkout verb, to make bite-sized git reposDave Reisner
This allows you to create a repo as a child of asp's, which you can modify as you wish, and continue to pull changes from after calling 'abs update'. One might create a new remote for this repo in which to publish their own downstream branch.
2014-07-31removed implemented TODODave Reisner
2014-07-30initial commitDave Reisner