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

Check for maintainers in the source project #2601

Merged
merged 4 commits into from Jul 16, 2021

Conversation

imobachgs
Copy link
Member

@imobachgs imobachgs commented Jul 13, 2021

  • It introduces a new configuration parameter required-source-maintainer.
  • If defined, it is expected to be a maintainer of the devel project.
  • If that's not the case, the request is declined and an add_role request is created.

Fixes #2429

@imobachgs imobachgs force-pushed the maintainers-check branch 2 times, most recently from 3f97af6 to 2757b3b Compare July 13, 2021 10:38
* It introduces a new configuration parameter 'required-source-maintainer'.
* If defined, it is expected to be a maintainer of the devel project.
* If that's not the case, the request is declined and an add_role
  request is created.

Co-authored-by: Ancor Gonzalez Sosa <ancor@suse.de>
Co-authored-by: Knut Alejandro Anderssen González <kanderssen@suse.com>
@codecov-commenter
Copy link

codecov-commenter commented Jul 13, 2021

Codecov Report

Merging #2601 (00ea25e) into master (f9ab72a) will increase coverage by 0.11%.
The diff coverage is 89.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2601      +/-   ##
==========================================
+ Coverage   25.01%   25.13%   +0.11%     
==========================================
  Files          91       91              
  Lines       15113    15141      +28     
==========================================
+ Hits         3781     3806      +25     
- Misses      11332    11335       +3     
Impacted Files Coverage Δ
osclib/conf.py 96.96% <ø> (ø)
osclib/core.py 57.40% <85.71%> (+0.26%) ⬆️
check_source.py 55.62% <90.47%> (+2.30%) ⬆️

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 f9ab72a...00ea25e. Read the comment docs.

osclib/core.py Outdated Show resolved Hide resolved
@imobachgs imobachgs marked this pull request as ready for review July 13, 2021 10:59
@jreidinger
Copy link
Member

now it looks good for me, but I am not domain expert

tests/check_source_tests.py Show resolved Hide resolved
Co-authored-by: Knut Alejandro Anderssen González <kanderssen@suse.com>
@@ -11,6 +11,8 @@
except ImportError:
import cElementTree as ET

from lxml import etree as ETL
Copy link
Contributor

Choose a reason for hiding this comment

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

do we really need two XML libraries in here now? we have xml.etree(or cElementTree) and lxml both imported (works, of course, but…)

Copy link
Member

Choose a reason for hiding this comment

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

actually cElementTree is supposed to die, but we can do that refactoring later IMO

Copy link
Contributor

Choose a reason for hiding this comment

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

sure - no problem in going with what we have now

@imobachgs imobachgs merged commit 7b59f33 into openSUSE:master Jul 16, 2021
@imobachgs imobachgs deleted the maintainers-check branch July 16, 2021 08:55
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.

Ensure 'factory-maintainers' are devel prj maintainers
6 participants