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

checkbashisms: Remove. Available in debian-devscripts #93665

Closed
wants to merge 1 commit into from

Conversation

chkno
Copy link
Member

@chkno chkno commented Jul 22, 2020

This version was out of date & confusingly emitted perl warnings about
itself along with warnings about the shell scripts it checked. The
version in debian-devscripts is more recent & doesn't have this problem.

Motivation for this change

Make it easier to find the real checkbashisms (it's included in debian-devscripts) by removing this old, broken copy.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

This version was out of date & confusingly emitted perl warnings about
itself along with warnings about the shell scripts it checked.  The
version in debian-devscripts is more recent & doesn't have this problem.
@lsix
Copy link
Member

lsix commented Jul 23, 2020

I wonder if adding a alias to debian-scripts could not make sense to “ease transition” (if there is any to be eased).

@chkno
Copy link
Member Author

chkno commented Jul 24, 2020

I don't think this package is widely used, or there would be more complaints or PRs about it emitting 31 lines of warnings about its own perl syntax before doing its real job and emitting similar-looking warnings about shell syntax in the shell scripts it is invoked on.

Copy link
Member

@wamserma wamserma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@@ -69,7 +69,6 @@ mapAliases ({
casperjs = throw "casperjs has been removed, it was abandoned by upstream and broken.";
catfish = xfce.catfish; # added 2019-12-22
cgmanager = throw "cgmanager was deprecated by lxc and therefore removed from nixpkgs."; # added 2020-06-05
checkbashism = checkbashisms; # added 2016-08-16
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe put a note here that the standalone package has been removed.

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an alias that throws that the package got removed.

@stale
Copy link

stale bot commented Jun 3, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 3, 2021
@wamserma
Copy link
Member

wamserma commented Jun 6, 2021

pkgs/development/tools/misc/checkbashisms/default.nix has been rewritten to extract the script from debian-devscripts, so this PR is obsolete.

@wamserma wamserma closed this Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants