-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Composer] Fixed minimum-stability for 2.1-beta related packages #389
Conversation
@alongosz Why do you need this? We never had to update composer explicitly for beta. I'm against this change. |
@alongosz Do you need this for tests? If so can for instance be overridden in require. As for full install like @lserwatka mentions we only set this in root package and do not need to set it elsewhere. |
@lserwatka @andrerom not just for tests. In general I'm not sure why this worked for you before. It shouldn't. Technically packages like Of course after stable release we could go back to non-beta requirement. |
@alongosz you should never run composer install on this repo. Please always use meta for this. |
@lserwatka he/we has to for unit tests, so he has a point here. Requirements where raised here which broke CI (Travis, local, Jenkins, ..), as 7.1 does not exits in stable packages yet. |
@lserwatka Another reason: And once again I need to emphasise what @andrerom also just mentioned: Continuous Integration fails right now. See other PRs: #386, #387, #388, #390, #391. |
@alongosz @andrerom we have zillion repositories to maintain, and updating every repo for composer.json is extremely counter productive for the entire engineering team. We need to find a better way to run tests. I can't imagine updating all packages in every repo for beta/rc release. This is not how we maximise resources. Please figure out how to run the tests without involving changes to composer.json |
And one more thing. We worked on this repo for 3 months without any issue or need to change to composer.json, so we should figure out why suddenly this stopped working. |
It's because the CI/tests break happened 2 days ago, it was fine until then: ed0f12b |
So not saying we need to accept the proposed patch here, and I don't think @alongosz does either, he just tries to solve the failures. Maybe rather skip bumping requirements unless they are real feature requirements. And in those cases do it as a PR (the feature PR introducing the bumped dependency ideally, otherwise separate PR), and as usual only merge once it's green. |
"ezsystems/ezpublish-kernel": "^7.1", | ||
"ezsystems/repository-forms": "^2.1", | ||
"ezsystems/ezplatform-admin-ui-modules": "^1.1", | ||
"ezsystems/ezpublish-kernel": "^7.1@beta", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could also be @dev
if this package really depend on 7.1 now, same for changes below expect maybe ezsystems/ezplatform-admin-ui-modules which might need to be built like asset repos (?).
@dev
is what we would have used if this was done as part of PR that introduced 7.1 dependency.
I think we have one more problem here. If bumping requirements broke the installation process, then we were unit testing on wrong kernel. What was even more wrong. For time being we need to add @dev suffix then until we figure out better way. |
I'll try to force stability in travis.yml. That might work. Need to check. Still disagree on the whole concept though :)
In this case they might be really needed (Custom Tags 🙃 ).
That's right. That could be also my point :-) |
depends, where there actual dependencies on 7.1 kernel? If package only requries 7.0 and higher, then it was not completely wrong at-least (but see below, kernel should probably be dev)
👍 Yeah we typically remove the |
This PR fixes minimum-stability for:
as the provided versions are beta versions and
composer install
fails.Checklist:
$ composer fix-cs
)