datachain icon indicating copy to clipboard operation
datachain copied to clipboard

Allow wildcards on version argument in `.read_dataset()`

Open ilongin opened this issue 7 months ago • 0 comments

Now as we have semver implemented, we should add additional ability to filter by wildcards. * in a version part would mean "give me the latest version of that part". With this, user's won't need to update script every time new version is out if they want to use latest version but they don't want to use new major / minor ones for some reason.

For now we can implement these:

  • 1.3.* -> give me latest version starting with 1.3 (major = 1, minor = 3)
  • 1.* -> give me latest version starting with major 1
  • * -> give me the latest version ... this is maybe not needed as it's the same with not defining explicit version at all.

ilongin avatar May 13 '25 04:05 ilongin