Merge ~lucaskanashiro/ubuntu/+source/puppet:fix-links-issue into ubuntu/+source/puppet:ubuntu/devel
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | ~lucaskanashiro/ubuntu/+source/puppet:fix-links-issue | ||||
Merge into: | ubuntu/+source/puppet:ubuntu/devel | ||||
Diff against target: |
60 lines (+38/-0) 3 files modified
debian/changelog (+6/-0) debian/patches/0019-Set-file-links-attribute-to-manage-by-default.patch (+31/-0) debian/patches/series (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Athos Ribeiro (community) | Approve | ||
Canonical Server MOTU reviewers | Pending | ||
git-ubuntu import | Pending | ||
Review via email: mp+424107@code.launchpad.net |
Description of the change
Fixes file's link attribute with ruby 3.0. This patch is not present in the upstream source tree nor in Debian, upstream does support ruby 3.0 properly but in the newer version (7.x) and Debian maintainers are still trying to move to that version (not willing to support 5.x). However, we are stuck to 5.x in Jammy and I believe kinetic will be released with the same version, so we need to make it work with ruby 3.0.
The patch I am proposing here is a workaround to this bug and it was tested by some users in LP #1969939. They do not find any issue with that but since this is a handcrafted patch there is always the risk to introduce unexpected behavior.
PPA with the proposed package:
https:/
autopkgtest summary:
autopkgtest [17:08:06]: @@@@@@@
command1 PASS
command2 PASS
command3 PASS
command4 PASS
command5 PASS
Thanks, Lucas!
I looked for a change fixing the issue upstream. Then I realized this fixes a regression introduced by debian/ patches/ 0017-PUP- 10537-keyword- param-as- last-arg. patch. This patch was backported from upstream's 6.x and the APIs changed a lot since then.
I also screened the code for any bits that could possibly rely on the value of `links` not being set, and found no instances.
LGTM