NI Package Management Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
jyoung8711

Add CLI Switch for "disable auto-register feeds"

Status: Development Started

Note, NI Package Manager 2023 Q3 added a new Configuration Options section to the help, which contains a new option nipkg.enable-NI-connectivity, that disable features that contribute to timeout delays, especially on systems that do not connect to ni.com. When set to false, it includes the disabling of any previously and future automatically added NI-managed feeds.

In distributing software to customers (particularly through an IT group), a lot of the NIPM interaction ends up happening through batch files in an automated way.  In these types of instances we're running into either:

a) we want a hard lock on the software version (software is propagated through internal feeds) or

b) the system may have intermittent/limited internet connectivity or a proxy is in use.

 

When installing NI products, release feeds are automagically added to the feed list... and I REALLY don't want them there.

 

There's a nice GUI button to disable this... but again... trying to do thing as "hands-off" for the user as possible.

 

Supposedly this used to be possible through editing a config file:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000015CMrSAM&l=en-US

 

But as of 20.7.X this method no longer seems to work.

 

It would be great if this could be added to the CLI interface or contained in some sort of accessible file that can be manipulated.

1 Comment
Scott_Richardson
Active Participant
Status changed to: Development Started

Note, NI Package Manager 2023 Q3 added a new Configuration Options section to the help, which contains a new option nipkg.enable-NI-connectivity, that disable features that contribute to timeout delays, especially on systems that do not connect to ni.com. When set to false, it includes the disabling of any previously and future automatically added NI-managed feeds.

Scott Richardson
https://testeract.com