summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-04-04add ls-files to shell completionDave Reisner
2017-04-03lazily initialize ASPROOT if it doesn't yet existDave Reisner
2017-03-31assorted cleanupDave Reisner
mostly to make shellcheck happy
2017-03-25Merge pull request #10 from gubiq/patch-1Dave Reisner
Update README.md
2017-03-25Update README.mdBjörn Fries
2017-03-25fix defaulting expansion in ASPROOT definitionDave Reisner
And keep the doc up to date...
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-25move default ASPROOT to XDG_CACHE_HOME or similarDave Reisner
Others have asked for this in the past, see: https://github.com/falconindy/asp/issues/7#issuecomment-57004965 https://github.com/falconindy/asp/pull/9 asp might get more traction with the prospect of it more widely replacing ABS, and I suspect this will come up again.
2017-03-25improve manual, add ls-files and extra arg to showDave Reisner
Since aceefc28ca701feb8, the manpage has been out of date, not mentioning new features. While we're here, extend the manpage to better cover the arguments to our subcommands.
2017-03-25avoid variable pollution when using params by refDave Reisner
2017-03-25gc: merge prune and gc into single stepDave Reisner
pass --prune=all to gc to ensure that we properly cleanup unpacked and packed objects and don't have the weird bloating effect after a first pass, e.g.: $ asp disk-usage ==> Using 640K on disk. $ asp gc Nothing new to pack. $ asp disk-usage ==> Using 8.4M on disk. $ asp gc Nothing new to pack. $ asp disk-usage ==> Using 328K on disk.
2017-03-12support showing files from repos dirDave Reisner
2017-03-12fix argc value in __require_argcDave Reisner
I'm too stubborn to turn extdebug on, so let's just give up on BASH_ARGC (which never worked properly because former stubbornness about extdebug), and just pass $#.
2017-03-12dump stderr when calling ls-files through completionDave Reisner
2017-03-12add ls-files subcommand, allow showing files other than PKGBUILDDave Reisner
2017-03-11make __require_argc slightly easier to useDave Reisner
2016-06-19move svn2git remote to git.archlinux.orgDave Reisner
2016-06-18add argc checks for commandsDave Reisner
2016-06-15allow prefix matching for actionsDave Reisner
This offers some command line convenience, allowing the user only specify an action prefix as long as it can be resolved without ambiguitiy. For example, as of this commit, 'asp up' would then translate to 'asp update', and 'asp d' would be an error (as 'difflog' and 'disk-usage' are both candidates).
2016-03-20fix some things highlighted by shellcheckDave Reisner
2014-11-21remove legacy repo migration codeDave 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-12mildly simplify ref-fetching with git-for-each-refDave Reisner
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-09-11re-point local tracking branches on 'asp update'Dave Reisner
This ensures that 'git pull' works in a checked-out repo after an update. https://bbs.archlinux.org/viewtopic.php?pid=1455457#p1455457
2014-08-30abstract away cache semanticsDave 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-21move logic out of action parsingDave Reisner
2014-08-20remove dead codeDave Reisner
2014-08-20Initial commit of zsh completionJason Ryan
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-17bash-completion: add list-local to verb listDave Reisner
2014-08-17add LICENSE file to repoDave Reisner
2014-08-17fix manpage installationDave Reisner
2014-08-16remotes: move refcaching to diskDave Reisner
This speeds up a lot of operations substantially, at the cost of occasionally being wrong for a little while when new packages are added/removed from the repositories. Mostly, this is for the sake of the completions.
2014-08-16fix borky MakefileDave Reisner
2014-08-16util: fix map return statusDave Reisner
Simplify this while we're at it -- we don't care for the error count.
2014-08-16add bash-completionDave Reisner
2014-08-08remote: remove TODODave Reisner
If anyone really wants this, they can just run 'git fetch' in $ASPROOT.
2014-08-08asp: die on passing invalid internal typeDave Reisner
2014-08-07asp: add checkout to usageDave Reisner
Fixes GHI#3.