Open grantkriegerai opened 3 months ago
@insightgrantkrieger to confirm an strategic approach to populate the latest version.
@jrampono any ideas on how to get the installed github release shown in the application?.EG --V would return V0.6.0
@insightgrantkrieger, @sbandarumelb, Sorry didn't got time to work on this issue but here is my view.
We can add a command "version" instead of "--v". so, at top level there will be 2 command "version" and "run-all".
here is python code to get github version: import requests url = 'https://github.com/Insight-Services-APAC/APAC-Capability-DAI-DbtFabricSparkNb/releases/latest' r = requests.get(url) version = r.url.split('/')[-1]
print(version)
I would prefer --V or --version to align to standard however if that is not possible I would fall back on that suggestion. @jrampono what do you think? That Python code is great to find the latest version on github however the intention is to find the current installed version which may not equal the latest version on github.
@sbandarumelb please follow up with @jrampono he has a solution to set extra properties in setup.py which we could embed the version in
@insight1grantkrieger encountering an issue where the dbt_wrapper function is not being recognized as a cmdlet. Despite attempting various solutions such as re-cloning, creating a new project/workspace/lakehouse, and initiating the project following the documentation instructions, the issue persists. @JacquesInsight is also experiencing a similar problem in his repository.
@insightgrantkrieger When utilizing the metadata library to retrieve the version, I am currently only able to obtain the version specified in the install_requires list, rather than the expected package_version "1.7.7". Especially when passing the package name. Is it possible to update the highlighted version information to align with the latest version.?
Create a new switch -v to obtain accelerator version.This version number should align to the tag build number on github