Feature Request: Ability to `rename` and`chmod` resultant file
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
No source files or tests are named. Start by tracing the fetch CLI handling for the shown --asset-name and --asset-file-mode options, then follow how a GitHub release asset is written to the destination. Done means the interface supports both options and the downloaded resultant file uses the requested destination name and octal mode.
Written by the indexing model from the issue text.
Description
what
- I wish that we could specify the octal mode of the file download from the github release
- I wish that we could specify the destination name
why
- So that I can set the execution bit (E.g.
0755) without callingchmodexplicitly - Extremely common usage pattern is to download binary releases of apps (e.g.
fetch) and then run them
example interface
fetch --repo https://github.com/gruntwork-io/fetch \
--tag=v0.2.0 \
--release-asset=fetch_darwin_amd64 \
--asset-name=fetch \
--asset-file-mode=0755 \
/usr/local/bin
- Dominant language
- Go
- Stars
- 625
- Forks
- 92
- Avg merge
- 12h 56m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from gruntwork-io/fetch
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 38/100
gruntwork-io/fetch#121 · 1 comment ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
gruntwork-io/fetch#120 · 2 reactions ·
-
bug p:needs triage
Difficulty 4/5 3-5 days Newbie friendliness 32/100
gruntwork-io/fetch#111 · 2 comments ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
gruntwork-io/fetch#107 ·
-
Prevent silent failOpenenhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
gruntwork-io/fetch#104 · 4 comments ·
All issues in gruntwork-io/fetch
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
seriousm4x/UpSnap#1786 ·
-
enhancement security
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug feedback ui/ux
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
peasant-labs/peasant#1307 ·
Maintainers usually reply within 1 day