-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Problem description
Currently, the update helper command needs a list of parameters that are always repeated: the author and the environment list (drush aliases of the local sites). The main problem is that the environment list may become pretty large and missing one environment leads to the configuration of that site not being correctly consolidated. Also, the author's parameter syntax may become tricky and can lead to human errors.
Proposed solution
Create two make commands:
- One that updates all packages.
- Other than updates only securities.
The author and the environment will be configurable in the Makefile. The environment list must be the list of drush aliases, each alias is a specific site of the project.
The author is the git commit author of the updates, it will be always the same. It must be decided by the team thinking that the author should be a git user that will never be removed from the project. So it should be a development account that is not related to any developer that may leave the project.
Pending tasks
How to set the author in composer create-project installations. if it is not set, the make update command won't work the first time.
Proposed solutions:
a) Ask for the git author in the composer create-project execution.
b) Set the git author in the composer create-project execution with the current git author information of the local user.