Skip to content
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

Minor improvements to initial message #24

Merged
merged 3 commits into from
Oct 18, 2023

Conversation

adamjames
Copy link
Contributor

@adamjames adamjames commented Oct 15, 2023

This commit makes the following changes:

  • Only render the date of last modification if jq is installed. This is not the case when running on a newly flashed RPi Lite, resulting in a blank date being shown. Most users are assumed running by piping to a shell anyway.

  • Fix a minor typo, and only print a warning for the user to read if /etc/os-release indicates use of Debian Stretch (EOL).

  • Tweak the copyright statement (I typically wouldn't worry about it given the size of the changes, but the statement is there, so I figure the right thing to do is to be accurate?)

This commit makes the following changes:

- Only render the date of last modification if jq is installed. This is not the case when running on a newly flashed RPi Lite, resulting in a blank date being shown. Most users are assumed running by piping to a shell anyway. 

- Fix a minor typo, and only print a warning for the user to read if lsb_release -c output indicates use of Debian Stretch (EOL).

- Tweak the copyright statement (I typically wouldn't worry about it given the size of the changes, but the statement is there, so I figure the right thing to do is to be accurate?)
Grep /etc/os-release for stretch instead of lsb_release.
@fredclausen fredclausen requested a review from kx1t October 16, 2023 13:42
@fredclausen
Copy link
Member

Looks good to me, but @kx1t is the brain behind this so I'll defer to his opinion :)

Thank you for this!

It's our policy that only the main file's author is mentioned in any of the files and scripts of the sdr-enthusiasts organization; all other contributors are mentioned as such automatically in the Github repo when they make changes and/or file a PR.
@kx1t
Copy link
Member

kx1t commented Oct 18, 2023

I'm all good with this -- thanks for the changes. I reverted only 1 thing: bff21cc

It's our policy that only the main file's author is mentioned in any of the files and scripts of the sdr-enthusiasts organization; all other contributors are mentioned as such automatically in the Github repo when they make changes and/or file a PR.

@kx1t kx1t merged commit a68c55c into sdr-enthusiasts:main Oct 18, 2023
@adamjames
Copy link
Contributor Author

Understood - copyright preambles aren't something I've encountered much until now, and everyone does things a little differently. Thanks all for your patience while I find my feet and for your time in reviewing :)

@adamjames adamjames deleted the minor-messaging-improvements branch October 18, 2023 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants