storeapi: auth client for api.snapcraft.io
Metadata
Current evaluation
Merged into master. The pull request adds an authentication client for api.snapcraft.io with a single-line change. Codecov reported 100% diff coverage with no overall coverage impact. Closed after successful merge.
Suggested action: —
No scores available.
Issue body
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
-------
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged into master. The pull request adds an authentication client for api.snapcraft.io with a single-line change. Codecov reported 100% diff coverage with no overall coverage impact. Closed after successful merge. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master. Adds an authentication client for api.snapcraft.io to the storeapi module. Code coverage remained unchanged at 100% for the diff. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged to master. Adds an authentication client for api.snapcraft.io to the storeapi module. Codecov reported 100% diff coverage with no overall impact. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3686 storeapi: export SnapAPI | snapcraft | merged | Merged into snapcraft/7.0 after maintainer approval. Exports the SnapAPI from the storeapi module across four files. CI passed, review approved, and code coverage increased by 0.05%. | |
| #3452 storeapi: decouple auth and API | snapcraft | merged | Merged changes decoupling authentication from API logic. Introduces a centralized Authorization component for token handling and request wrapping, simplifies login primitives, and refactors 24 files. Approved by reviewers, passed CI, and integrated into master. | |
| #3448 storeapi: rename SnapClientIndex to SnapAPI | snapcraft | merged | Merged changes renaming SnapClientIndex to SnapAPI to align with the api.snapcraft.io client interface. Docstrings were updated across six files. Approved by a reviewer and passed all CI checks. | |
| #3687 storeapi: environment variable for auth selection | snapcraft | merged | Merged into snapcraft/7.0. Introduces an environment variable for authentication selection in the storeapi module. Approved by reviewer, passed CI checks, and maintained existing code coverage. | |
| #3472 storeapi: move http client and auth to http_clients package | snapcraft | merged | Merged refactoring moving HTTP clients and auth logic to a new http_clients package. Migrates snapcraft.config.Config to an abstract base class, removes unused local credentials, and passes all reviews and CI. |