Closed 0xsouravm closed 2 months ago
Looks broadly good, just some nits.
Fixing most of the things you pointed out.
I am done with the changes @ggwpez
I opened a tip proposal here, as the bot does not cover this repo: https://polkadot.subsquare.io/referenda/1088
Thank you so much @ggwpez! Means a lot. ♥️
This pull request has been mentioned on Polkadot Forum. There might be relevant details there:
https://forum.polkadot.network/t/sponsorship-for-sub0-thailand-2024/10093/26
This PR introduces a new
--orml
flag to the CLI tool, enabling users to view the available ORML versions with respect to the released Polkadot-sdk versions and update the ORML dependencies in the localCargo.toml
if present. This only logs an error if the supplied version isn't found in the ORML releases but doesn't exit with a non-zero exit code.Key Features:
ORML Version Viewing: When the
--orml
flag is used with the--list
flag, users can now see all the available ORML versions that are compatible with the corresponding Polkadot-sdk versions.ORML Version Updating: When the
--orml
flag is used with the--version
flag, users can now update their ORML dependencies in theCargo.toml
file if the version is available in the ORML releases, else those dependencies remain untouched and users can resolve those manually.Compatible with the previous
--check
flag update: When the--orml
flag is used with the--check
flag, users can simply compare and check if their dependencies(including the ORML crates) match the expected versions, without actually updating theCargo.toml
polkadot address: 16SGUEfpDop2fXi9K89yzCQWHJ3vHz1tKJVA1pCBjoew5tzP