Show build information in version output
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 737
- Forks
- 214
- PR merge metrics
- No merged PRs in 30d
Description
When rex is installed from git either manually, or via OS vendors (like Gentoo's live ebuild), it would be super useful to make that fact clear by e.g. including extra information in the rex -v output.
For the extra information the following ideas emerged so far (not strictly in this form):
- git info, like
< git:master@asdefg > - build date
The proposed way to do that is to include variable(s) for that similarly to our $VERSION and replace the contents during build time. Then the version printing logic can check for the presence of the information and display it if needed.
Contributor 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.
Research direction
Start at the rex -v version-printing logic and the existing our $VERSION declaration. Determine how build-time values can supply Git information or a build date, then verify that rex -v clearly reports this information for Git-installed builds without losing the normal version output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100