decentral1se 1f6c0e8c4b
feat: support local apps.json loading
This logic supports the following cases:

- Download a fresh apps.json and load it if missing
- Check if a local apps.json is old and get a fresh one if so
- Always save a local copy after downloading a fresh apps.json

The http.Head() call is faster than a http.Get() call (only carries back
respones headers) and aims to make the more general case more
performant: you have the latest copy of the apps.json and don't need to
download another one. This a direct port of our Bash implementation
logic.

Closes https://git.autonomic.zone/coop-cloud/go-abra/issues/9.
2021-07-21 22:42:51 +02:00
2021-07-15 01:18:34 +01:00
2021-07-21 22:42:51 +02:00
2021-07-15 23:35:43 +02:00
2021-07-21 13:28:46 +02:00
2021-07-13 23:47:47 +01:00

go-abra

Build Status Go Report Card

WIP port of abra to Golang.

Description
The Co-op Cloud command-line utility belt 🎩🐇
Readme 19 MiB
Languages
Go 97.7%
Shell 1.9%
Makefile 0.3%