Skip to content

Do not use paginated versions endpoint #216

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

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

MarcelGeo
Copy link
Contributor

@MarcelGeo MarcelGeo commented Sep 5, 2024

Resolves #214

Changes:

  • CLI: update show version command to call project_version_info object
  • CLIENT: upgrade project_version_info api call to use get byt version name endpoint instead of paginated version
  • TEST: don't use paginated endpoint in tests
  • TEST: make tests runnable with other username, than test_plugin

Fix 🐛

  • There was Error in CLI, If you asked version number (e.g. v1) Detail: Wrong type, expected 'integer' for query parameter 'page' - show-version was not running properly.

Minor:

  • add year to copyright :)

Related to: https://github.com/MerginMaps/server/pull/275/files

- CLI: update show version command to call project_version_info object
- CLIENT: upgrade project_version_info api call to use get byt version name endpoint instead of paginated version
- TEST: don't use paginated endpoint in tests
- TEST: make tests runnable with other username, than test_plugin
Minor:
- add year to copyright :)
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10716697553

Details

  • 25 of 28 (89.29%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 79.011%

Changes Missing Coverage Covered Lines Changed/Added Lines %
mergin/cli.py 0 3 0.0%
Totals Coverage Status
Change from base Build 10670619045: 0.02%
Covered Lines: 3196
Relevant Lines: 4045

💛 - Coveralls

@MarcelGeo MarcelGeo merged commit fc2403b into master Sep 6, 2024
4 checks passed
@MarcelGeo MarcelGeo deleted the gh#214-versions-api-upgrade branch September 6, 2024 07:45
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.

Don't use paginated versions in cli:show_version
3 participants