Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

githubmunger: label PRs based on certain files touched #79

Closed

Conversation

eparis
Copy link
Contributor

@eparis eparis commented Sep 12, 2015

Start with just proposals and changes to the API.

@eparis
Copy link
Contributor Author

eparis commented Sep 12, 2015

kubernetes/kubernetes#11280: would have added label kind/api-change
kubernetes/kubernetes#11838: would have added label kind/api-change
kubernetes/kubernetes#11980: would have added label kind/design
kubernetes/kubernetes#12187: would have added label kind/api-change
kubernetes/kubernetes#12324: would have added label kind/new-api
kubernetes/kubernetes#12324: would have added label kind/api-change
kubernetes/kubernetes#12470: would have added label kind/api-change
kubernetes/kubernetes#12599: would have added label kind/api-change
kubernetes/kubernetes#12655: would have added label kind/api-change
kubernetes/kubernetes#12717: would have added label kind/api-change
kubernetes/kubernetes#12802: would have added label kind/design
kubernetes/kubernetes#12810: would have added label kind/design
kubernetes/kubernetes#12823: would have added label kind/api-change
kubernetes/kubernetes#12823: would have added label kind/design
kubernetes/kubernetes#12825: would have added label kind/new-api
kubernetes/kubernetes#12825: would have added label kind/api-change
kubernetes/kubernetes#12827: would have added label kind/design
kubernetes/kubernetes#12894: would have added label kind/api-change
kubernetes/kubernetes#12919: would have added label kind/api-change
kubernetes/kubernetes#12944: would have added label kind/design
kubernetes/kubernetes#13006: would have added label kind/design
kubernetes/kubernetes#13010: would have added label kind/design
kubernetes/kubernetes#13010: would have added label kind/api-change
kubernetes/kubernetes#13037: would have added label kind/new-api
kubernetes/kubernetes#13037: would have added label kind/api-change
kubernetes/kubernetes#13040: would have added label kind/new-api
kubernetes/kubernetes#13040: would have added label kind/api-change
kubernetes/kubernetes#13040: would have added label kind/design
kubernetes/kubernetes#13254: would have added label kind/new-api
kubernetes/kubernetes#13254: would have added label kind/api-change
kubernetes/kubernetes#13259: would have added label kind/new-api
kubernetes/kubernetes#13259: would have added label kind/api-change
kubernetes/kubernetes#13447: would have added label kind/api-change
kubernetes/kubernetes#13512: would have added label kind/api-change
kubernetes/kubernetes#13512: would have added label kind/new-api
kubernetes/kubernetes#13512: would have added label kind/design
kubernetes/kubernetes#13524: would have added label kind/design
kubernetes/kubernetes#13615: would have added label kind/design
kubernetes/kubernetes#13622: would have added label kind/new-api
kubernetes/kubernetes#13622: would have added label kind/api-change
kubernetes/kubernetes#13649: would have added label kind/api-change
kubernetes/kubernetes#13691: would have added label kind/api-change
kubernetes/kubernetes#13693: would have added label kind/design
kubernetes/kubernetes#13778: would have added label kind/api-change
kubernetes/kubernetes#13780: would have added label kind/api-change
kubernetes/kubernetes#13823: would have added label kind/new-api
kubernetes/kubernetes#13823: would have added label kind/api-change
kubernetes/kubernetes#13840: would have added label kind/api-change
kubernetes/kubernetes#13853: would have added label kind/api-change

@eparis
Copy link
Contributor Author

eparis commented Sep 12, 2015

@bgrant0607 at least a potential for #73

@eparis
Copy link
Contributor Author

eparis commented Sep 12, 2015

(before we run this, we'd need to create the new kind/* labels over there)

@bgrant0607
Copy link
Contributor

Cool! I sampled several of the PRs and they look right to me.

Reassigning to @brendandburns to review the actual munger.

@bgrant0607
Copy link
Contributor

New labels created.

@eparis
Copy link
Contributor Author

eparis commented Sep 16, 2015

will rebase right now against munger changes.

@eparis eparis force-pushed the label-based-on-files-touched branch from 7e0e297 to d767ce8 Compare September 16, 2015 20:59
@eparis
Copy link
Contributor Author

eparis commented Sep 16, 2015

@brendandburns ready for review. (I'm am working on a follow on PR to move the file->label map out of the code and into a config file.)

)

var (
_ = fmt.Print
Copy link
Contributor

Choose a reason for hiding this comment

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

what does this do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It makes it so I can add/remove fmt.Print lines to debug without the compiler whining the "fmt" is unused.

@brendandburns
Copy link
Contributor

Basically LGTM. I'm ok w/ the config file as a separate PR, but the next time you change that map I'm going to require it :P

Start with just proposals and changes to the API.
This is quickly going to get out of date...
@eparis eparis force-pushed the label-based-on-files-touched branch from d767ce8 to 5c19c57 Compare September 17, 2015 00:35
@eparis
Copy link
Contributor Author

eparis commented Sep 17, 2015

Fixed name. #87 moves it from a map in the go file to outside. Hopefully makes things easier to review.

@eparis eparis closed this Sep 22, 2015
@eparis eparis deleted the label-based-on-files-touched branch September 23, 2015 14:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants