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

(CAT-1796) Fix missing locale gem #1337

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Conversation

LukasAud
Copy link
Contributor

@LukasAud LukasAud commented Apr 10, 2024

Following some investigation, it was noted that
the pdk gem could not work correctly when analytics were enabled. This was due to the fact that the
locale gem was missing for its correct operation.

This commit adds the locale gem to the pdk.gemspec to solve the current issue.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

Following some investigation, it was noted that
the pdk gem could not work correctly when analytics
were enabled. This was due to the fact that the
locale gem was missing for its correct operation.

This commit adds the locale gem to the pdk.gemspec
to solve the current issue.
@LukasAud LukasAud requested a review from a team as a code owner April 10, 2024 06:51
Copy link

codecov bot commented Apr 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.51%. Comparing base (3babe3c) to head (9157916).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1337   +/-   ##
=======================================
  Coverage   88.51%   88.51%           
=======================================
  Files         133      133           
  Lines        5666     5666           
=======================================
  Hits         5015     5015           
  Misses        651      651           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@david22swan david22swan merged commit fe0f662 into main Apr 10, 2024
11 checks passed
@david22swan david22swan deleted the CAT-1796-Fix_missing_gem branch April 10, 2024 08:44
@Magisus
Copy link

Magisus commented Apr 11, 2024

This version of the locale gem (currently 2.1.4) triggers a license violation in CD4PE's Mend scans. There isn't a "fixed" version to go to, so we may need to get an exception or something. Just wanted to note that this might cause wider issues.
image

I think we had perhaps heard that there was talk of removing the analytics code that relies on this, since those are disabled by default and aren't really used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants