Skip to content

Migrate to new mavengem#7872

Merged
headius merged 9 commits intojruby:masterfrom
headius:new_mavengem
Aug 28, 2023
Merged

Migrate to new mavengem#7872
headius merged 9 commits intojruby:masterfrom
headius:new_mavengem

Conversation

@headius
Copy link
Member

@headius headius commented Aug 1, 2023

Mavengem has used the v1/dependencies API on rubygems.org to get gem information, but that API has now gone away (whitelisted for us until August 8). This change migrates to a newer version of mavengem that uses newer APIs to make up the same functionality.

See jruby/mavengem#9

@headius headius added this to the JRuby 9.4.4.0 milestone Aug 1, 2023
@headius headius force-pushed the new_mavengem branch 5 times, most recently from 27507ba to 3f7f7e8 Compare August 3, 2023 18:10
headius added a commit to headius/polyglot-maven that referenced this pull request Aug 3, 2023
This is part of work to update the entire JRuby/Maven stack, in
order to update the version of JRuby used and to address API
deprecations at rubygems.org.

This PR updates JRuby to latest (9.4.3.0) and moves all plugins
to their new org.jruby.maven group ID with latest versions.

Fixes takari#37.

We will need to coordinate getting this released along with the
maven plugins in the very near term. Because of the rubygems.org
API being shut down next week (the 8th), we are under the gun.

See jruby/mavengem#9, jruby/jruby-maven-plugins#126,
jruby/maven-tools#38 and jruby/jruby#7872.
headius added a commit to headius/polyglot-maven that referenced this pull request Aug 3, 2023
This is part of work to update the entire JRuby/Maven stack, in
order to update the version of JRuby used and to address API
deprecations at rubygems.org.

This PR updates JRuby to latest (9.4.3.0) and moves all plugins
to their new org.jruby.maven group ID with latest versions.

Part of the fix for jruby/maven-tools#37.

We will need to coordinate getting this released along with the
maven plugins in the very near term. Because of the rubygems.org
API being shut down next week (the 8th), we are under the gun.

See jruby/mavengem#9, jruby/jruby-maven-plugins#126,
jruby/maven-tools#38 and jruby/jruby#7872.
headius added a commit to headius/polyglot-maven that referenced this pull request Aug 4, 2023
This is part of work to update the entire JRuby/Maven stack, in
order to update the version of JRuby used and to address API
deprecations at rubygems.org.

This PR updates JRuby to latest (9.4.3.0) and moves all plugins
to their new org.jruby.maven group ID with latest versions.

Part of the fix for jruby/maven-tools#37.

We will need to coordinate getting this released along with the
maven plugins in the very near term. Because of the rubygems.org
API being shut down next week (the 8th), we are under the gun.

See jruby/mavengem#9, jruby/jruby-maven-plugins#126,
jruby/maven-tools#38 and jruby/jruby#7872.
headius added a commit to headius/polyglot-maven that referenced this pull request Aug 4, 2023
This is part of work to update the entire JRuby/Maven stack, in
order to update the version of JRuby used and to address API
deprecations at rubygems.org.

This PR updates JRuby to latest (9.4.3.0) and moves all plugins
to their new org.jruby.maven group ID with latest versions.

The maven-tools gem is updated to 1.2.

Part of the fix for jruby/maven-tools#37.

We will need to coordinate getting this released along with the
maven plugins in the very near term. Because of the rubygems.org
API being shut down next week (the 8th), we are under the gun.

See jruby/mavengem#9, jruby/jruby-maven-plugins#126,
jruby/maven-tools#38 and jruby/jruby#7872.
@headius headius force-pushed the new_mavengem branch 9 times, most recently from c39e59e to a964ab0 Compare August 9, 2023 18:41
@headius
Copy link
Member Author

headius commented Aug 10, 2023

The RG.org folks did not actually timebox the whitelisting so we have as long as we need... but this is nearly complete. I have released mavengem 2.0.0, jruby-maven-plugins 3.0.0, and maven-tools 1.2.0 and we're just waiting for a 0.4.11 release of polyglot-maven due soon.

Once everything is released, we'll merge this and give it a few weeks to make sure everything is working properly.

Mavengem has used the v1/dependencies API on rubygems.org to get
gem information, but that API has now gone away (whitelisted for
us until August 8). This change migrates to a newer version of
mavengem that uses newer APIs to make up the same functionality.

See jruby/mavengem#9
* joni updated to 2.2.1 with the new Region factory and shapes.
* strscan updated to a modified version of the gem 3.0.6 that can
  compile against joni 2.2 (which hides Region fields).

Note that these changes mean any users depending on access to joni
Region fields, or its constructor, will see some breakage, but
these changes have been in the wild in 9.4.x for sevreal months
without issues.

Relates to jruby#7884
Update joni and strscan for recent fixes
cstamas added a commit to takari/polyglot-maven that referenced this pull request Aug 25, 2023
This is part of work to update the entire JRuby/Maven stack, in order to update the version of JRuby used and to address API deprecations at rubygems.org.

This PR updates JRuby to latest (9.4.3.0) and moves all plugins to their new org.jruby.maven group ID with latest versions.

Part of the fix for jruby/maven-tools#37. (incorrectly tagged as #37 here before)

We will need to coordinate getting this released along with the maven plugins in the very near term. Because of the rubygems.org API being shut down next week (the 8th), we are under the gun.

See jruby/mavengem#9, jruby/jruby-maven-plugins#126, jruby/maven-tools#38 and jruby/jruby#7872.
* mavengem 2.0.1
* jruby-maven-plugins 3.0.1
* maven-tools 1.2.1 (only used in integration testing)
Migrate to new mavengem (9.3 version)
@headius headius reopened this Aug 28, 2023
@headius headius marked this pull request as ready for review August 28, 2023 06:35
@headius
Copy link
Member Author

headius commented Aug 28, 2023

All green! Ship it!

@headius headius merged commit 41d0ffa into jruby:master Aug 28, 2023
@headius headius deleted the new_mavengem branch August 28, 2023 06:35
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.

1 participant