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

fix: author marshall reported date diff for very old package releases #303

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

lirantal
Copy link
Owner

@lirantal lirantal commented Mar 4, 2024

if a package had a below 30 days time diff between author first relases to the version being grabbed, but was 8 years old on the registry then the alert would still show up.

this was fixed with a 45 days window from the released version and up to the current date as a more sane check

Description

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Checklist:

  • I have updated the documentation (if required).
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

if a package had a below 30 days time diff between author first relases to
the version being grabbed, but was 8 years old on the registry then the
alert would still show up.

this was fixed with a 45 days window from the released version and up to
the current date as a more sane check
@lirantal lirantal added the bug label Mar 4, 2024
@lirantal lirantal self-assigned this Mar 4, 2024
Copy link

codecov bot commented Mar 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.48%. Comparing base (2efc4be) to head (745f2c2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #303   +/-   ##
=======================================
  Coverage   96.48%   96.48%           
=======================================
  Files          14       14           
  Lines         398      398           
  Branches       61       61           
=======================================
  Hits          384      384           
  Misses         12       12           
  Partials        2        2           

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

@lirantal lirantal merged commit 5770c6e into main Mar 4, 2024
11 checks passed
@lirantal lirantal deleted the fix/author-marshall-first-version-bug branch March 4, 2024 06:22
Copy link

github-actions bot commented Mar 4, 2024

🎉 This PR is included in version 3.4.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

1 participant