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

eval: partially split up github interactions #535

Open
wants to merge 12 commits into
base: released
Choose a base branch
from

Conversation

LnL7
Copy link
Member

@LnL7 LnL7 commented Nov 3, 2020

No description provided.

Copy link
Member

@cole-h cole-h left a comment

Choose a reason for hiding this comment

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

LGTM. Are those TODOs for this PR, or a future one?

@LnL7
Copy link
Member Author

LnL7 commented Nov 7, 2020

@cole-h This is pretty much everything that doesn't spill over into other parts of the code. Doesn't really matter to me to keep working in small chunks on a branch or merge them in one by one.

@cole-h
Copy link
Member

cole-h commented Nov 7, 2020

I personally think it might be better to merge them all at once, if you're fine with that. The split doesn't (or shouldn't) impact anything functionality-wise, so I don't think there's a need to merge the little changes "ASAP".

Copy link
Member

@cole-h cole-h left a comment

Choose a reason for hiding this comment

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

Overall LGTM. A suggestion and a couple questions.

ofborg/src/tasks/eval/nixpkgs.rs Outdated Show resolved Hide resolved
@@ -495,8 +499,8 @@ fn schedule_builds(
response
}

pub fn make_gist<'a>(
gists: &hubcaps::gists::Gists<'a>,
pub fn make_gist(
Copy link
Member

Choose a reason for hiding this comment

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

Any reason to not make this a method on the Client trait that takes an &self?

for maintainer in maint.maintainers() {
if let Ok(meta) = &pull_meta {
fn request_reviews(
repo_client: &dyn ghrepo::Client,
Copy link
Member

Choose a reason for hiding this comment

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

Same here, any reason not to make this a trait method for Client?

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.

None yet

2 participants