support: accept text files with missing terminating \n (branch yem/newlines)
Status from this message: Applied to master, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | support/scripts/mkusers: fix UID/GID confusionsupport/ | +2 | 0 replies | |
| 2/5 | support/scripts/mkusers: fix shellcheck errors.checkpackageignore support/ | +21 | 0 replies | |
| 3/5 | support/scripts/mkusers: accept user tables without terminating \nsupport/ | +2 | 2 replies | |
| 4/5 | support/download/check-hash: fix shellcheck errors.checkpackageignore support/ | +6 | 0 replies | |
| 5/5 | support/download/check-hash: accept hash files without terminating \nsupport/ | +5 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 0/5] support: accept text files with missing terminating \n (branch yem/newlines)
Hello All!
As explained in the last commit, we expect text files to be properly terminated with a full line, i.e. one having a final \n.
However, a lot of people do not have proper text editors, and those do not add the terminating newline, and do not honour our .editorconfig.
This series fixes two of the affected scripts, and also fixes shellcheck errors in both. Fixing those also uncovered an actual issue in mkusers, so that too is fixed.
Regards,
Yann E. MORIN.
----------------------------------------------------------------
Yann E. MORIN (5):
support/scripts/mkusers: fix UID/GID confusion support/scripts/mkusers: fix shellcheck errors support/scripts/mkusers: accept user tables without terminating \n support/download/check-hash: fix shellcheck errors support/download/check-hash: accept hash files without terminating \n
.checkpackageignore | 2 -- support/download/check-hash | 11 ++++++++--- support/scripts/mkusers | 34 ++++++++++++++++++++++++---------- 3 files changed, 32 insertions(+), 15 deletions(-)
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot