Comments (2)
We could add support for setting the base URL via an environment variable like GVM_DOWNLOAD_URL
. Would that work for you?
from gvm.
There has been --url
flag to override the default download URL since 2018 when #12 was added . The default is https://storage.googleapis.com/golang
.
Optional flags:
-h, --help Show context-sensitive help (also try --help-long and --help-man).
-d, --debug Enable debug logging to stderr.
--os=OS Go binaries target os.
--arch=ARCH Go binaries target architecture.
--home=HOME GVM home directory.
--url=URL Go binaries repository base URL.
--repository=REPOSITORY Go upstream git repository.
--version Show application version.
from gvm.
Related Issues (20)
- use go mod HOT 7
- build failing HOT 3
- gvm use could return what is used currently HOT 2
- Default path for .go-version file
- Install Instructions Dont work HOT 1
- Exception on Windows when running gvm available or gvm install HOT 1
- A few suggestions... HOT 4
- Fall back to source install only when binary package does not exist (HTTP 404)
- Build artifact for macOS m1 architecture HOT 2
- Ability to permanently set environment variables
- Add newer versions of Go (e.g. 1.17.2, 1.16.9) HOT 8
- gvm available - Refresh source repo and always report binary versions
- Make download timeout configurable HOT 3
- Cannot use gvm in Ubuntu 20 in Google Cloud HOT 9
- Cannot build gvm with go 1.18 HOT 4
- Default install does not honor GOARCH HOT 6
- GOROOT is not required after Go 1.9
- GVM cannot install 1.21 HOT 4
- Unable to install Go 1.21.0 with gvm HOT 2
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 gvm.