Description
Hi!
This can probably only be answered by Fabien. Is it feasible for the Flex API to support fetching an old version of a recipe? For example, suppose we're talking about twig/extensions
. Would it be possible to ask for the c986e32
sha of the 1.0 version of the recipe (which would be one commit before HEAD - https://github.com/symfony/recipes/commits/master/twig/extensions/1.0 )?
If we could do this, it would allow us to do two more things slightly more accurately:
-
On package removal, we could remove using the same version of a recipe as the user originally had installed. Minor - but better.
-
On package update, we could remove using the original recipe first and THEN upgrade to the latest. That would fix the problem where a file/parameter that was added in the OLD recipe is NOT added in the new recipe. Currently, that file/parameters is NOT removed. But if we were able to remove the original recipe, it WOULD remove that old file/parameter.
So, is that possible to add to the API?
Thank you :).