[arch-commits] Commit in hcloud/trunk (CHANGES.md PKGBUILD)

Christian Rebischke shibumi at archlinux.org
Sat Nov 16 10:18:10 UTC 2019


    Date: Saturday, November 16, 2019 @ 10:18:09
  Author: shibumi
Revision: 529508

upgpkg: hcloud 1.14.0-1 trimpath + changelog added

Add Changelog + add trimpath option for go build

Added:
  hcloud/trunk/CHANGES.md
Modified:
  hcloud/trunk/PKGBUILD

------------+
 CHANGES.md |  106 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 PKGBUILD   |    6 ++-
 2 files changed, 110 insertions(+), 2 deletions(-)

Added: CHANGES.md
===================================================================
--- CHANGES.md	                        (rev 0)
+++ CHANGES.md	2019-11-16 10:18:09 UTC (rev 529508)
@@ -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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-16 10:09:41 UTC (rev 529507)
+++ PKGBUILD	2019-11-16 10:18:09 UTC (rev 529508)
@@ -3,8 +3,8 @@
 
 _pkgname=cli
 pkgname=hcloud
-pkgver=1.13.0
-pkgrel=4
+pkgver=1.14.0
+pkgrel=1
 pkgdesc="CLI for Hetzner Cloud"
 arch=('x86_64')
 url='https://github.com/hetznercloud/cli'
@@ -20,6 +20,7 @@
         _hcloud.zsh)
 sha512sums=('SKIP'
             '1964c7445200327ee71974591516bdcc3a00751ff3407891a7401ad486b4a0ee51bfc8c0e8d0e074b788936f365a435322bd4c9b2b527f6621b0965b60477897')
+changelog=CHANGES.md
 
 prepare(){
   export GO111MODULE=on
@@ -28,6 +29,7 @@
 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



More information about the arch-commits mailing list