Skip to content

Get rid of the Perl dependency #341

Closed

Description

@edolstra

Activity

  1. self-assigned this
    on Sep 16, 2014
  2. linquize commented on Sep 16, 2014

    @linquize
    Contributor

    👍 to rewrite in C++

  3. wmertens commented on Oct 11, 2014

    @wmertens
    Contributor

    👍!

    Just to have an idea of the scope:

    $ git grep -l perl scripts/ corepkgs/ | xargs wc -l | sort -n
      17 corepkgs/config.nix.in
      28 corepkgs/buildenv.nix
      51 scripts/nix-generate-patches.in
      65 scripts/nix-collect-garbage.in
      73 scripts/show-duplication.pl
      79 scripts/find-runtime-roots.pl.in
     100 scripts/nix-copy-closure.in
     102 scripts/copy-from-other-stores.pl.in
     102 scripts/nix-pull.in
     132 scripts/nix-prefetch-url.in
     143 scripts/nix-install-package.in
     168 corepkgs/buildenv.pl
     212 scripts/nix-channel.in
     282 scripts/build-remote.pl.in
     288 scripts/nix-build.in
     294 scripts/nix-push.in
     377 scripts/download-using-manifests.pl.in
     612 scripts/download-from-binary-cache.pl.in
    3125 total
    

    and

      42 perl//lib/Nix/Config.pm.in
     114 perl//lib/Nix/CopyClosure.pm
      42 perl//lib/Nix/Crypto.pm
     340 perl//lib/Nix/GeneratePatches.pm
     468 perl//lib/Nix/Manifest.pm
     103 perl//lib/Nix/SSH.pm
      92 perl//lib/Nix/Store.pm
     292 perl//lib/Nix/Store.xs
      47 perl//lib/Nix/Utils.pm
      40 perl//local.mk
       7 perl//MANIFEST
    1587 total
    
  4. domenkozar commented on Oct 13, 2014

    @domenkozar
    Member

    👍

  5. offlinehacker commented on Oct 13, 2014

    @offlinehacker
    Contributor

    +1

  6. matejc commented on Oct 24, 2014

    @matejc

    👍

  7. hilyjiang commented on Jan 24, 2015

    @hilyjiang

    +1

  8. domenkozar commented on Apr 8, 2015

    @domenkozar
    Member

    Would also get rid of #19

  9. copumpkin commented on Apr 19, 2015

    @copumpkin
    Member

    👍 obviously. Seems like it wouldn't have to be a monolithic work item. I'm guessing many of the *.pm files are just wrapping functionality that's already in the C++ library, so some of that wouldn't even be necessary anymore. The individual utilities could be replaced one at a time if someone didn't want to take on the entire task at once.

  10. lucabrunox commented on Apr 21, 2015

    @lucabrunox
    Contributor

    I'm on nix-collect-garbage :) starting low

  11. copumpkin commented on Apr 21, 2015

    @copumpkin
    Member

    Yay!

  12. edolstra commented on Apr 21, 2015

    @edolstra
    MemberAuthor

    🍺

  13. lucabrunox commented on Apr 23, 2015

    @lucabrunox
    Contributor

    I'm now on find-runtime-roots.pl

  14. edolstra commented on Apr 23, 2015

    @edolstra
    MemberAuthor

    Rather than replacing it with an external C++ program, please add it directly to gc.cc.

  15. 79 remaining items

  16. shlevy commented on Aug 12, 2016

    @shlevy
    Member
  17. domenkozar commented on Nov 1, 2016

    @domenkozar
    Member

    @shlevy I'd say you have done your part of the work so it's fine if you collect the bounty.

  18. shlevy commented on Nov 1, 2016

    @shlevy
    Member

    @domenkozar Do I have to do anything besides just close the issue?

  19. domenkozar commented on Nov 2, 2016

    @domenkozar
    Member

    I think you have to claim bounty on bountysource manually.

  20. shlevy commented on Nov 2, 2016

    @shlevy
    Member

    From https://github.com/bountysource/core/wiki/Frequently-Asked-Questions it looks like the only way is to close the issue, maybe even the only way is to merge a commit that closes the issue. I will try closing this, let me know if you get the confirmation email.

  21. domenkozar commented on Nov 2, 2016

    @domenkozar
    Member

    I needed to refresh about 6 times before you showed up as a claimer on https://www.bountysource.com/issues/4399291-get-rid-of-the-perl-dependency, but it's accepted from me.

    I'll try to write up a summary for all chip-in-ers :)

  22. shlevy commented on Nov 2, 2016

    @shlevy
    Member

    Did my summary not show up?

  23. domenkozar commented on Nov 2, 2016

    @domenkozar
    Member

    Nope

  24. added a commit that references this issue on Jan 20, 2017
    f74fe58
  25. added a commit that references this issue on Feb 7, 2017
    418a837
  26. nixos-discourse commented on Jul 16, 2021

    @nixos-discourse

    This issue has been mentioned on NixOS Discourse. There might be relevant details there:

    https://discourse.nixos.org/t/java-nix-reproducibility/13825/13

  27. nixos-discourse commented on Oct 25, 2023

    @nixos-discourse
  28. added a commit that references this issue on Jan 1, 2024
  29. added a commit that references this issue on Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions