Skip to content
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 update #1571

Merged
merged 3 commits into from
Oct 28, 2022
Merged

composer update #1571

merged 3 commits into from
Oct 28, 2022

Conversation

ildyria
Copy link
Member

@ildyria ildyria commented Oct 28, 2022

Fixes #1548 properly.

I would say that this should be the last PR before 4.6.2 :)

@ildyria ildyria requested a review from a team October 28, 2022 15:18
@ildyria ildyria added this to the 4.6.2 milestone Oct 28, 2022
Copy link
Contributor

@kamil4 kamil4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about changes to composer.json?

@codecov
Copy link

codecov bot commented Oct 28, 2022

Codecov Report

Merging #1571 (8318937) into master (6c1a304) will decrease coverage by 0.81%.
The diff coverage is n/a.

Additional details and impacted files

@ildyria
Copy link
Member Author

ildyria commented Oct 28, 2022

@kamil4 Fixed.

@@ -53,7 +53,7 @@
"laravel/framework": "^9.2",
"livewire/livewire": "^2.7",
"lychee-org/nestedset": "^6",
"lychee-org/php-exif": "^0.7.13",
"lychee-org/php-exif": "^0.7.14",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just our of curiosity: Why do we always update the composer.json, too, even if we only increase patch levels?

IMHO, this is an unnecessary step. composer update creates a composer.lock which resolves all dependencies to its most recent version. IMHO, composer.json only defines a lower limit. This means lychee-org/php-exif": "^0.7.13 also includes 0.7.14 if this version is published.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True, but why not? It's a minimal step (compared to opening and reviewing a PR, at least) and may catch some edge cases.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't realize that ^0.7.13 includes 0.7.14 (I've never actually bothered to find out what this syntax means -- where is it documented?). That's why I keep complaining about it, because I assume that @ildyria simply keeps forgetting to commit composer.json 😃.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

@ildyria ildyria Oct 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the reason why is that we enforce the bug fix of #1548 rather than depending on the .lock especially if someone decides to stupidly do composer update --prefer-lowest.

@ildyria ildyria merged commit 27d3c25 into master Oct 28, 2022
@ildyria ildyria deleted the composer-update branch October 28, 2022 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Metadata Exif description field
4 participants