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

Let's go, Pikachu! It's 0.10 and Ruby 3.x time #103

Closed
10 tasks done
apjanke opened this issue Oct 12, 2023 · 5 comments
Closed
10 tasks done

Let's go, Pikachu! It's 0.10 and Ruby 3.x time #103

apjanke opened this issue Oct 12, 2023 · 5 comments
Assignees
Labels
bug Something isn't working packaging
Milestone

Comments

@apjanke
Copy link
Owner

apjanke commented Oct 12, 2023

This issue is to track my work on getting a v0.10 release out. Milestone is 0.10.1. (Because there was a bogus 0.10.0 published, so can't use that x.y.0 version.)

My plan is to roll up all the bug fixes and features which have already been merged to master or are "90%" there, bump all the gem deps, and make a new release with that, without waiting for any other pending features or bugfixes.

Important fixes needed:

Let's also do:

  • Add prerelease Homebrew formula, for testing that packaging
  • Test 0.10.1 prerelease on Intel Mac
    • Install Homebrew on angharad, and switch to new dotfiles

Then:

See the 0.10.1 milestone for more issues.

Hope to satisfy:

@apjanke
Copy link
Owner Author

apjanke commented Oct 12, 2023

Work note:

Created a new WIP/lets-go-pikachu-0.10 branch for this work leading up to an 0.10 release. Working off the doc-project/Developer-Guide.md file for doing this release.

The ronn-ng.gemspec and other files currently have "0.10.1.pre3" as their version. Bumped that to "0.10.1.pre4". I don't recall there being an 0.10.0 release, but if there's documentation in the repo of it, I'm gonna defer to that. (And the CHANGES file says that was a RubyGems publishing oopse; that sounds pretty plausible.)

To bump the deps, I deleted Gemfile.lock locally and then ran bundle install.

Got to the "Regenerate the man pages with bundle exec rake man" step in the build process, and hit this, on angharad, my Mac desktop:

$ bundle exec rake man
env: ruby3.2: No such file or directory

I'm not sure what this means. Why does rake man know to call ruby3.2 instead of plain ruby? And why don't I have that on my machine? Nothing in the source code seems to be specifying Ruby 3.2 per se.

[ronn-ng] $ pwd
/Users/janke/repos/ronn-ng
[ronn-ng] $ grep -r 3\\.2 .
./Gemfile.lock:    parser (3.2.2.4)
./Gemfile.lock:    rexml (3.2.6)
./Gemfile.lock:      parser (>= 3.2.1.0)
[ronn-ng] $

Anyway, doesn't look like I have Ruby 3.2 here. This is on my macOS 14 Sonoma box "angharad", using MacPorts.

[ronn-ng] $ which ruby
/usr/bin/ruby
[ronn-ng] $ ruby --version
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.x86_64-darwin23]
[ronn-ng] $ port installed | grep ruby
  ruby30 @3.0.6_0 (active)
  ruby_select @1.3_1 (active)
[ronn-ng] $

Guess I need to install Ruby 3.2, and also figure out how to better get the ruby calls in this build script to detect ruby and its versions?

@apjanke apjanke changed the title Let's go, Pikachu! It's 0.10 time Let's go, Pikachu! It's 0.10 and Ruby 3.x time Oct 12, 2023
@apjanke
Copy link
Owner Author

apjanke commented Oct 12, 2023

Looks like Ruby 3.2 is available in MacPorts as the ruby32 package. did a port install ruby32 on angharad.

That took a while. Apparently it has a dependency on rust, and that's a big compile? Waiting for it to finish. I'll post an update tomorrow.

@apjanke apjanke self-assigned this Jan 4, 2024
@apjanke apjanke added bug Something isn't working packaging labels Jan 4, 2024
@apjanke apjanke added this to the 0.10.1 milestone Jan 4, 2024
@apjanke
Copy link
Owner Author

apjanke commented Jan 7, 2024

I built and published 0.10.1.pre4 and pre6 releases. Tests are passing on Fedora using the new "test against RPM supplied dependency gems" technique described here (dd2ceeb). All the bugs in the 0.10.1 milestone are closed. Going to publish it today.

@apjanke
Copy link
Owner Author

apjanke commented Jan 8, 2024

All done here, I think! I published the 0.10.1 release on GitHub Releases and on RubyGems just now.

@apjanke apjanke closed this as completed Jan 8, 2024
@apjanke
Copy link
Owner Author

apjanke commented Jan 8, 2024

For future reference, here's a copy of my local notes for this task.

ronn-ng 23Q4 fixup notes.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working packaging
Projects
Status: Closed
Development

No branches or pull requests

1 participant