paketo-buildpacks / dep-server

Apache License 2.0
3 stars 11 forks source link

Automate the bumping of PHP extension/module versions #30

Open martyspiewak opened 3 years ago

martyspiewak commented 3 years ago

Background

Right now PHP modules need to be bumped manually by updating the php-<version>-extensions.yml files in the build-binary-new task in buldpacks-ci.

Proposal

We should automate this process so that new extension versions are automatically pulled in when they are released.

Known issue: There will still need to be some human intervention if building or testing the extension with PHP fails, in order to determine if this is an incompatible version or we need to change the way we are consuming/compiling it.

Breakdown

Step 1

Add php-extensions to dep-server

Step 2

thitch97 commented 3 years ago

Alternate option 1: It may be beneficial to add a url field to the pointing to the release page of the extension. OR Modify the klass field in files from above

Caveats:

Questions:

thitch97 commented 3 years ago

Additional context

menehune23 commented 2 years ago

We now have some helper scripts to aid in these tasks. Because some human intervention is required with the module updates, I don't see a world where this is done in CI. I think local scripts to remove the tedium, allowing for intermediate human analysis, is the way to go.