-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Why composer normalize do an update command? #15
Comments
Next time I will read the doc carefully. 😅 |
I wasn’t sure myself whether I should update
As you can see in https://github.com/localheinz/composer-normalize/blob/0.1.0/src/Command/NormalizeCommand.php#L126-L132, I am trying to update the lock file. Unfortunately, it seems that the Ideally, I would like to be able to update the hash directly (by using one of composer’s components. Alternatively, which I think is worth suggesting, the calculation of the hash itself could normalize corresponding fields prior to calculation - after all, the order doesn’t exactly matter (except for composer/composer#6840). What do you think? Maybe I should remove the update step. |
Well, your plugin just change the format, not the requirement, so it should not be. But if I do a
Can't you? At least,
I'm not sure why. Maybe because it's global plugins? BTW, you should also add the |
We also might have another issue if we want to run this on a CI tool. When VCS repositories are setup, composer make multiple GitHub API call. It can prompt for an oauth token and then the CI will break. 😕 |
How about specifying a GitHub token, similar to how we do it for Travis CI in |
I don't get it. It would maybe make sense to run
composer validate
, but whycomposer update
?The text was updated successfully, but these errors were encountered: