Comments (7)
I actually have a ready-to-go formulae here, did that last weekend. Will submit soon.
from gscloud.
I've attached a working homebrew formula for gscloud. The only "problem" is this:
$ brew audit --new-formula gscloud
gscloud:
* GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)
Error: 1 problem in 1 formula detected
I don't know if we should submit the formula anyway.
The generation of a new formula can and should be automated for a new release.
class Gscloud < Formula
desc "Official command-line interface for the gridscale API"
homepage "https://gridscale.io/"
url "https://github.com/gridscale/gscloud/archive/refs/tags/v0.12.0.tar.gz"
sha256 "20927acda1fff7372bd6de11dcd40b0b6143aa6668d88b79d181cd9ccf5440f4"
license "MIT"
head "https://github.com/gridscale/gscloud.git", branch: "master"
depends_on "go" => :build
def install
ldflags = %W[
-s -w
-X github.com/gridscale/gscloud/cmd.Version=#{version}
]
system "go", "build", *std_go_args(ldflags: ldflags)
# currently gscloud needs at least an empty config to run
touch "config.yaml"
(zsh_completion/"_gscloud").write `#{bin}/gscloud completion zsh`
(bash_completion/"gscloud").write `#{bin}/gscloud completion bash`
end
test do
# currently gscloud needs at least an empty config to run
touch "config.yaml"
assert_match "Version:\t#{version}", shell_output("#{bin}/gscloud version")
assert_match "gscloud lets you manage", shell_output("#{bin}/gscloud help")
end
end
from gscloud.
+1
from gscloud.
I will submit the homebrew formulae upstream as soon as #131 is fixed.
from gscloud.
are there any news?
from gscloud.
+1
from gscloud.
I would appreciate it if you submit the form anyway :)
from gscloud.
Related Issues (20)
- Update k8s dependencies HOT 1
- Switch default branch to main HOT 1
- Add `gscloud postgres releases` HOT 6
- gscloud info could show more
- Add gscloud-network-assign
- Add --pub-key= and --identity to gscloud-server-create
- Source releases are missing version information HOT 4
- gscloud-server-create: --with-template using an ID
- gscloud iso-image ls --quiet shows two tables
- Proposal of shared credentials across gridscale tools HOT 1
- "gscloud kubernetes cluster" prints wrong usage HOT 1
- account selection via environment variable
- Make gscloud read environment variables for user ID and token HOT 1
- Error while proxying request: getting credentials: exec: executable gscloud.exe failed with exit code 1 HOT 1
- Add missing operations for k8s command HOT 1
- Specific account names can lead to the wrong error occuring HOT 14
- Using gscloud-manpage without args crashes
- Flag --config not working
- Use gscloud-kubernetes-cluster commands with UUID as argument not flag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gscloud.