miactl - any way to retrieve full list of project versions? #647
-
What product are you having troubles with?Console What Console version are you using?Mia-Platform Suite Version v14.3.0 - Console Version Version: 1.119.11 DescriptionHello, I am relatively new to working with the miactl and am writing a way to programmatically make small updates across our many Mia projects. It is going very well, but I noticed there doesn't seem to be a way to retrieve the full list of a specific Mia Project's versions and/or revisions. From what I can tell, the intended flow seems to be very focused on retrieving Project configuration for a specific version or revision, which means you need to know the version or revision before running the command (i.e. Our intended flow, on the other hand, is to loop through all Projects and (1) grab the latest version, (2) make updates on that version and create a release revision, and (3) make those same updates to main. The only way I've gotten it to work is to get the full list of Project versions from the Mia API instead, but it would be much cleaner for us to do everything through the miactl for consistency. I was envisioning something like a Am I right in my assumption this is the only way currently to do this, through the API? If so, is this on the radar for future feature enhancements to miactl? If not, would someone be able to point me to a way to do this within miactl? Any help or feedback is very much appreciated! Thank you in advance! Actual OutcomeNo response Expected OutcomeNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @alexhill6672 , You’re correct — miactl currently does not provide a command to list all versions or revisions of a project. The API is the correct approach for this use case. Alternatively, we can consider this as a future enhancement for miactl, although we cannot provide a timeline at the moment. Thanks! |
Beta Was this translation helpful? Give feedback.
Hi @alexhill6672 ,
You’re correct — miactl currently does not provide a command to list all versions or revisions of a project. The API is the correct approach for this use case.
If you are interested in contributing this feature, you’re welcome to submit a pull request following the contributing guide. We’ll review it once it’s submitted.
Alternatively, we can consider this as a future enhancement for miactl, although we cannot provide a timeline at the moment.
Thanks!