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

Add issue templates and update CODEOWNERS for auto labeling and assigning - non-collaborators cant add labels or assignees #2111

Closed
wants to merge 1 commit into from

Conversation

KoenBal
Copy link
Contributor

@KoenBal KoenBal commented Dec 6, 2019

Expected Behavior
Non-collaborators (non repo members) SBAT assign labels and an assignee.
A non-collaborator (NC) is someone who is not added as a collaborator under settings on the project.

Current Behavior
An NC can't add labels or assignee to issues or PRs.
Confirmed in help:
Anyone with read access to a repository can view and search the repository’s labels. To create, edit, apply, or delete a label, you must have write access to the repository.

personal note: I (a new repo contributor) am not certain which label to assign or am not comfortable to push my issue in someone's bucket if I'm not sure if he/she is working on part X of the project or I don't know her/him.

Ideas:
All guidance is welcome for newcomers. Auto assigning assignees and labels would be the way to go.

a possible solution for issues:
issue templates for your repo

⚠️ This will change the issue creation flow for everyone check how creating an issue flow looks in my repo. (Assignee and Label will not work because the users are not available.) Creating issues and PRs should improve for non-collaborators but it should not get less productive for collaborators... im aware that an extra step is created. What do you think?

Other ideas (not further explored)
Use a issue actions?

A possible solution adding assignees to PRs:
The CODEOWNERS file (which is already implemented).
Updated such that each PR will receive a reviewer from now on. Code owners for each package should be checked though.

Note that PRs do not get labels assigned! This could be done using actions.

Other ideas (not further explored)
A Probot app that adds reviewers to pull requests when pull requests are opened
Monorepo PR repo labeler
Other PR actions?

@timmoreton @asaj

@KoenBal KoenBal changed the title WIP - Add issue templates because non-collaborators cant add labels or assignees WIP - Add issue templates and update CODEOWNERS because non-collaborators cant add labels or assignee Dec 6, 2019
@codecov
Copy link

codecov bot commented Dec 7, 2019

Codecov Report

Merging #2111 into master will decrease coverage by 0.42%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2111      +/-   ##
==========================================
- Coverage   74.87%   74.45%   -0.43%     
==========================================
  Files         281      281              
  Lines        7805     7817      +12     
  Branches      686      685       -1     
==========================================
- Hits         5844     5820      -24     
- Misses       1845     1880      +35     
- Partials      116      117       +1
Flag Coverage Δ
#mobile 74.45% <ø> (-0.43%) ⬇️
Impacted Files Coverage Δ
packages/mobile/src/identity/verification.ts 64.97% <0%> (-15.71%) ⬇️
packages/mobile/src/identity/smsRetrieval.ts 44.44% <0%> (-11.12%) ⬇️
packages/mobile/src/identity/reducer.ts 48.14% <0%> (-1.86%) ⬇️
packages/mobile/src/networkInfo/saga.ts 32.25% <0%> (-1.08%) ⬇️
packages/mobile/src/import/ImportWalletEmpty.tsx 78.78% <0%> (-0.63%) ⬇️
packages/mobile/src/geth/networkConfig.ts 100% <0%> (ø) ⬆️
packages/mobile/src/identity/contactMapping.ts 88.59% <0%> (+0.1%) ⬆️
packages/mobile/src/localCurrency/saga.ts 69.23% <0%> (+1.37%) ⬆️
packages/mobile/src/identity/commentKey.ts 42.85% <0%> (+4.39%) ⬆️
packages/mobile/src/import/ImportWallet.tsx 95.83% <0%> (+5.44%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2db852...a641df6. Read the comment docs.

Comment on lines +5 to +9
# These owners will be the default owners for everything in
# the repo. Unless a later match takes precedence,
# @XXXX will be requested for
# review when someone opens a pull request.
* @timmoreton
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Add a default owner such that a PR always gets an assignee. Appologies to put you here :).

Comment on lines +13 to +21
/packages/attestation-service/ @timmoreton
/packages/blockchain-api/ @jmrossy @cmcewen
/packages/celotool/ @timmoreton
/packages/cli/ @mcortesi @asaj
/packages/contractkit/ @timmoreton
/packages/dappkit/ @timmoreton
/packages/dev-utils/ @timmoreton
/packages/docs/ @timmoreton @cla-bel
/packages/faucet/ @timmoreton
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added all the missing packages. Names should still be correctly assigned.

Comment on lines +19 to +20
/packages/dev-utils/ @timmoreton
/packages/docs/ @timmoreton @cla-bel
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Should docs be subdivided? Any suggestions?

…gning - non-collaborators cant add labels or assignees
Comment on lines +5 to +6
labels: cli
assignees: mcortesi, asaj
Copy link
Contributor Author

@KoenBal KoenBal Dec 7, 2019

Choose a reason for hiding this comment

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

Syntax for multiple assignees should be tested. This could not be tested in own repo because users are not available.

@KoenBal KoenBal changed the title WIP - Add issue templates and update CODEOWNERS because non-collaborators cant add labels or assignee Add issue templates and update CODEOWNERS for auto labeling and assigning - non-collaborators cant add labels or assignees Dec 7, 2019
@timmoreton timmoreton self-assigned this Dec 9, 2019
@barbaraliau barbaraliau added the enhancement an improvement to an existing feature label Nov 7, 2020
@barbaraliau
Copy link
Contributor

Closing as this is stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement an improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants