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

boost: patch serialization sources #3918

Closed

Conversation

ericriff
Copy link
Contributor

@ericriff ericriff commented Dec 16, 2020

Specify library name and version: boost/1.74.0

There are some missing includes on boost.serialization 1.74 which makes some projects fail to build.
The first patch comes from this commit boostorg/serialization@f72b9fc

The second one comes from this one boostorg/serialization@8acf329

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

@ghost
Copy link

ghost commented Dec 16, 2020

I detected other pull requests that are modifying boost/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@conan-center-bot
Copy link
Collaborator

All green in build 1 (fc810683dd46a6596b1b77278f29ea668abdef8f)! 😊

@prince-chrismc
Copy link
Contributor

Since these are included in 1.75, would it not be better to wait for that?

#3903

@ghost ghost mentioned this pull request Dec 19, 2020
4 tasks
@ghost ghost mentioned this pull request Dec 21, 2020
4 tasks
@uilianries
Copy link
Member

Since these are included in 1.75, would it not be better to wait for that?

#3903

Same question, 1.75.0 is already available.

@ericriff
Copy link
Contributor Author

ericriff commented Dec 21, 2020 via email

@prince-chrismc
Copy link
Contributor

Please check out the draft policy about patches and with a little more support this topic will be unblocked =)

@ericriff
Copy link
Contributor Author

OK so under the new guidelines this patches would fall into the source patches since it is cherry picking some commits from future versions. I didn't check if this commits are in 1.75 but I'm sure that at least one of them is should be there.

Should I decline this PR then? As I said, we are using our own internal mirror so I don't really mind it. This was just me sharing my fixes to the package, but I understand the reasoning behind the guidelines.

**Source patches.-** ConanCenter DOES NOT accept patches **backporting bugfixes or 
features** from upcoming releases, they break the principle of minimum surprise, 
they change the behavior of the library and it will no longer match the 
documentation or the changelog originally delivered by the authors.

@prince-chrismc
Copy link
Contributor

Yes, thats my understanding as well.

But to clear my intention is not to discourage you but to encourage you to share your thoughts =)

@ericriff
Copy link
Contributor Author

ericriff commented Dec 23, 2020

So I understand where you are coming from with the new guidelines for patches. It sounds great to have the packages to be as vanilla and close to the developer intentions as possible. This is great to make conan and its packages a drop-in replacemente for whatever you where using before to handle your project's dependencies.
These new policies are great to prevent a snow ball effect of having more and more patches retro fitting features and fixes and ending up with a package that is very different from what you get by building it from sources yourself.
Regardless, I think we could have some exceptions in place for cases like this one where it is a small change to fix a package which is otherwise non-functional in some scenarios and doesn't change the libraries behavior in any way. In this case we're just adding some headers here and there.
It makes even more sense with boost, which is a monster of a package and it is hard to migrate big projects that depend on it from one version to another.

@stale
Copy link

stale bot commented Mar 15, 2021

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale
Copy link

stale bot commented Apr 14, 2021

This pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.

@stale stale bot closed this Apr 14, 2021
@prince-chrismc prince-chrismc mentioned this pull request Apr 7, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants