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

Improve contribution experience #560

Open
17 tasks
zhukovgreen opened this issue Aug 11, 2020 · 5 comments
Open
17 tasks

Improve contribution experience #560

zhukovgreen opened this issue Aug 11, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@zhukovgreen
Copy link
Contributor

zhukovgreen commented Aug 11, 2020

ref OAMG-3458

This epic introduces several improvements in the contribution experience. The following areas will be affected:

Running linters

More autoformatting and more strict code format linter (i.e. automatic import sorting and code formatting etc.)

Automatic security vulnerabilities detection

Updating dependencies

Reporting code coverage

Create templates for new issues and merge requests

Ensuring the improvements will have a persistent character

Set up a practice where each month we'll create an MR from the branch chore/monthly-maintenance/{month}-{year} which includes:

  • bumping versions of hooks in the pre-commit config file
  • updates to configs
  • possible fixes in linting related problems within our codebase
  • adding new features to improve contribution experience (i.e. new bots, automation, ci etc.)
  • Automate monthly-maintenance process Automate monthly-maintenance process #573

After successful implementation of tasks in this epic repeat this to other OAMG repos

@zhukovgreen zhukovgreen added enhancement New feature or request epic labels Aug 11, 2020
@zhukovgreen zhukovgreen self-assigned this Aug 12, 2020
@pirat89
Copy link
Member

pirat89 commented Aug 12, 2020

Discussed in the past, we do not want to have tamplates for PRs. Only reason why we have tamplates for issues is to ensure that people deliver all needed information for us (or at least as much as possible for the report) so we do not have to ask for it every time. But it can be discussed again, whether we find a good reason to have it.

Btw, for new issues we have already template: https://github.com/oamg/leapp-repository/issues/new?labels=bug&template=bug_report.md

@zhukovgreen
Copy link
Contributor Author

zhukovgreen commented Aug 12, 2020

@pirat89 Petr, please give a me link to the context behind "discussed in the past". Doing merge requests review I see a lot of advantages to have a MR template.

I also familiar with the bug report template, however, I hope, we'll have not only bug report issues, but also feature proposals etc.

@pirat89
Copy link
Member

pirat89 commented Aug 12, 2020

@zhukovgreen Outcome of the discussion was, that we want the template just for the stuff to make it clear that people will give us needed information, to ensure that we will be able to reproduce the problem and see how to fix it and in the end safe time for everyone. In case of PRs and features, it seems just as bureaucracy and it's kind of impossible to create template, that will not look like that for every case. In many cases, people (me including) will do just Ctrl+A -> Delete or use the blank format. As well, in many cases, the short description (or let's say free form) is better then description satisfying templates. Similar in case of features. If we create templates, we will need to be clear that people do not have to use it - and in such a case I believe they will not use it in most cases, so it's question whether it worths to spend time on it.

But as I wrote, we can open the discussion (ML could be good place) to discuss that, whether there is enough pros to do it.

@pirat89
Copy link
Member

pirat89 commented Aug 12, 2020

To make it clear, I have been that time propagator of templates in our projects at least to make for people an option, how to fill description for RFE and PR if they do not want to use the free form. But I have to agreed that it really was not worthy to create the other two templates.

@GAZDOWN
Copy link

GAZDOWN commented Aug 13, 2020

@pirat89 I actually see a great benefit of having a template for PR. strictly speaking, having stuff in unified form each time I open a new PR description as reviewer will save some time which will eventually turn into significant amount given how many reviews we do. Another point of view here is from contributor side - I will have a guidance of what should I provide as information. Not everybody knows what to provide or speaks well enough english to provide well formatted description, etc. This way we can always catch the point of PR by providing simple means in the template. And yes, it may seem to be a bureaucratic at first glance, but the template is a format suggestion, not mandatory thing and we should encourage people to use it instead of going the obvious way Ctrl + A then delete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants