Skip to content

Make the update helper command easier to run #108

@omarlopesino

Description

@omarlopesino

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions