-
Notifications
You must be signed in to change notification settings - Fork 235
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
Improve PR Labeling #3273
Comments
Adding good first issue label, as this is a beginner friendly issue Also, asked for help on slack: https://pecanproject.slack.com/archives/C06E3309CJK/p1709884113573149 |
I've been brainstorming about our PR labeling and came up with some ideas to tweak our process. Thought I'd share them here :
Let me know what you think. If we're on the same page, I can get started on these updates. |
Here's how I want to proceed with the 'Documentation/User':
- book_source/**
- documentation/user_guides/**
'Documentation/Developer':
- CONTRIBUTING.md
- DEBUGGING.md
- DEV-INTRO.md
# Introducing sub-categories under Models
'Models/Climate':
- models/climate/**
'Models/Biophysical':
- models/biophysical/**
# Adding a new label for Configuration changes
'Configuration':
- '**/*.config'
- setup.sh
# Specific labels for different programming languages
'Python':
- '**/*.py'
'R':
- '**/*.R'
'JavaScript':
- '**/*.js' These changes aim to make our labeling more intuitive and aligned with our project's structure. Let me know what you think! Also, as an addition to the Documentation part. Like, the |
Insights @GandalfGwaihir ?? |
@infotroph , if you can find time to review this proposaal, overall I find it useful and what @Sweetdevil144 suggested here is really good I guess, but would love to hear what you have to say :) |
To define how labeling should work, we should start by agreeing who these labels are for and what they need them to do. Here are a couple user stories that I'm picturing -- please push back if you think these aren't right.
For these particular three users (who, to be clear, I just made up!), I suspect the right labeling granularity would be something like individual models (Many people only use PEcAn with one model, so they'll pay attention to the I don't see a need for language-specific labels -- to a first approximation, PEcAn is in R and the exceptions are in places that will be ~obvious from the other labels (e.g. if we had a |
@Sweetdevil144 your thoughts on ^ ? |
I agree with this. Splitting labeling according to sub-models/sub-modules would help a User determine the scope of
That would be the case for now as Regex-based Path Matching would help in determining individual paths. (But it would be entirely manual, that is, defining which specific
That works fine for me. Also, an increased number of labels would surely overwhelm a beginner contributor. |
I know you're busy with your GSoC project @Sweetdevil144 , when you find time can you give me template of how the labelling should be now after all this discussion ? I'll come up with a PR for the same by next month |
Hey. Sorry for late response. I think the only changes that can be done should be
It would go something like this : # Documentation divided into User and Developer specific
'Documentation/User':
- book_source/**
- documentation/user_guides/**
- README.md
'Documentation/Developer':
- CONTRIBUTING.md
- DEBUGGING.md
- DEV-INTRO.md
- documentation/developer_guides/**
... Rest of Blocks
# Model-specific sub-categories
'Models/sipnet':
- models/sipnet/**
'Models/basgra':
- models/basgra/**
# Modules with defined sub-categories
'Modules/Date-Atmosphere':
- modules/data.atmosphere/**
'Modules/Data-Assimilation':
- modules/data_assimilation/** Should this work fine? |
Bug Description
We recently implemented automated labeling of Pull Requests in #3199, #3204,
This was with very limited scope in mind, and by looking at some comments in the review from @infotroph #3204 (comment), #3204 (comment) I am of the opinion that we need to improve the labels to better define the scope of the Pull requests,
The file for the labels is : https://github.com/PecanProject/pecan/blob/develop/.github/labeler.yml , no need to update automation just the labels. :)
If someone could first propose over here the file structure we should follow and some basic implementation details then it would really be helpful for us
The text was updated successfully, but these errors were encountered: