-
Notifications
You must be signed in to change notification settings - Fork 56
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
graph-builder: add plugin to fetch openshift/cincinnati-graph-data from github #226
graph-builder: add plugin to fetch openshift/cincinnati-graph-data from github #226
Conversation
1986e46
to
609d747
Compare
609d747
to
9b9ac02
Compare
9a8ee92
to
f4e4630
Compare
the /verify-owners |
The following users are mentioned in OWNERS file(s) but are not members of the openshift org. Once all users have been added as members of the org, you can trigger verification by writing
|
f4e4630
to
ebccd1b
Compare
graph-builder/src/plugins/openshift_secondary_metadata_parser/plugin.rs
Outdated
Show resolved
Hide resolved
ebccd1b
to
fd2c2c9
Compare
graph-builder/src/plugins/openshift_secondary_metadata_parser/plugin.rs
Outdated
Show resolved
Hide resolved
fd2c2c9
to
3b57f8a
Compare
f57adee
to
e6110a1
Compare
e6110a1
to
4153270
Compare
2985759
to
2b9fe9d
Compare
827707c
to
d1bb43f
Compare
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than a few typos
graph-builder/src/plugins/github_openshift_secondary_metadata_scraper/mod.rs
Outdated
Show resolved
Hide resolved
graph-builder/src/plugins/github_openshift_secondary_metadata_scraper/plugin.rs
Outdated
Show resolved
Hide resolved
graph-builder/src/plugins/github_openshift_secondary_metadata_scraper/plugin.rs
Outdated
Show resolved
Hide resolved
graph-builder/src/plugins/github_openshift_secondary_metadata_scraper/github_v3.rs
Outdated
Show resolved
Hide resolved
I'm not too happy about binding Cincinnati to Github. Could it be reworked into a generic git repo (use clone instead of fetching data as a tarball)? This would make disconnected installs easier |
d1bb43f
to
98c3b0f
Compare
I understand your concern and I can assure you that making GitHub a hard requirement is not a goal. |
Ah, that makes sense (since data would be basically checked out files if I understood correctly) |
Add a github_openshift_secondary_metadata_scraper plugin: * Implement github v3 API helper module with deserialization tests * Implement plugin logic * Test to fetch production data from https://github.com/openshift/cincinnati-graph-data This plugin is in prepration for a subsequent plugin which will be able to parse the fetched data.
98c3b0f
to
4f0e1ed
Compare
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: steveeJ, vrutkovs The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Add a github_openshift_secondary_metadata_scraper plugin:
https://github.com/openshift/cincinnati-graph-data
This plugin is in preparation for a subsequent plugin which will be able
to parse the fetched data.
Independent tests? e.g. mock Github API and have a custom generated tarball?Change graph-builder default configuration to use these plugins instead of the quay secondary metadata fetchermoved to graph-builder: use openshift/cincinnati-graph-data instead of quay labels #232.