Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
[ProGet] Feature Request: Enable creating 'Feed & Project Groups' using API and/or PGUtil
-
Hello!
I wish to be able to create new feed & project groups programatically so that it can be automated.
My suggestion is that it's either
a) Exposed as a new endpoint/command
b) If a non-existent feed group is provided for an endpoint or a command, like/api/management/feeds/createhttps://docs.inedo.com/docs/proget/api/feeds/create it will create the feed group provided the token used has sufficient permissions.Currently scenario b will return code 400 with the message "Feed group <group> not found." and create an ungrouped feed.
I tried to jack into the
/administrations/feeds/feed-groups/editendpoint used by the website but ended up just being redirected to the login page.Best Regards
Nils Nilsson -
Hi @Nils-Nilsson ,
We'll implement something like Scenario B, which mirrors how the UI handles it and is the easiest to implement:
pgutil feeds create --name=myfeed --type=NuGet --group=mygroupWe'll also target this for July 24th's release, and ship via PG-3338.
Thanks,
Alana -
Hi @atripp
That's great, thank you :)
-
I've had a chance to test the new version of pgutil now and it works perfectly, thank you.
Best regards
Nils Nilsson -
Hi @Nils-Nilsson,
we were facing similar issue maybe 2 years ago (I am not even sure if pgutil was available at that time). There may be other approaches besides pgutil. ProGet exposes native APIs, but not all features are enabled by default; some aspects can be modified directly in the database.
The native API is visible at:
https://<ProgetServer>:<port>/reference/apiFeedGroups APIs

The Enabled features can be checked in the following table (we are using an MS SQL database):
__StoredProcInfoInternal_Indicator shows what is exposed and can be used. We set Internal_Indicator = 'N' for the APIs (stored procedures) that we want to use for our automation purposes.
Kind regards
Ivan
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login