Closed Croydon closed 5 years ago
I'm opening a mirrored issue in Conan repo to keep track of this one, but I'm locking it there so no one can add comments to it. Discussion will take place here.
PEGTL is a good example.
We should keep all packages in bintray, we shouldn't remove any package from bintray because this could break our users.
Also, we should update the recipe with a warning message and update the README file as well.
Uploading an alias must be considered too: https://docs.conan.io/en/latest/reference/commands/misc/alias.html#conan-alias
excellent idea I think
Indeed, we could implement the alias making something like this (not tested, but it should work):
class DeprecatedPackage(ConanFile):
@property
def alias(self):
self.out.warn("Package .... is being deprecated. Change yours to require .... instead")
return "..."
Yes, alias with warning seems best.
Agreed. Alias (if there is a replacement) + warning via Conan recipe + git readme + notice on the Bintray page seems fine.
In the cases where there is a replacement, e.g.
we maintained a package, which now has official upstream support (e.g. #539)
I would suggest that we use the first version which has official upstream support as the "soft transition" version. What I mean is, for the case of Catch2:
Sounds good, I would change the package icon on Bintray with "deprecated"
example: https://bintray.com/conan-community/conan/Boost%3Aconan
I'm going to work on Catch2 now
BTW this strategy should be available on https://bincrafters.readthedocs.io/en/latest/
Hi everyone!
This workflow is now available on https://bincrafters.readthedocs.io/en/latest/contributing_to_packages/package_deprecation.html
Are we good to finish this issue or should we add more information?
Done from my point of view 👍
Great work @uilianries
thanks to @Croydon for providing us his idea :muscle:
AFAIK we don't have a strategy to deprecate packages yet, do we?
There could be several scenarios in which this can happen, e.g.
How to deal with this, when