Skip to content

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?

@charlesfayal charlesfayal force-pushed the fix_set_approvers branch 5 times, most recently from a0481f9 to fd5c24e Compare January 30, 2020 19:12
Charles added 4 commits January 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
Contributor Author

@max-wittig how's that?

@charlesfayal
Copy link
Contributor Author

@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 pip pip3 install python-gitlab.whl or directly install it with python3 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-wittig max-wittig merged commit 19242c3 into python-gitlab:master Feb 12, 2020
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.

2 participants