Date: Saturday, November 16, 2019 @ 10:18:19 Author: shibumi Revision: 529509
archrelease: copy trunk to community-x86_64 Added: hcloud/repos/community-x86_64/CHANGES.md (from rev 529508, hcloud/trunk/CHANGES.md) hcloud/repos/community-x86_64/PKGBUILD (from rev 529508, hcloud/trunk/PKGBUILD) hcloud/repos/community-x86_64/_hcloud.zsh (from rev 529508, hcloud/trunk/_hcloud.zsh) Deleted: hcloud/repos/community-x86_64/PKGBUILD hcloud/repos/community-x86_64/_hcloud.zsh -------------+ CHANGES.md | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ PKGBUILD | 98 +++++++++++++++++++++++++++-------------------------- _hcloud.zsh | 4 +- 3 files changed, 158 insertions(+), 50 deletions(-) Copied: hcloud/repos/community-x86_64/CHANGES.md (from rev 529508, hcloud/trunk/CHANGES.md) =================================================================== --- CHANGES.md (rev 0) +++ CHANGES.md 2019-11-16 10:18:19 UTC (rev 529509) @@ -0,0 +1,106 @@ +# Changes + +## v1.14.0 + +* Expose server’s MAC address in networks on `hcloud server describe` +* Add support for names to Floating IP commands +* Make `--ip-range` on `hcloud network add-subnet` optional +* Add debug mode (use `HCLOUD_DEBUG` and `HCLOUD_DEBUG_FILE`) +* Add `hcloud server ip` command +* Expose `Created` on `hcloud floating-ip|image|ssh-key|volume describe` +* Refactor progressbar and add loading animation for running actions + +## v1.13.0 + +* Show server name instead of ID on `hcloud floating-ip|volume|image list` +* Add support for networks + +## v1.12.0 + +* Add support for executing commands via `hcloud server ssh <server> <command>` +* Make overriding context via `HCLOUD_CONTEXT` work +* Add support for JSON and Go template output +* Add support for multiple user data files +* Add length validation for API token on `hcloud context create` +* Add `active` column to context list on `hcloud context list` + +## v1.11.0 + +* Add support for automounting and formatting volumes + +## v1.10.0 + +* Fix creating a volume when server is specified by its name +* Deprecate and ignore the `--window` flag on `hcloud server enable-backup` +* Add output columns `type|labels|volumes|protection` to `hcloud server list` +* Add output columns `labels|protection` to `hcloud volume list` +* Add output column `labels` to `hcloud image list` +* Add output column `labels` to `hcloud floating-ip list` +* Add output column `labels` to `hcloud ssh-key list` + +## v1.9.1 + +* Fix formatting issue on `hcloud volume list` and `hcloud volume describe` + +## v1.9.0 + +* Add support for volumes +* Add `--start-after-create` flag to `hcloud server create` command + +## v1.8.0 + +* Add `hcloud ssh-key update` command +* Add `-u/--user` and `-p/--port` flags to `hcloud server ssh` command +* Add `hcloud server set-rdns` command +* Add `hcloud floating-ip set-rdns` command + +## v1.7.0 + +* Add type filter flag `-t` / `--type` to `image list` command +* Expose labels of servers, Floating IPs, images, and SSH Keys +* Add `hcloud {server|ssh-key|image|floating-ip} {add-label|remove-label}` commands + +## v1.6.1 + +* Fix invalid formatting of integers in `hcloud * list` commands + +## v1.6.0 + +* Show IP address upon creating a server +* Add `--poll-interval` flag for controlling the polling interval (for example for action progress updates) + +## v1.5.0 + +* Add `hcloud server ssh` command to open an SSH connection to the server + +## v1.4.0 + +* Document `-o` flag for controlling output formatting +* Add commands `enable-protection` and `disable-protection` for + images, Floating IPs, and servers + +## v1.3.2 + +* Show progress for every action +* Show datacenter in `server list` and `server describe` + +## v1.3.1 + +* Only poll action progress every 500ms (instead of every 100ms) +* Document `HCLOUD_TOKEN` and make it work when there is no active context + +## v1.3.0 + +* Print dates in local time +* Do not echo token when creating a context +* Add `--user-data-from-file` flag to `hcloud server create` command + +## v1.2.0 + +* Update hcloud library to v1.2.0 fixing rate limit check + +## v1.1.0 + +* Show image information in `hcloud server describe` +* Auto-activate created context on `hcloud context create` +* Fix `hcloud version` not showing correct version Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-16 10:18:09 UTC (rev 529508) +++ PKGBUILD 2019-11-16 10:18:19 UTC (rev 529509) @@ -1,48 +0,0 @@ -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> -# Contributor: Konrad Tegtmeier <konrad.tegtmeier+...@gmail.com> - -_pkgname=cli -pkgname=hcloud -pkgver=1.13.0 -pkgrel=4 -pkgdesc="CLI for Hetzner Cloud" -arch=('x86_64') -url='https://github.com/hetznercloud/cli' -license=('MIT') -optdepends=( - 'bash-completion: tab auto-completion' - 'zsh: tab auto-completion') -makedepends=('go-pie' 'git') -depends=('glibc') -provides=('hcloud') -_hcloud_commit='85b1119b296e9ec5a5509fc82c750d180f2a76b0' -source=("git+https://github.com/hetznercloud/cli#commit=${_hcloud_commit}" - _hcloud.zsh) -sha512sums=('SKIP' - '1964c7445200327ee71974591516bdcc3a00751ff3407891a7401ad486b4a0ee51bfc8c0e8d0e074b788936f365a435322bd4c9b2b527f6621b0965b60477897') - -prepare(){ - export GO111MODULE=on -} - -build(){ - cd "${_pkgname}" - go build \ - -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${pkgver} -extldflags ${LDFLAGS}" \ - github.com/hetznercloud/cli/cmd/hcloud - chmod +x ./hcloud - ./hcloud completion bash > "$pkgname-completion.bash" -} - -check(){ - cd "${_pkgname}/cli" - go test -v -x -} - -package(){ - cd "${_pkgname}" - install -Dsm755 ./hcloud "${pkgdir}/usr/bin/hcloud" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - install -Dm644 "${pkgname}-completion.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgname" - install -Dm644 "${srcdir}/_hcloud.zsh" "${pkgdir}/usr/share/zsh/site-functions/_hcloud" -} Copied: hcloud/repos/community-x86_64/PKGBUILD (from rev 529508, hcloud/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-16 10:18:19 UTC (rev 529509) @@ -0,0 +1,50 @@ +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> +# Contributor: Konrad Tegtmeier <konrad.tegtmeier+...@gmail.com> + +_pkgname=cli +pkgname=hcloud +pkgver=1.14.0 +pkgrel=1 +pkgdesc="CLI for Hetzner Cloud" +arch=('x86_64') +url='https://github.com/hetznercloud/cli' +license=('MIT') +optdepends=( + 'bash-completion: tab auto-completion' + 'zsh: tab auto-completion') +makedepends=('go-pie' 'git') +depends=('glibc') +provides=('hcloud') +_hcloud_commit='85b1119b296e9ec5a5509fc82c750d180f2a76b0' +source=("git+https://github.com/hetznercloud/cli#commit=${_hcloud_commit}" + _hcloud.zsh) +sha512sums=('SKIP' + '1964c7445200327ee71974591516bdcc3a00751ff3407891a7401ad486b4a0ee51bfc8c0e8d0e074b788936f365a435322bd4c9b2b527f6621b0965b60477897') +changelog=CHANGES.md + +prepare(){ + export GO111MODULE=on +} + +build(){ + cd "${_pkgname}" + go build \ + -trimpath \ + -ldflags "-w -X github.com/hetznercloud/cli/cli.Version=${pkgver} -extldflags ${LDFLAGS}" \ + github.com/hetznercloud/cli/cmd/hcloud + chmod +x ./hcloud + ./hcloud completion bash > "$pkgname-completion.bash" +} + +check(){ + cd "${_pkgname}/cli" + go test -v -x +} + +package(){ + cd "${_pkgname}" + install -Dsm755 ./hcloud "${pkgdir}/usr/bin/hcloud" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 "${pkgname}-completion.bash" "${pkgdir}/usr/share/bash-completion/completions/$pkgname" + install -Dm644 "${srcdir}/_hcloud.zsh" "${pkgdir}/usr/share/zsh/site-functions/_hcloud" +} Deleted: _hcloud.zsh =================================================================== --- _hcloud.zsh 2019-11-16 10:18:09 UTC (rev 529508) +++ _hcloud.zsh 2019-11-16 10:18:19 UTC (rev 529509) @@ -1,2 +0,0 @@ -#compdef hcloud -source <(hcloud completion zsh) Copied: hcloud/repos/community-x86_64/_hcloud.zsh (from rev 529508, hcloud/trunk/_hcloud.zsh) =================================================================== --- _hcloud.zsh (rev 0) +++ _hcloud.zsh 2019-11-16 10:18:19 UTC (rev 529509) @@ -0,0 +1,2 @@ +#compdef hcloud +source <(hcloud completion zsh)