[arch-commits] Commit in hcloud/repos/community-x86_64 (5 files)

Christian Rebischke shibumi at archlinux.org
Sat Nov 21 18:24:44 UTC 2020


    Date: Saturday, November 21, 2020 @ 18:24:43
  Author: shibumi
Revision: 758519

archrelease: copy trunk to community-x86_64

Added:
  hcloud/repos/community-x86_64/PKGBUILD
    (from rev 758518, hcloud/trunk/PKGBUILD)
  hcloud/repos/community-x86_64/_hcloud.zsh
    (from rev 758518, hcloud/trunk/_hcloud.zsh)
Deleted:
  hcloud/repos/community-x86_64/CHANGES.md
  hcloud/repos/community-x86_64/PKGBUILD
  hcloud/repos/community-x86_64/_hcloud.zsh

-------------+
 CHANGES.md  |  106 ----------------------------------------------------------
 PKGBUILD    |  105 +++++++++++++++++++++++++++------------------------------
 _hcloud.zsh |    4 +-
 3 files changed, 52 insertions(+), 163 deletions(-)

Deleted: CHANGES.md
===================================================================
--- CHANGES.md	2020-11-21 18:24:36 UTC (rev 758518)
+++ CHANGES.md	2020-11-21 18:24:43 UTC (rev 758519)
@@ -1,106 +0,0 @@
-# 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	2020-11-21 18:24:36 UTC (rev 758518)
+++ PKGBUILD	2020-11-21 18:24:43 UTC (rev 758519)
@@ -1,55 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Konrad Tegtmeier <konrad.tegtmeier+aur at gmail.com>
-
-_pkgname=cli
-pkgname=hcloud
-pkgver=1.19.1
-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='b9433e5a0f86503c8702358304b3dc3e66ac21f4'
-source=("git+https://github.com/hetznercloud/cli#commit=${_hcloud_commit}"
-  _hcloud.zsh)
-sha512sums=('SKIP'
-            '1964c7445200327ee71974591516bdcc3a00751ff3407891a7401ad486b4a0ee51bfc8c0e8d0e074b788936f365a435322bd4c9b2b527f6621b0965b60477897')
-changelog=CHANGES.md
-
-prepare() {
-  export GO111MODULE=on
-}
-
-build() {
-  export CGO_ENABLED=1
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-  cd "${_pkgname}"
-  go build \
-    -ldflags "-linkmode=external -w -X github.com/hetznercloud/cli/cli.Version=${pkgver}" \
-    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 758518, hcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-21 18:24:43 UTC (rev 758519)
@@ -0,0 +1,50 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Konrad Tegtmeier <konrad.tegtmeier+aur at gmail.com>
+
+_pkgname=cli
+pkgname=hcloud
+pkgver=1.20.1
+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='178bf96a689ea417f9401e4b1059cf9c44a44c07'
+source=("git+https://github.com/hetznercloud/cli#commit=${_hcloud_commit}"
+  _hcloud.zsh)
+sha512sums=('SKIP'
+            '1964c7445200327ee71974591516bdcc3a00751ff3407891a7401ad486b4a0ee51bfc8c0e8d0e074b788936f365a435322bd4c9b2b527f6621b0965b60477897')
+
+build() {
+  export CGO_ENABLED=1
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  cd "${_pkgname}"
+  go build \
+    -ldflags "-linkmode=external -w -X github.com/hetznercloud/cli/cli.Version=${pkgver}" \
+    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	2020-11-21 18:24:36 UTC (rev 758518)
+++ _hcloud.zsh	2020-11-21 18:24:43 UTC (rev 758519)
@@ -1,2 +0,0 @@
-#compdef hcloud
-source <(hcloud completion zsh)

Copied: hcloud/repos/community-x86_64/_hcloud.zsh (from rev 758518, hcloud/trunk/_hcloud.zsh)
===================================================================
--- _hcloud.zsh	                        (rev 0)
+++ _hcloud.zsh	2020-11-21 18:24:43 UTC (rev 758519)
@@ -0,0 +1,2 @@
+#compdef hcloud
+source <(hcloud completion zsh)



More information about the arch-commits mailing list