Open prince-chrismc opened 3 years ago
Lots of PR fail because of this... the archives have changes and its easily solved with the strip_root=True upgrade.
strip_root=True
However I am not sure where I could add this to the code so I am looking for a pointer...
I was thinking of doing it similar to:
https://github.com/qchateau/conan-center-bot/blob/7e230cf51f2e72235e46fff021bed717e6ccdbda/ccb/update/common.py#L81
This option needs to be set in the recipe's conanfile.py right ?
Yes!
Nothing is impossible but it's not going to be straightforward to programmatically edit a python file
Lots of PR fail because of this... the archives have changes and its easily solved with the
strip_root=True
upgrade.However I am not sure where I could add this to the code so I am looking for a pointer...
I was thinking of doing it similar to:
https://github.com/qchateau/conan-center-bot/blob/7e230cf51f2e72235e46fff021bed717e6ccdbda/ccb/update/common.py#L81