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

Installation script for labels in a test github repo #557

Closed
karlcow opened this issue Feb 12, 2015 · 6 comments
Closed

Installation script for labels in a test github repo #557

karlcow opened this issue Feb 12, 2015 · 6 comments

Comments

@karlcow
Copy link
Member

karlcow commented Feb 12, 2015

This is related to #436
Currently someone who want to hack on the project would have to create by hand all the labels.
It has a couple of consequences:

  • cumbersome
  • prone to errors
  • not easy for first timers

We may want to create an initialization script for it.

@miketaylr
Copy link
Member

💯

@miketaylr
Copy link
Member

To accomplish this there would probably be a few steps involved:

We have some code at https://github.com/webcompat/issue-importer which adds labels to issues if that's helpful to look at, and these docs cover the issue labels API https://developer.github.com/v3/issues/labels/

@miketaylr
Copy link
Member

Bonus points for not hard-coding the labels to be added, but fetching them from the webcompat-tests repo via GitHub's API.

dshgna pushed a commit to dshgna/webcompat.com that referenced this issue Mar 9, 2016
dshgna pushed a commit to dshgna/webcompat.com that referenced this issue Mar 9, 2016
dshgna pushed a commit to dshgna/webcompat.com that referenced this issue Mar 10, 2016
dshgna pushed a commit to dshgna/webcompat.com that referenced this issue Mar 11, 2016
@dshgna
Copy link
Contributor

dshgna commented Mar 14, 2016

@karlcow @miketaylr I think it may be a good idea if the user had the option to pre-populate the repo with some existing issues. What do you think?

@karlcow
Copy link
Member Author

karlcow commented Mar 15, 2016

@dshgna Open a new issue about it :)

@karlcow
Copy link
Member Author

karlcow commented Mar 15, 2016

@dshgna when you have fixed the comments issue I'm giving it a r+
Thanks for the hard work.

Then we need to solve this issue I just created and we can put your script at an appropriate place.
#965

dshgna pushed a commit to dshgna/webcompat.com that referenced this issue Mar 15, 2016
…repo

Issue webcompat#557: Add exception handling

Issue webcompat#557: Use sys.exit() instead of return None

Fixed comment styling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants