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

Adding httputil and version packages to master #606

Merged
merged 1 commit into from
Sep 6, 2018

Conversation

MackJM
Copy link
Contributor

@MackJM MackJM commented Sep 5, 2018

  • Debian/RHEL/Oracle vulnsrc now use httputil to download files
  • httputil sets the User-Agent to the requests as Clair/ (https://github.com/coreos/clair)
  • httputil holds Status2xx() which returns if the response is a http success (2xx)
  • GetClientAddr moved from api/httputil to pkg/httputil
  • the version packge holds a Version string which is set at build time from the git tag and sha
  • the .git directory was removed from .dockerignore so that we can use the git tag to set the version

- Debian/RHEL/Oracle vulnsrc now use httputil to download files
- httputil sets the User-Agent to the requests as Clair/<version> (https://github.com/coreos/clair/)
- httputil holds Status2xx() which returns if the response is a http success (2xx)
- GetClientAddr moved from api/httputil to pkg/httputil
- the version packge holds a Version string which is set at build time from the git tag and sha
- the .git directory was removed from .dockerignore so that we can use the git tag to set the version
Copy link
Contributor

@jzelinskie jzelinskie left a comment

Choose a reason for hiding this comment

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

LGTM

@jzelinskie jzelinskie merged commit 06b257c into quay:master Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants