Skip to content

Conversation

@lindell
Copy link
Owner

@lindell lindell commented Apr 10, 2025

WIP

@wilmardo
Copy link

Great future! Will multi-gitter still open the PR/MR as long as the script does the commits? That is not really clear from the docstring for me.

@lindell
Copy link
Owner Author

lindell commented May 14, 2025

Will multi-gitter still open the PR/MR as long as the script does the commits? That is not really clear from the docstring for me.

This is indeed how it works. Do you have a suggestion to make it clearer while not being too long?

cmd.Flags().IntP("concurrent", "C", 1, "The maximum number of concurrent runs.")
cmd.Flags().BoolP("skip-pr", "", false, "Skip pull request and directly push to the branch.")
cmd.Flags().BoolP("push-only", "", false, "Skip pull request and only push the feature branch.")
cmd.Flags().BoolP("manual-commit", "", false, "Don't automatically commit changes. The script must commit the changes itself. Multiple commits are allowed.")

Choose a reason for hiding this comment

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

Suggested change
cmd.Flags().BoolP("manual-commit", "", false, "Don't automatically commit changes. The script must commit the changes itself. Multiple commits are allowed.")
cmd.Flags().BoolP("manual-commit", "", false, "Let the script commit the changes, multiple commits are allowed, Multi-gitter will still open a pull request when changes are detected.")

@tomasvanrijsse
Copy link

+1 for this feature

@lindell
Copy link
Owner Author

lindell commented Aug 11, 2025

@tomasvanrijsse Please test this branch and verify if it's working as you would expect.

@patrickhoogkamer
Copy link

I used this branch with the --manual-commit flag to add multiple commits with the script while multi-gitter handled the branch/merge request creation with GitLab. It seems to work well. I would love to incorporate this in my workflow.

What would this PR need before it could be merged?

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.

5 participants