Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

change path for set_approvers to new api, with defaulted rule_type an…#1005

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

charlesfayal
Copy link
Contributor

…d added args for approvals_required

@max-wittig
Copy link
Member

@charlesfayal Thanks for the MR! Could you please also update the documentation and the tests?

@charlesfayalcharlesfayalforce-pushed thefix_set_approvers branch 5 times, most recently froma0481f9 tofd5c24eCompareJanuary 30, 2020 19:12
Charles added4 commitsJanuary 30, 2020 21:21
Updated the gitlab path for set_approvers to approvers_rules, added default arg for rule type, and added arg for # of approvals required.
Updated the docs with the new set_approvers arguments, and updated tests with the arg as well.
Added a miss paramter update to the set_approvers function
to set the # of approvers for an MR you need to use the same function as for setting the approvers id.
@charlesfayal
Copy link
ContributorAuthor

@max-wittig how's that?

@charlesfayal
Copy link
ContributorAuthor

@max-wittig Im a little confused how to test this manually. How can I build the python projection into an importable project to test in my own project?

@max-wittig
Copy link
Member

@charlesfayal You can just install the wheel with pippip3 install python-gitlab.whl or directly install it withpython3 setup install

@max-wittig
Copy link
Member

@charlesfayal Just report back, when I should take a look

@max-wittig
Copy link
Member

@charlesfayal Thanks for the MR!

@max-wittigmax-wittig merged commit19242c3 intopython-gitlab:masterFeb 12, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@charlesfayalcharlesfayal

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@charlesfayal@max-wittig

[8]ページ先頭

©2009-2025 Movatter.jp