Age | Commit message (Collapse) | Author |
|
fixup: 0a6a4d0 Use exit status rather than string emptiness
- git-ls always returns 0 as exit status, so it can't be used
as a check. git-show does return an error status.
|
|
|
|
- Error happens with repositories with '-' in the name.
ie: community-testing, the '<repo>-<arch>' string
gets parsed wrong (repo=community,arch=testing-x86_64).
- This patch will hold up at least until an arch with a '-'
in the name appears.
|
|
|
|
A second attempt at fixing https://bugs.archlinux.org/task/60027 --
using --shared is much simpler and results in better diskspace savings.
|
|
This reverts commit 33b433898ebd7771ca045338bfca7c910312970c.
|
|
Would be nice if git detected this for us, but sadly it doesn't.
|
|
While we're here, merge our 'git config' command into the clone.
|
|
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.
|
|
|
|
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)
|
|
|
|
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.
|
|
|
|
|
|
completions might trigger tracking of a new package. it all goes to
stderr, but let's not crowd the output regardless.
|
|
mostly to make shellcheck happy
|
|
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.
|
|
|
|
|
|
|
|
|
|
This ought to save some people trouble if they choose to develop on the
default created branch.
|
|
|
|
...instead of dumping *all* error output to the eternal bit bucket.
|
|
refnames need the packages/ prefix, not just the package name. Caused by
2f04d93b37172e5.
Fixes GH#6.
|
|
this isn't useful for us, because our branches are just pointers -- we
manually maintain them on 'update'.
|
|
|
|
|
|
|
|
The rest of this is just noise.
|
|
|
|
Also, make both package_untrack and remote_untrack robust against
partially existing branches.
|
|
Explicitly refer to the remote branch.
|
|
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.
|
|
|
|
|