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

Use jvm buildpack to install JRuby dependencies #1119

Merged
merged 3 commits into from
Feb 11, 2021

Conversation

schneems
Copy link
Contributor

@schneems schneems commented Feb 5, 2021

Currently the jvm logic is duplicated in this buildpack and the jvm buildpack. By using the JVM buildpack we can reduce duplication and increase consistency across the Heroku platform.

@schneems schneems requested a review from a team as a code owner February 5, 2021 17:06
@schneems schneems force-pushed the schneems/use-jvm-buildpack-directly branch 5 times, most recently from cb4b959 to ed6c07e Compare February 5, 2021 19:13
@edmorley
Copy link
Member

edmorley commented Feb 5, 2021

@schneems Is this ready for review? The reviewers feature has requested review from the languages team due to codeowners, but it seems that the CI is being iterated on for the moment. Any objection to converting this PR to a draft, to make the "doesn't need review yet" state clearer? :-)

Just since I open a PR to review as soon as I see this email notification :-)

@schneems requested review from @heroku/languages on: #1119 Use jvm buildpack to install JRuby dependencies as a code owner.

@schneems schneems force-pushed the schneems/use-jvm-buildpack-directly branch 4 times, most recently from a0f81b7 to 9020a1a Compare February 8, 2021 18:13
@schneems schneems marked this pull request as draft February 8, 2021 18:34
@schneems schneems force-pushed the schneems/use-jvm-buildpack-directly branch 8 times, most recently from 4cd1f1d to 591279d Compare February 8, 2021 19:58
@schneems schneems marked this pull request as ready for review February 8, 2021 20:11
@schneems
Copy link
Contributor Author

schneems commented Feb 8, 2021

This is now ready for review. Also It's got a rebase from the fixes in #1122

Currently the jvm logic is duplicated in this buildpack and the jvm buildpack. By using the JVM buildpack we can reduce duplication and increase consistency across the Heroku platform.
@schneems schneems force-pushed the schneems/use-jvm-buildpack-directly branch from 591279d to 9073127 Compare February 8, 2021 20:42
Previously the function compile_buildpack_v2 directly uses $1, $2, and $3. This change updates this function to instead use named local variables.

In addition, there was a typo in the output to the user.
@schneems schneems merged commit 648a149 into main Feb 11, 2021
@schneems schneems deleted the schneems/use-jvm-buildpack-directly branch February 11, 2021 16:25
krisrang added a commit to skyltmax/heroku-buildpack-ruby that referenced this pull request May 13, 2021
* upstream/main: (52 commits)
  Fix date (heroku#1152)
  Bundler 2.2.16 (heroku#1150)
  v226 (heroku#1149)
  [changelog skip] Remove Heroku-16 from tests: (heroku#1146)
  [close 1135] Update bundler 2.x to 2.2.15 (heroku#1144)
  [changelog skip] Clean up mime magic in repos (heroku#1145)
  Clean up CNB release process (heroku#1139)
  Use correct method name in script heroku#1129 (heroku#1129)
  Post-release updates: heroku/ruby 0.1.0 (heroku#1138)
  Add package.toml (heroku#1137)
  Add CNB release scripts (heroku#1136)
  Release v225 (heroku#1133)
  [close heroku#1126] Update bundler to 2.2.11 (heroku#1132)
  Update buildpack tests (heroku#1131)
  v224 (heroku#1128)
  Use jvm buildpack to install JRuby dependencies (heroku#1119)
  Fix YAML formatting (heroku#1116)
  Rails 2, 3, and 4 LTS tests (heroku#1115)
  v223 (heroku#1114)
  Fail detection with a CNB-friendly exit code (heroku#1112)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants