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

chore: remove unused list_registered legacy code #4345

Merged
merged 1 commit into from
Sep 1, 2023
Merged

Conversation

sergiusens
Copy link
Collaborator

This code has since been ported to the newer instances as a Craft CLI command "names", which uses a newer implementation that does not have any reference to price.

With this we remove the last references to Price, even if unused.

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint?
  • Have you successfully run pytest tests/unit?

Fixes #4296

Copy link
Collaborator

@mr-cal mr-cal left a comment

Choose a reason for hiding this comment

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

👍 linter failure looks minor

This code has since been ported to the newer instances as a Craft CLI
command "names", which uses a newer implementation that does not have
any reference to price.

With this we remove the last references to Price, even if unused.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
@codecov-commenter
Copy link

Codecov Report

Merging #4345 (f64f729) into main (3335631) will increase coverage by 0.02%.
The diff coverage is n/a.

❗ Current head f64f729 differs from pull request most recent head f1e4e20. Consider uploading reports for the commit f1e4e20 to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

@@            Coverage Diff             @@
##             main    #4345      +/-   ##
==========================================
+ Coverage   89.12%   89.15%   +0.02%     
==========================================
  Files         300      300              
  Lines       20637    20629       -8     
==========================================
- Hits        18392    18391       -1     
+ Misses       2245     2238       -7     
Files Changed Coverage Δ
snapcraft_legacy/__init__.py 90.90% <ø> (ø)
snapcraft_legacy/_store.py 78.58% <ø> (+1.26%) ⬆️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sergiusens sergiusens merged commit 7bcd1eb into main Sep 1, 2023
11 checks passed
@sergiusens sergiusens deleted the dead-price branch September 1, 2023 20:07
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.

Make 'price' field optional (or remove it)
4 participants