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

Deprecate old db #1053

Closed
wants to merge 6 commits into from
Closed

Deprecate old db #1053

wants to merge 6 commits into from

Conversation

thamara
Copy link
Collaborator

@thamara thamara commented Jan 8, 2024

Related issue

Closes #935.

Context / Background

The old database format (fixed in 4 entries) is in deprecation since may of 2021, as we move with other features, it's time to remove any mention/handling of such database.

What change is being introduced by this PR?

Removed related code and unnecessary strings.

How will this be tested?

Hopefully with the CI. :)

Copy link

codecov bot commented Jan 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.29%. Comparing base (c95578c) to head (8e8f384).
Report is 45 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1053      +/-   ##
==========================================
+ Coverage   79.36%   81.29%   +1.93%     
==========================================
  Files          19       20       +1     
  Lines        1231     1203      -28     
  Branches      183      176       -7     
==========================================
+ Hits          977      978       +1     
+ Misses        254      225      -29     

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

Copy link
Collaborator

@tupaschoal tupaschoal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't fully check if all the removed strings were removed from the translation, but overall seems good to go!

@@ -144,26 +130,12 @@ function importDatabaseFromFile(filename)
}
else
{
assert(entry.type === 'flexible');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we write something on the test that hit this assert?

js/import-export.js Show resolved Hide resolved
js/import-export.js Show resolved Hide resolved
js/import-export.js Show resolved Hide resolved
__tests__/__main__/validate-json.js Show resolved Hide resolved
@tupaschoal
Copy link
Collaborator

I have solved merge conflicts here and the issues raised on #1095 , so I'm closing this PR

@tupaschoal tupaschoal closed this Dec 26, 2024
@tupaschoal tupaschoal deleted the deprecate-old-db branch December 26, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate old database references
3 participants