storeapi: reduce the amount of constants and their meaning
Metadata
Current evaluation
Merged PR #3442 in commit cee67ae16, reducing storeapi URL constants to root URLs, using full endpoint paths where needed, and renaming constants for backend clarity.
Resolution: closed resolved
Reason: PR #3442 was approved and merged as commit cee67ae16, implementing the storeapi constant and endpoint-path cleanup across 13 files.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Simplify the use of constants to root urls only, using full endpoint
paths where relevant. Rename the constants to reflect the backend
naming for clarity.
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3442 in commit cee67ae16, reducing storeapi URL constants to root URLs, using full endpoint paths where needed, and renaming constants for backend clarity. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3442 (cee67ae16), simplifying storeapi to root URL constants and backend-aligned names while using full endpoint paths where needed. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after review and CI approval. Simplified storeapi URL constants to root URLs only, using full endpoint paths directly. Renamed constants for backend alignment, reducing 55 lines across 13 files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes that simplify storeapi URL constants to root URLs only, apply full endpoint paths where needed, and rename constants to match backend naming for improved clarity. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3667 storeapi: fix typo | snapcraft | merged | Merged PR #3667 via commit 911bf4698 (merge 0224b48ea), correcting a typo in the storeapi module. |