07-07-2021 05:00 AM
I'm wondering if there is a way over CLI to get a List of all packages provided of a registered feed.
I'm looking for something like the commands "list" or "list-installed" but with an additional filter option to select only packages available in the specified feed.
e.g.
nipkg.exe list ni-daqmx-released
...<return>
manitu-daqmx-advanced 0.0.1-23
...
.. For sure, I could use the "list" or "list-installed" commands and then call the "list-source-feed" command on every package, but this approach is very slow.
07-07-2021 08:27 AM
There is not a nice way to do this in the CLI. However there is a way to do this in the LabVIEW NIPM API that is available.
07-07-2021 09:52 AM
Thank you for your input.
I think parsing the "Packages.stamps" is only possible if the feed is on your local system or some sort of network drive. E.g. I think it is not possible for the ni feeds.
09-07-2021 10:08 PM
If you know the URL for the NI feed after you install the software, you should be able to directly access the Packages and Packages.stamps files for that feed.
For example:
https://download.ni.com/support/nipkg/products/ni-t/ni-teststand-2020/20.0/released/Packages
https://download.ni.com/support/nipkg/products/ni-t/ni-teststand-2020/20.0/released/Packages.stamps