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

Make ofborg able to (un)label issues and PRs #164

Closed
wants to merge 2 commits into from
Closed

Conversation

Ekleog
Copy link
Member

@Ekleog Ekleog commented Apr 26, 2018

This PR adds an @ofborg label [label-id] command that tags the PR/issue as label (after a label-idlabel translation phase), via a dedicated worker so that response can be instantaneous even if the builders are all in use.

Still missing:

  • Authentication
  • Having someone who actually knows a bit about AMQP proofread the code
  • Loading the tag id -> tag association from a file

Review should be easier commit-by-commit :)

(This builds upon #124)

Copy link
Member

@LnL7 LnL7 left a comment

Choose a reason for hiding this comment

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

Looks good, but I can't say much about the consumer part.

@@ -24,6 +24,7 @@ hubcaps = { git = "https://github.com/grahamc/hubcaps.git" }
hyper = "0.10.*"
hyper-native-tls = "0.2.4"
lru-cache = "0.1.1"
nom = "4.0.0-beta3"
Copy link
Member

Choose a reason for hiding this comment

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

The carnix expressions should also be updated.

let mut channel = session.open_channel(1).unwrap();

// TODO: I have no idea what I'm doing, this is basically github-comment-parser
// adapted in a "let's hope this will work" fashion.
Copy link
Member

Choose a reason for hiding this comment

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

@grahamc Could you take a look at this (mostly the last commit).

@timokau
Copy link
Member

timokau commented Aug 9, 2018

Why was this closed?

@grahamc
Copy link
Member

grahamc commented Aug 9, 2018 via email

@timokau
Copy link
Member

timokau commented Aug 9, 2018

Couldn't the base just be changed then?

@grahamc
Copy link
Member

grahamc commented Aug 9, 2018 via email

@Ekleog Ekleog mentioned this pull request Aug 10, 2018
3 tasks
@Ekleog
Copy link
Member Author

Ekleog commented Aug 10, 2018

I've reopened as #216 ; sorry for not having found time to get back to this yet :)

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

4 participants