Skip to content

Comments

Add User agent#265

Open
bhcopeland wants to merge 2 commits intokernelci:mainfrom
bhcopeland:add-user-agent-header
Open

Add User agent#265
bhcopeland wants to merge 2 commits intokernelci:mainfrom
bhcopeland:add-user-agent-header

Conversation

@bhcopeland
Copy link
Member

Use a requests.Session with a User-Agent header following the standard
ProductName/Version convention (RFC 7231).

I also moved away from main.py to pyproject.toml as the sole of truth in regards to versioning

Use kcidev_version from importlib.metadata instead, making pyproject.toml
the single source of truth for the package version.

Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
Use a requests.Session with a User-Agent header following the standard
ProductName/Version convention (RFC 7231).

Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
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.

1 participant