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

gradle: 6.7 -> 6.8.1 #111311

Merged
merged 2 commits into from Jan 31, 2021
Merged

gradle: 6.7 -> 6.8.1 #111311

merged 2 commits into from Jan 31, 2021

Conversation

lorenzleutgeb
Copy link
Member

@lorenzleutgeb lorenzleutgeb commented Jan 30, 2021

Motivation for this change

New Gradle release(s). Previous version packaged was 6.7, this MR packages 6.8.1, versions 6.7.1 and 6.8 have been released in the meantime. Notes:

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"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Mentioning some people that are likely to review/merge, hope that's okay:

Let's keep Gradle fresh :)

@@ -88,7 +88,7 @@ let
'';

# The default one still uses jdk8 (#89731)
gradle_6 = (gradleGen.override (old: { java = jdk; })).gradle_6_7;
gradle_6 = (gradleGen.override (old: { java = jdk; })).gradle_6_8;
Copy link
Member

Choose a reason for hiding this comment

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

we can just use gradle_latest here (with the jdk override) now that 6 is the default

Copy link

Choose a reason for hiding this comment

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

We should verify the fixed-output derivations can still be built using the new version.

Copy link
Member Author

Choose a reason for hiding this comment

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

If I can be of help here, please just tell me, otherwise I'll relax until you know exactly what you want to do :)

Copy link

Choose a reason for hiding this comment

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

Sure, @fgaz and I will discuss it and tell you when we have a good solution.

I think we should keep it set to a fixed version, so that we are notified when the version changes, because it's not so unlikely that gradle updates break the fixed-output derivation build without us noticing.
@fgaz do you agree or would you prefer to set it to latest regardless and just look out for gradle updates carefully?

Copy link
Member

Choose a reason for hiding this comment

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

@petabyteboy I never saw a hash change happen on other gradle packages, but I agree that it could be more likely here. And we get notified anyway...

Copy link
Member

Choose a reason for hiding this comment

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

Hmm, maybe I should also switch my other gradle packages to a fixed gradle

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 111311 run on x86_64-darwin 1

7 packages marked as broken and skipped:
  • gscan2pdf
  • impressive
  • mindustry
  • mindustry-server
  • mindustry-wayland
  • mucommander
  • pdftk
4 packages built:
  • frostwire
  • gradle (gradle_6)
  • jadx
  • mxisd

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 111311 run on x86_64-linux 1

1 package marked as broken and skipped:
  • gscan2pdf
10 packages built:
  • frostwire
  • gradle (gradle_6)
  • impressive
  • jadx
  • mindustry
  • mindustry-server
  • mindustry-wayland
  • mucommander
  • mxisd
  • pdftk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants