Package Details: repoctl-git 0.16.r0.gc8fd238-1

Git Clone URL: https://aur.archlinux.org/repoctl-git.git (read-only, click to copy)
Package Base: repoctl-git
Description: A supplement to repo-add and repo-remove which simplifies managing local repositories
Upstream URL: https://github.com/cassava/repoctl
Licenses: MIT
Conflicts: repoctl
Provides: repoctl
Submitter: haawda
Maintainer: Alad
Last Packager: Alad
Votes: 1
Popularity: 0.000000
First Submitted: 2015-06-08 22:45
Last Updated: 2017-09-26 22:32

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

bartus commented on 2020-01-05 15:11

The naming scheme for completion files has changed Also would be nice to install bash completion.

git am < <(curl -s "https://pastebin.com/raw/BvXeL8z1")

yochananmarqos commented on 2020-01-02 00:07

No need for both ln and mv when it can be done in one command:

prepare() {
  local dest="$srcdir/src/github.com/cassava"

  mkdir -p "$dest"
  ln -rTsf "$srcdir/${_pkgname}" "$dest/repoctl"
}

Please use go-pie instead of go per Go package guidelines.

Do not use the !strip option; in fact the binary needs to be stripped of the build path using the -trimpath flags:

build() {
  export GOPATH="$srcdir"
  local src="$srcdir/src/github.com/cassava/repoctl" 

  cd "$src/cmd/repoctl"
  go build \
  -trimpath \
  -ldflags "-extldflags ${LDFLAGS}" \
  .

  cd "$src/cmd/repols"
  go build \
  -trimpath \
  -ldflags "-extldflags ${LDFLAGS}" \
  .
}

PedroHLC commented on 2019-12-21 10:36

Hi, could the branch "devel" be used instead? I'm in need of the zst support.

haawda commented on 2018-05-13 18:35

The last line fails for me: install -Dm644 contrib/zsh_completion "$pkgdir/usr/share/zsh/site-functions/_repoctl"

haawda commented on 2018-04-25 15:28

'contrib/zsh_completion' seems to be missing or moved in the upstream repo now.

haawda commented on 2016-09-05 09:09

Orphaning, I use repose now.

Alad commented on 2016-07-08 22:42

Fails to build: https://paste.xinu.at/kzr/

cassava commented on 2015-08-12 11:47

Hi guys. I'm the developer of repoctl. As haawda has correctly observed, I'm working on a (hopefully) improved interface to repoctl... sorry about that! But I think this will also be the final interface.

I'm currently working on it, and expect to be done with it towards end of the month. Till then you are also free to use the non-git repoctl AUR package.
I test that and make sure it works, and will continue to do so.

haawda commented on 2015-08-10 18:49

Bleeding edge version, user interface is different from stable version and probably about to change again.

Run
# repoctl new config <path to your repo with filename.db.tar.gz>
to create a config file under ~/.config/repoctl/config.toml.

First repoctl update can take a long time.

haawda commented on 2015-08-10 17:25

Bleeding edge version, user interface is different from stable version and probably about to change again.

Run
# repoctl new config <path to your repo>
to create a config file under ~/.config/repoctl/config.toml.

First repoctl update can take a long time.