#3371 PR open: Do not remove dotfiles from the release archive

pcahyna opened issue at 2024-12-19 08:32:

Pull Request Details:
  • Type: Bug Fix

  • Impact: Low

  • Reference to related issue (URL):
    Closes #3368.

  • How was this pull request tested?

make OFFICIAL=1 dist
tar tzf dist/rear-2.7.tar.gz > unpatched.list
# here apply the change

make OFFICIAL=1 dist
tar tzf dist/rear-2.7.tar.gz > patched.list
diff -u unpatched.list patched.list

Result is at https://github.com/rear/rear/issues/3368#issuecomment-2551465625

  • Description of the changes in this pull request:
    Do not remove dotfiles from the release archive. Avoids dropping .vimrc from /root of the rescue ramdisk. This also adds .shellcheckrc to the release tarballs, so package builds using static analyzers (OpenScanHub) will know what ShellCheck warnings to ignore.

[Export of Github issue for rear/rear.]