Bug 278850 - devel/rubygen-oci: update to 2.21.1
Summary: devel/rubygen-oci: update to 2.21.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Joel Bodenmann
URL: https://github.com/oracle/oci-ruby-sd...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-08 05:51 UTC by Alessandro Sagratini
Modified: 2024-05-21 23:05 UTC (History)
2 users (show)

See Also:


Attachments
trivial update of Makefile and distinfo (1.50 KB, patch)
2024-05-08 05:51 UTC, Alessandro Sagratini
ale_sagra: maintainer-approval+
Details | Diff
trivial update of Makefile and distinfo (2.61 KB, patch)
2024-05-13 15:34 UTC, Alessandro Sagratini
ale_sagra: maintainer-approval+
Details | Diff
trivial update of Makefile and distinfo (1.51 KB, patch)
2024-05-21 18:25 UTC, Alessandro Sagratini
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Sagratini 2024-05-08 05:51:30 UTC
Created attachment 250524 [details]
trivial update of Makefile and distinfo
Comment 1 Joel Bodenmann freebsd_committer freebsd_triage 2024-05-08 20:27:42 UTC
Hi,

Did you run this through poudriere-testport?
Getting some QA issue on my end:

> Error: RubyGem dependency psych < 5.1.2 is not satisfied.
Comment 2 Alessandro Sagratini 2024-05-09 06:46:46 UTC
That error might be thrown because textproc/rubygem-psych is 5.1.2 and this port expects a version between 5.0.1 and 5.1.1 as for the gemspec:
https://github.com/oracle/oci-ruby-sdk/blob/master/oci.gemspec#L30

What's your recommendation about it? Thank you
Comment 3 Joel Bodenmann freebsd_committer freebsd_triage 2024-05-12 16:58:15 UTC
The ideal case would be to patch upstream and updating the port once upstream was patched.
However, depending upstream that can take a while™. In such a case, you'd typically maintain a local patch within the port itself.

A quick glance over the psych commit history would suggest that updating from 5.1.1 to 5.1.2 is relatively safe.
Comment 4 Alessandro Sagratini 2024-05-13 15:34:58 UTC
Created attachment 250620 [details]
trivial update of Makefile and distinfo

Thanks a lot for the feedback Joel! I am attaching a new patch to this bug, let me know if it also fixes the issue for you
Comment 5 Alessandro Sagratini 2024-05-20 06:55:39 UTC
Hello jbo@, did you have a chance to look into the updated patch? Thank you
Comment 6 Joel Bodenmann freebsd_committer freebsd_triage 2024-05-20 12:32:57 UTC
Apologies - I haven't.
I'm currently moving to a different apartment. That is eating up a ton of time.

I'll try to get to this tomorrow.
Comment 7 Alessandro Sagratini 2024-05-20 12:50:51 UTC
no worries, let me know when you have time to check it and if there's any other change I should make to the patch!

Thank you
Comment 8 Alessandro Sagratini 2024-05-21 18:17:27 UTC
hi jbo@, I saw the package was already patched upsteeam to support the correct psych gem version, please find the commit here [1]

do you agree it's better to bump directly to the latest upstream version so we don't have to create a local patch that will be removed in the next port update?

Thank you

[1] https://github.com/oracle/oci-ruby-sdk/commit/53b657ac79cff02c4d4c9266e5fdb612d29180c2
Comment 9 Alessandro Sagratini 2024-05-21 18:25:55 UTC
Created attachment 250859 [details]
trivial update of Makefile and distinfo

I updated the patch for latest version, 2.21.1 :)
Comment 10 Joel Bodenmann freebsd_committer freebsd_triage 2024-05-21 22:43:04 UTC
That is indeed the correct thing to do :)
Comment 11 commit-hook freebsd_committer freebsd_triage 2024-05-21 23:05:00 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=60fbd70ebe977098c79d0933c0bc07b40150ced7

commit 60fbd70ebe977098c79d0933c0bc07b40150ced7
Author:     Alessandro Sagratini <ale_sagra@hotmail.com>
AuthorDate: 2024-05-21 18:21:38 +0000
Commit:     Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2024-05-21 22:59:57 +0000

    devel/rubygem-oci: Update to 2.21.1

    Changelog:
      v2.21.1: https://github.com/oracle/oci-ruby-sdk/releases/tag/v2.21.1
      v2.21.0: https://github.com/oracle/oci-ruby-sdk/releases/tag/v2.21.0

    PR:             278850
    Approved by:    tcberner (mentor, implicit)

 devel/rubygem-oci/Makefile | 5 +++--
 devel/rubygem-oci/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)
Comment 12 Joel Bodenmann freebsd_committer freebsd_triage 2024-05-21 23:05:33 UTC
Committed - Thanks!

I have updated the git author e-mail address to match your MAINTAINER= field as well as your bugzilla e-mail address.

There was also a typo in the commit message (rubygen).