Skip to content

[vcpkg] fatal_error when patch fails to apply - #8087

Merged
Curtis J Bezault (cbezault) merged 181 commits into
microsoft:masterfrom
cenit:dev/cenit/modernize
Oct 7, 2019
Merged

Curtis J Bezault (cbezault) merged 181 commits into
microsoft:masterfrom
cenit:dev/cenit/modernize

Conversation

@cenit

Copy link
Copy Markdown
Contributor

Continued work from #6578

@cenit

Stefano Sinigardi (cenit) commented Sep 7, 2019 •

Copy link
Copy Markdown
Contributor Author

Quoting from previous pr:

This pr MUST NOT CONTAIN any improvement nor any update to any port. It is just a review of portfiles to make them adhere better to CMake standards and vcpkg's best practices, towards the goal of enabling a FATAL_ERROR for unmerged patches.
Any help is very appreciated, just let me know if you want to participate

edit: of course, any improvement that is necessary for the "green badge" is valid for this PR

@cenit

Copy link
Copy Markdown
Contributor Author

Wondering why a change in a common script does not trigger a whole rebuild? Phil Christensen (@Rastaban)

I will continue the work without the support of CI, which I was hoping to exploit

@cenit

Stefano Sinigardi (cenit) commented Oct 7, 2019 •

Copy link
Copy Markdown
Contributor Author

bumping all the regressions, one by one in order to better understand the problems, was enough to solve most of them. A couple required some more attention and were fixed along the way.

Victor Romero (@vicroms), I think that this PR is now in the best possible situation for a merge: no regression, many many ports fixed along the way (new passes, yay), and patches/upgrades cannot be accepted anymore if they break a patch or do not apply them correctly (which was the specific target of this PR).
Since it is extremely broad in spectrum, keeping it aligned with master is very time consuming and I'd hope to not have to do for a long time... I hope you can understand.

Comment thread scripts/cmake/vcpkg_apply_patches.cmake Resolved
@cbezault

Copy link
Copy Markdown
Contributor

I've reviewed all this files. It's a lot and so I might have missed something but it looks good to me.

@cbezault
Curtis J Bezault (cbezault) merged commit 726c111 into microsoft:master Oct 7, 2019
@cenit

Copy link
Copy Markdown
Contributor Author

Thanks a lot Curtis J Bezault (@cbezault)
I tagged Victor Romero (@vicroms) because I misunderstood you already changed project
Glad you were still on it :)

@cenit
Stefano Sinigardi (cenit) deleted the dev/cenit/modernize branch October 7, 2019 19:49
@cbezault

Copy link
Copy Markdown
Contributor

I'm still around just winding down.

@vicroms

Copy link
Copy Markdown
Member

You cannot escape

@cenit

Copy link
Copy Markdown
Contributor Author

I will try my best for that to happen, locking you here inside monstrous PRs

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.

5 participants