Comments (5)
Could you describe an example use-case and what the behavior would be?
from eget.
I try install terraform
user@homepc:~$ export https_proxy=http://xxxxxx:3128/
user@homepc:~$ sudo ./eget https://releases.hashicorp.com/terraform/1.1.9/terraform_1.1.9_linux_amd64.zip --to /usr/local/bin
https://releases.hashicorp.com/terraform/1.1.9/terraform_1.1.9_linux_amd64.zip
Downloading 100% [============================================================================================================] (423/423 B, 5.176 MB/s)
zip: not a valid zip file
Try download by wget
user@homepc:~$ export https_proxy=http://xxxxxx:3128/
user@homepc:~$ wget https://releases.hashicorp.com/terraform/1.1.9/terraform_1.1.9_linux_amd64.zip
--2022-05-03 20:52:31-- https://releases.hashicorp.com/terraform/1.1.9/terraform_1.1.9_linux_amd64.zip
Connecting to 193.233.204.249:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 19262029 (18M) [application/zip]
Saving to: ‘terraform_1.1.9_linux_amd64.zip’
terraform_1.1.9_linux_amd64.zip 100%[===============================================================================>] 18.37M 2.21MB/s in 15s
2022-05-03 20:52:48 (1.22 MB/s) - ‘terraform_1.1.9_linux_amd64.zip’ saved [19262029/19262029]
from eget.
@patsevanton I've created a fix for this, but I'm not really sure if this will fix all your issues.
Will you be up for testing this before we can merge the PR?
If you have a Golang build environment, could you check out & build my branch?
or if that will take time, I could provide you an amd64
binary and you could run that to test?
from eget.
@zyedidia BTW, I saw that the releases that you upload to GitHub are all static binaries.
But when I do make build
in the eget repo, I get a dynamic binary. What's up with that? How can I get a static binary that I can pass on to @patsevanton?
from eget.
As described here
I had to change the make build
command to: CGO_ENABLED=0 go build -trimpath -ldflags '-s -w -X main.Version=1.1.1-dev.1 -extldflags "-static"' .
to get a static binary.
@patsevanton Here is a release with a binary that I believe should handle proxies correctly: https://github.com/dufferzafar/eget/releases/tag/v1.1.0
from eget.
Related Issues (20)
- Bug: `EGET_BIN` seems to be ignored
- Still maintained? HOT 4
- toml file blues: even the example from the manpage does not work HOT 1
- Weird behaviour when using 'file' in config HOT 1
- Support Github Action
- Support for musl-based Releases HOT 7
- eget downloads vscode extension rather than binary HOT 1
- cache downloads to avoid redownloading if unchanged
- Allows alias for target in configuration file
- Rename a file without specifying the dir to place it in
- Allow to read GitHub token from a file HOT 4
- GitLab support and non-public GitHub/GitLab instances HOT 3
- Bad configuration files are silently ignored HOT 2
- [Request] Provide Binaries for Android
- How to download several files for asset?
- Library Usage HOT 3
- Target folder expansion does not work HOT 1
- Download latest tag if latest not found HOT 2
- Eget.toml completely ignored HOT 3
- Fetch more than one archive from a repository?
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 eget.