Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[MRG] MNT create issue templates with automatic tagging #16053

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

Merged
merged 14 commits into from
Jan 13, 2020

Conversation

glemaitre
Copy link
Member

@glemaitre glemaitre commented Jan 8, 2020

closes #14881

Add a couple of issue template which can help for automatically labelling some issues and sometimes redirect users.

@glemaitre
Copy link
Member Author

glemaitre commented Jan 8, 2020

Comment on lines 11 to 13
- **StackOverflow with the scikit-learn tag: https://stackoverflow.com/questions/tagged/scikit-learn**
- **Gitter: https://gitter.im/scikit-learn/scikit-learn**
- **Mailing List: https://mail.python.org/mailman/listinfo/scikit-learn**
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a comment / question : the order means a priority? Which of those channels is the most reliable for the core-devs? That one should go first, probably...

Copy link
Member Author

Choose a reason for hiding this comment

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

I did not put any order indeed.

Even if I am sometimes disappointed with some SO answers, this might be the channel the most reliable to get an answer fast (maybe the wrong one :)).

Copy link
Member Author

Choose a reason for hiding this comment

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

I put it in the order that I would think the best but this is opened to discucssion :)

Copy link
Member

Choose a reason for hiding this comment

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

I think we should favor SO first because of google-ability and reuse of past answers.

@thomasjpfan
Copy link
Member

thomasjpfan commented Jan 8, 2020

I uploaded these template to a test repo to see what it looks like.

Do we need the titles to be tagged with [DOC], [ENH], etc?

@glemaitre
Copy link
Member Author

glemaitre commented Jan 8, 2020 via email

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

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

Nice :)

@glemaitre glemaitre changed the title MNT create issue templates with automatic tagging [MRG] MNT create issue templates with automatic tagging Jan 9, 2020
Copy link
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

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

Otherwise lgtm

@@ -0,0 +1,10 @@
---
name: Other (blank template)
Copy link
Member

Choose a reason for hiding this comment

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

Not sure we need this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Do you mean the template as a whole or the "(blank template)" sentence?

Copy link
Member

Choose a reason for hiding this comment

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

This probably fits a bunch of issues maintainers create. We could try and fit our own issues in the other categories, but I guess having this wouldn't hurt. No strong opinion though.

Copy link
Member Author

Choose a reason for hiding this comment

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

Do we want to add an RFC (whatever RFC means)?

Copy link
Member Author

Choose a reason for hiding this comment

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

C -> changes or comments :)

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

This looks great

Shouldn't the text in the templates be written as comments? Else it will show up often since users won't delete it, and create noise

We could also add a quick sentence asking users to look for previous issues / PRs

@glemaitre
Copy link
Member Author

I address @NicolasHug adding comment tag to avoid noise. I added a template for the RFC.
Are we fine to merge this first version?

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

happy to merge but I'd remove the RFC template since it's empty and there is already the blank template

@glemaitre
Copy link
Member Author

OK done now.

evaluate_every=10,
n_jobs=4,
)
model = lda_model.fit(lda_features)
Copy link
Member

Choose a reason for hiding this comment

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

This example could be simplified to use np.ranom.RandomState(42).normal(size=(n_samples, n_features)) and a more common estimator such as RandomForestClassifier instead. But let's do that in a later PR.

Comment on lines 11 to 13
- **StackOverflow with the scikit-learn tag: https://stackoverflow.com/questions/tagged/scikit-learn**
- **Gitter: https://gitter.im/scikit-learn/scikit-learn**
- **Mailing List: https://mail.python.org/mailman/listinfo/scikit-learn**
Copy link
Member

Choose a reason for hiding this comment

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

I think we should favor SO first because of google-ability and reuse of past answers.

Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

I would also remove the RFC template. I think core-devs would naturally use the blank template when they want to open an RFC.

@glemaitre glemaitre merged commit 8e61534 into scikit-learn:master Jan 13, 2020
@glemaitre
Copy link
Member Author

OK I applied the changes and remove the RFC, let's go live to see how it looks like

@amueller
Copy link
Member

this is awesome!

@jnothman
Copy link
Member

jnothman commented Jan 13, 2020 via email

thomasjpfan pushed a commit to thomasjpfan/scikit-learn that referenced this pull request Feb 22, 2020
panpiort8 pushed a commit to panpiort8/scikit-learn that referenced this pull request Mar 3, 2020
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.

Use new issue templates?
8 participants