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

AddPluginCommand should not use master branch by default. #83

Merged
merged 3 commits into from
Feb 3, 2021

Conversation

kabalin
Copy link
Member

@kabalin kabalin commented Feb 3, 2021

As default branch could be anything, don't explicity set master if --branch param is omitted (#58).

Also improves tests:

  • DummyProcess class has been replaced with mocked Process
  • DummyExecute now properly initialised with output, etc, so we can test what command line is passed to process

As default branch could be anything, don't explicity set master if
--branch param is omitted.

Also improves tests.

Fixes moodlehq#58
@kabalin kabalin force-pushed the add-plugin-default-branch branch 3 times, most recently from c132719 to 4a319df Compare February 3, 2021 21:45
This can be reverted when moodlehq#21 is addressed.
@kabalin kabalin force-pushed the add-plugin-default-branch branch from 4a319df to 2e429fe Compare February 3, 2021 21:52
Copy link
Member

@stronk7 stronk7 left a comment

Choose a reason for hiding this comment

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

Looks ok, so approved. Waiting for self-tests to finish green...

@stronk7
Copy link
Member

stronk7 commented Feb 3, 2021

Ok, I'm merging this, no matter travis is failing because of #70.

@stronk7 stronk7 merged commit 7a330db into moodlehq:master Feb 3, 2021
@kabalin kabalin deleted the add-plugin-default-branch branch February 3, 2021 22:40
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