Support squash commits option on Projects REST API
Problem to solve
At the moment of writing the Project creation API does not include an option to configure the squash commits options. Introducing this change will allow configuring the squash commits options through the REST API when creating a new project (or possibly also when updating it) allowing to easily configure programmatically projects.
Intended users
User experience goal
The user should be able to use the Projects REST API to create/edit a project and configure the squash commits behavior.
Proposal
Ideally a property named squash_commits
could be introduced with possible values disabled
, enabled
, encouraged
and always
allowing to set the desired option.
Further details
This comes in use when managing projects via the REST API
Permissions and Security
No additional or modified permissions or security are expected.
Documentation
Project's REST API documentation needs to be updated to include the new property information