Skip to content

Moved adding dependencies to the last part of installation phase#76

Merged
micszo merged 2 commits intomainfrom
move-dependencies
Aug 23, 2023
Merged

Moved adding dependencies to the last part of installation phase#76
micszo merged 2 commits intomainfrom
move-dependencies

Conversation

@mnocon
Copy link
Copy Markdown
Contributor

@mnocon mnocon commented Aug 18, 2023

Problem:

it's not currently possible to add a dependency (using dependencies.json) for ibexa/behat and ibexa/docker packages:
they are added during the "adding dependencies" phase, but after this phase they are added again (in the 4.6.x-dev version).

Example affected build: https://github.com/ibexa/commerce/actions/runs/5900504035/job/16004881059

You can see that the dependency is downgraded:
obraz

Only 4.6 is affected, this is a bug I've added in #73

My solution is to move the phases around:

  1. Add the behat and docker packages first (with --no-update)
  2. Add the dependencies (again with --no-update)
  3. Install the dependencies (composer update --no-scripts)

Tested in:
ibexa/commerce#348
https://github.com/ibexa/taxonomy/pull/40

@mnocon mnocon force-pushed the move-dependencies branch from 12823f0 to 0bb84c5 Compare August 18, 2023 12:46
@mnocon mnocon force-pushed the move-dependencies branch from 0bb84c5 to e3468c0 Compare August 20, 2023 12:54
@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mnocon mnocon marked this pull request as ready for review August 21, 2023 10:47
@micszo micszo merged commit 2a9087c into main Aug 23, 2023
@micszo micszo deleted the move-dependencies branch August 23, 2023 09:25
mnocon added a commit that referenced this pull request Dec 4, 2023
* Moved adding dependencies to the last part of installation phase

* Fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants