-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Hugo repo & version; add missing Zola alias #35
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -33,7 +33,7 @@ The `install` subcommand Installs a new binary. If that version is not already i | |||||||||||||||||||||
cache, Binrc will try to fetch it from GitHub's releases and keep it in its cache. | ||||||||||||||||||||||
|
||||||||||||||||||||||
``` | ||||||||||||||||||||||
binrc install spf13/hugo 0.19 | ||||||||||||||||||||||
binrc install gohugoio/hugo 0.94.2 | ||||||||||||||||||||||
``` | ||||||||||||||||||||||
|
||||||||||||||||||||||
### Versions as environment variables | ||||||||||||||||||||||
|
@@ -42,15 +42,16 @@ Binrc supports settings binary version numbers as environment variables. It will | |||||||||||||||||||||
in the environment to configure the right version. | ||||||||||||||||||||||
|
||||||||||||||||||||||
``` | ||||||||||||||||||||||
HUGO_VERSION=0.19 binrc install spf13/hugo | ||||||||||||||||||||||
HUGO_VERSION=0.94.2 binrc install gohugoio/hugo | ||||||||||||||||||||||
``` | ||||||||||||||||||||||
|
||||||||||||||||||||||
### Aliases | ||||||||||||||||||||||
|
||||||||||||||||||||||
Binrc keeps a list of aliases to make installing binaries more easy. If a project name is not in `OWNER/NAME` for, Binrc will | ||||||||||||||||||||||
Binrc keeps [a list of aliases](cache/cache.go) to make installing binaries more easy. If a project name is not in `OWNER/NAME` format, Binrc will | ||||||||||||||||||||||
check the list of aliases to try to resolve the project. | ||||||||||||||||||||||
|
||||||||||||||||||||||
This is the current known list: | ||||||||||||||||||||||
|
||||||||||||||||||||||
- hugo: spf13/hugo | ||||||||||||||||||||||
- hugo: gohugoio/hugo | ||||||||||||||||||||||
- gutenberg: keats/gutenberg | ||||||||||||||||||||||
- zola: getzola/zola | ||||||||||||||||||||||
Comment on lines
56
to
+57
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well… actually Zola is the new repo for Gutenberg (and There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for taking a look! You make a good point; I think it makes sense to keep Maybe it makes sense to also add a comment to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But given GH keeps the redirects it should still work, specifying old There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (I actually ended up here trying to sync the versions/aliases with a proposed update to build_images installed software list to streamline the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @mbrukman Actually it's well described in: binrc/templates/templates.toml Lines 10 to 16 in c3a403d
incl. the correct templates so things are probably still working even now, five years later;) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So maybe just a hint along the way:
Suggested change
would suffice? Otherwise the rest of the PR is all golden, it's about time to update the outdated refs, good job! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well… this version is already a year old. Would make sense to make it more current before merging.
Related: (question is… whether there should not be a "latest" option?)
latest
#39