Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. forbzie22_0253
    3. Posts
    F
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by forbzie22_0253

    • Package delist and deprecated API

      When you delist and deprecated a package, I can see via the website UI two icons to indicate this along with a message to say these two properties have been set.

      When I now use Find-Package or list packages via the API, the package I delisted and deprecated still returns in the results?

      Shouldn't the package be unavailable?

      Thanks

      posted in Support
      F
      forbzie22_0253
    • RE: Add custom tags to nuget packages

      Hi,

      In other repository management systems there is the ability to create custom tags and assign these to packages on the repository, I think this is something that would be very useful since it allows you to mark a particular package with some custom tag, without having to repackage the package and republish to the feed.

      Just to clarify, when I say tag, I mean tagging the package metadata on the ProGet feed, similar to what you already have in place for marking packages as unlisted and deprecated.

      Just wanted to check if this was something that may be a feature in future

      Thanks

      posted in Support
      F
      forbzie22_0253
    • Add custom tags to nuget packages

      Is there a way to add custom tags to nuget packages on the feed?
      I only see features such as package promotion and re packaging, but nothing that would let you add a custom tag to a package.

      I know I can add a tag to a powershell module psd1 and then upload, but I am looking for a way to do this on the fly in ProGet

      Thanks

      posted in Support
      F
      forbzie22_0253
    • RE: IIS appConcurrentRequestLimit

      @atripp Hi, I do plan on migrating over to Kestrel and Postgres but for the moment was looking to optimise IIS.
      I could not find anything in the ProGet documentation to suggest you should not increase the limit higher than 5000, is your recommendation to not increase this number based off bad experiences with other customers ? Or are you just saying that the preferred approach is to use Kestrel?

      Thanks

      posted in Support
      F
      forbzie22_0253
    • IIS appConcurrentRequestLimit

      Hi,

      Does ProGet have a recommended limit on the max number of connections for appConcurrentRequestLimit setting in IIS?

      It's 5000 by default but does increasing this to 10000 sound reasonable if the server has enough resources ?

      Wasn't sure if ProGet had any hard limits within its own service etc so thought I'd ask

      Thanks

      posted in Support
      F
      forbzie22_0253
    • ProGet Asset Directory

      Is it possible to retrieve previous versions of an item in the asset directory using the API?

      I see the metadata endpoint I can query but that does not contain the previous versions.

      Thanks

      posted in Support
      F
      forbzie22_0253
    • RE: ProGet feeds using different app pools

      Does the integrated web server use Kestrel under the hood?

      Assume it has feature parity with IIS so that you can have Https certificate bindings etc?

      Are there any gotchas to using the integrated web server ?

      Thanks

      posted in Support
      F
      forbzie22_0253
    • ProGet feeds using different app pools

      Hi,

      I had a design question.

      If you expect some of your feeds to be very busy, would it be better to have a separate application pool in IIS for each of the feeds in ProGet?
      So one website but multiple web applications pointing to different app pools.
      This way you would segregate the process etc.. so one would not affect the other.

      Is this a supported configuration or do you have customers that do this?

      Thanks

      posted in Support
      F
      forbzie22_0253
    • ProGet IIS Dependency on SQL

      We have noticed the following issue when using ProGet with SQL Express.
      The ProGet server will reboot.
      The ProGet App Pool comes up before the ProGet SQL instance is fully loaded.
      Is there a way to make the web application dependant on the SQL DB?
      There isnt two different windows services to make one dependant on the other so thats a no go.
      Would like to try and use some native ProGet functionality to solve this if possible.

      posted in Support
      F
      forbzie22_0253
    • ProGet successfully started Event

      Whats the best way to determine that ProGet is fully started and ready after a server reboot?

      The only event information I can see that is relevant is:
      Log: Application
      Source:IIS ASP.NET Core Module V2
      <Data>Application 'C:\ProGet\Service' started successfully.</Data>

      But this comes from ASP.NET source

      Does ProGet have its own event?

      I ask because I am trying to setup a scheduled task to run which is triggered by an event, the event I would like to trigger on is only when ProGet has fully started and is ready to serve up modules etc... I notice that sometimes after a reboot, ProGet can take several minutes to become available.

      thanks

      posted in Support
      F
      forbzie22_0253
    • RE: ProGet Proxy Authentication

      So since Proget runs under the NetworkService account, I assume that if Proget uses 'Use Windows proxy settings' then it should be able to authenticate via the proxy as this account using Kerberos?

      As I understand, the NetworkService account presents the computers credentials to remote servers.

      Also, can the proxy settings be configured programmatically?

      thanks

      posted in Support
      F
      forbzie22_0253
    • RE: Programmatic way to check activation

      @atripp the health endpoint looks good, thanks

      posted in Support
      F
      forbzie22_0253
    • Programmatic way to check activation

      Hi,

      Is there a way to check if ProGets license key has been activated programatically?
      At the moment, if ProGet is not activated, the only way I know via code, is the API simply wont work and will timeout.
      I was not sure if there was a registry key or some file I could inspect to find out.

      posted in Support
      F
      forbzie22_0253
    • RE: Setting API key permissions

      @atripp thanks, resolved now.

      posted in Support
      F
      forbzie22_0253
    • ProGet Proxy Authentication

      Hi,

      Is ProGet able to use the windows proxy for authentication?
      Basically, is it able auto discover the proxy being used by the Windows OS?

      I do see there is a setting 'Use Windows Proxy Settings'

      thanks

      posted in Support
      F
      forbzie22_0253
    • RE: Setting API key permissions

      Hi,

      I am using the new Create Api key API here: https://github.com/Inedo/pgutil/blob/thousand/Inedo.ProGet/ApiKeyInfo.cs

      /api/api-keys/create

      When I use Invoke-RestMethod against this new API it returns the error: Invoke-RestMethod : Required property missing: feedPermissions

      When checking the ApiKeyInfo.cs there is no property called 'feedPermissions' ?

      I also tried packagePermissions as thats the property in the .cs file but no joy.

      I am using Proget version 24.0.6.6

      posted in Support
      F
      forbzie22_0253
    • RE: Setting API key permissions

      Thanks I will take a look at the latest version.

      Do Inedo recommend using pgutil instead of the usual HTTP APIs going forward?

      Will their be feature parity between the API and pgutil ?

      Just wondering what we should be using as the best way to programmatically manage ProGet going forward.

      Thanks

      posted in Support
      F
      forbzie22_0253
    • RE: ProGet license activation automation

      @atripp thanks for confirming

      posted in Support
      F
      forbzie22_0253
    • Setting API key permissions

      Hi,

      I have been able to successfully set the permissions for an Admin API keys that has full system access by using the stored proc 'ApiKeys_CreateOrUpdateApiKey'

      I am using the same method to create an API key which needs to be able to publish packages to all feeds, can you tell me how the XML should be set?

      This works for my Admin System API key

      '<Inedo.ProGet.ApiKeys.ApiKey Assembly="ProGetCoreEx">' +
      '<Properties ' +
      'AllowPackagePromotionApi="False" ' +
      'AllowRepackagingApi="False" ' +
      'AllowFeedManagementApi="False" ' +
      'AllowWebhooksApi="True" ' +
      'AllowConnectorHealthApi="True" ' +
      'AllowFeedsApi="True" ' +
      'AllowDockerBlobReaderApi="False" ' +
      'AllowSbomApi="True" ' +
      'AllowSbomUpload="True" ' +
      'UseApiKeyTasks="False" ' +
      'AllowNativeApi="True" ' +
      'DoNotLogRequest="False" ' +
      'DoNotLogResponse="False" />' +
      '</Inedo.ProGet.ApiKeys.ApiKey>'

      This adds the api Key but gives me no permissions, the check box to 'Add/Repackage' is not getting checked.
      I want to give the API key access to Add/Repackage on all feeds
      I am using this XML:

      '<Inedo.ProGet.ApiKeys.ApiKey Assembly="ProGetCoreEx">' +
      '<Properties ' +
      'AllowPackagePromotionApi="False" ' +
      'AllowRepackagingApi="False" ' +
      'AllowFeedManagementApi="False" ' +
      'AllowWebhooksApi="False" ' +
      'AllowConnectorHealthApi="False" ' +
      'AllowFeedsApi="False" ' +
      'AllowDockerBlobReaderApi="False" ' +
      'AllowSbomApi="False" ' +
      'AllowSbomUpload="False" ' +
      'UseApiKeyTasks="True" ' +
      'AllowNativeApi="False" ' +
      'DoNotLogRequest="False" ' +
      'DoNotLogResponse="False" />' +
      '</Inedo.ProGet.ApiKeys.ApiKey>'

      Are there any docs that explain these permissions or are you able to help me to see where I am going wrong?

      thanks

      posted in Support
      F
      forbzie22_0253
    • RE: ProGet license activation automation

      Thanks

      At present, I am building several ProGet servers using the same license key in the installation which seems to be working ok until I get to the activation stage.

      Instead of activating successfully, ProGet throws up a manual activation required box, it asks me to logon to myinedo.com and paste a license key and machine UID to retrieve the activation code. Is it doing this because the license key has already been activated on a different ProGet server ?
      Is there anyway to get round this with the free version? Is this expected in the free version?

      posted in Support
      F
      forbzie22_0253
    • ProGet 2024 API changes

      Hi,

      I see in the roadmap for ProGet 2024 you are restricting the Delete API to 10 per hour, what is the actual API endpoint name this applies to?

      I can't see anything in the notes, but are you deprecating any of the native APIs?

      Thanks

      posted in Support
      F
      forbzie22_0253
    • RE: ProGet license activation automation

      @atripp do you know the license activation URLs it will need to hit to activate?
      This is so we can allow firewall access

      posted in Support
      F
      forbzie22_0253
    • ProGet license activation automation

      Is it possible to programmatically activate a license via the API or stored proc?
      From browsing the native api and stored procs I don't see anything that stands out.

      As I understand it, I should be able to activate the same license key multiple times as long as it's the free edition

      Thanks

      posted in Support
      F
      forbzie22_0253
    • Reset ProGet Admin Password via API

      Is there a preferred approach to resetting the Proget Admin password?
      I am automating the Proget build and want to reset the Admin password at build time.

      I see you can use the Proget.Service.exe to reset the password to defaults but not actually pass in your own secure password.

      It seems there is an API documented below that lets you reset the password, but I am having issues with this as Invoke-RestMethod passes a JSON body to the API which is of type string, and the API expects type Bytes

      Am I over thinking this, I'm hoping there is an easier way to set the proget admin password to something more secure

      Common API reference snippet
      Sets the password using "new Rfc2898DeriveBytes(plainTextPassword, 10, 10000)" in C#, with .GetBytes(20) for @Password_Bytes and .Salt for the @Salt_Bytes
      User_Name (String)
      Password_Bytes (Byte[])
      Salt_Bytes (Byte[])

      thanks

      posted in Support
      F
      forbzie22_0253
    • Apply License via API

      I am looking to Apply the ProGet Free License found in Administration > Licensing & Activation via the API

      Is this possible to do via API or StoredProc?
      Can I simply use the Free License Key I already have?
      Do I need a different License key for each instance of ProGet Free, or can I use the same License Key for all instances?
      Will the License key be permenant and ok to use? (As long as I dont trigger any violations of course)

      I see the API guide for licenses here https://docs.inedo.com/docs/proget-licenses-api but do not see an API to apply the main central License, is there something I am missing?

      UPDATE: Have seen you can apply the License Key at install as an argument to the hub installer with LicenseKey=
      So I guess the only question now is are you ok to install multiple ProGet instances with the same Free License key?

      thanks

      posted in Support
      F
      forbzie22_0253
    • RE: ProGet dropPath for package imports

      @atripp thanks for confirming.

      posted in Support
      F
      forbzie22_0253
    • RE: ProGet dropPath for package imports

      Another question.
      This article https://docs.inedo.com/v1/docs/proget-bulk-import-with-droppath shows the GUI option "Delete package files from path after import".
      When configuring the dropPath, we would like to stop proget deleting the package after import, is this possible? I dont see an option for this in the advanced settings.
      Only seems to be available for one off bulk imports via the GUI?

      posted in Support
      F
      forbzie22_0253
    • RE: ProGet dropPath for package imports

      To confirm, We would not be publishing packages and overwriting them, we would only publish new versions of packages to the dropPath so they then get picked up by Proget.

      So the question here is still the same, If lots of computers are trying to pull down a PowerShell module called 'MyModule' (default to get the latest version), and someone is releasing a new version of this module by copying a nupkg to the dropPath, I wanted to check that Proget would still serve the old module fine until the new version had been released successfully.

      I ask this because the internal version of NuGet server (https://learn.microsoft.com/en-us/nuget/hosting-packages/nuget-server )itself had an issue with this, when new modules were being ingested by nuget server, it sometimes caused errors for users trying to install that module from the feed.

      Good to know it will retry if a lock is detected.
      Also good to know other folks are using dropPaths as an intermediate to publish packages to Proget.

      thanks

      posted in Support
      F
      forbzie22_0253
    • ProGet dropPath for package imports

      Hi,

      I've been looking at Progets dropPath feed property here and have a few questions:
      https://docs.inedo.com/docs/proget-feed-storage

      From reading about this property it says it's primarily used for bulk uploads of packages from a local or unc path.
      I would like to use this feature to also upload/publish ad-hoc packages, i.e. If someone releases a new nuget package and copies this to the dropPath, ProGet would pick this change up and publish to the feed.

      Are there any downsides to using dropPath in this way? And is anyone else using dropPath this way?

      I guess the main question here is, is it suitable for incremental package changes as opposed to just bulk uploads?

      Other questions are:
      Can ProGet handle situations where multiple computers are trying to install a module from the feed while at the same time that module is being updated by the dropPath feature?

      Could these be potential file locking situations where a package is copied to the drop path and ProGet is trying to access it in the dropPath?

      posted in Support
      F
      forbzie22_0253
    • RE: Create Feed via API Timeout

      Just to close this thread off.

      I tried below but no joy:
      Rebooting server several times
      Server is not under any load
      All other feed related API's worked fine
      Re-installed proget

      Resolved:
      Re-installed proget and re-created DB

      posted in Support
      F
      forbzie22_0253
    • RE: Create Feed via API Timeout

      Using windows server and IIS
      Only using Proget

      Trying twice in a row does not work either

      IIS logs show error http 500
      /api/management/feeds/create - 443 - ip-address Mozilla/5.0+(Windows+NT+10.0;+Microsoft+Windows+10.0.22631;+en-US)+PowerShell/7.4.1 - 500 0 0 30006

      FYI
      The List API works fine
      GET /api/management/feeds/list

      posted in Support
      F
      forbzie22_0253
    • Create Feed via API Timeout

      Hi,
      I'm creating a new feed via the API:

      $headers = @{
      'Content-Type' = 'application/json'
      'x-apikey' = $apiKey
      }
      $body = @{
      name = $FeedName
      feedType = $FeedType
      active = 'true'
      }

      $params = @{
          Uri     = "https://proget-dev/api/management/feeds/create"
          Method  = 'POST'
          Body    = ($body | ConvertTo-Json)
          Headers = $headers
      }
      

      Invoke-RestMethod @params

      This returns the error:
      Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
      The statement has been terminated.

      The POST looks correct since if i change the api-key to something that does not have rights it return 403 forbidden

      Is there anything to check whats going on here?

      thanks

      posted in Support
      F
      forbzie22_0253
    • RE: Programmatic way to manage API keys

      @atripp I looked at the native API but creating or updating the key was missing.

      I've now looked at creating the key via stored procedure as you said.

      Is there a link or blog where you publish your upcoming features such as these new APIs?
      Do you know when the 2024 version will be released?

      Thanks

      posted in Support
      F
      forbzie22_0253
    • Programmatic way to manage API keys

      Hi,
      I am automating the install and configuration of a ProGet server and would like to know if there is a way to create new API keys using an API ?

      I was planning to use the Pseudo Key option with the Admin account to login and setup the API keys I require, but this means I need some programmatic way of managing the API keys and I don't see an API listed for this on the ProGet forums?

      Any ideas to get around this ?

      Thanks

      posted in Support
      F
      forbzie22_0253
    • RE: ProGet and PowerShells PSResourceGet module

      So its early days but performing the basic Functions from both the PowerShellGet and PSResourceGet modules seems to work as expected without issue, i.e. Find-Module, Find-PSResource, Install-Module, Install-PSResource, Publish-Module, Publish-PSResource work well.

      I guess the main reason for asking this question was to check that you guys keep track of these modules released by Microsoft since they are widely used and its nice to know support is on hand if necessary. Its always comforting to know that a vendor is keeping track of issues on platforms such as GitHub etc....

      thanks for prompt replies.

      posted in Support
      F
      forbzie22_0253
    • RE: ProGet bulk upload of nupkg files, choco packages

      @Dan_Woolf awesome thanks

      posted in Support
      F
      forbzie22_0253
    • ProGet bulk upload of nupkg files, choco packages

      Hi,
      Do you have any recommendations to bulk upload a load of chocolatey packages which are currently in .nupkg format?

      I know you can simply use powershell to retrieve all the files and then loop through and call choco push for each package but this could be slow for 1000+ packages, wondered if there was a faster approach whether that be upload using a different format or something else?

      Thanks

      posted in Support
      F
      forbzie22_0253
    • ProGet and PowerShells PSResourceGet module

      Hi,

      I wanted to ask if the ProGet technical team test any of the ProGet functionality with the new PSResourceGet module? since this is the new way for powershell to interact with the v3 API.

      From my own testing I can say it works ok so far but I wanted to ask if you guys actively test and keep upto date with this module?

      I've noticed a couple of issues logged on GitHub about ProGet and the PSResourceGet module so thought I would ask.

      posted in Support
      F
      forbzie22_0253
    • RE: ProGet feeds in different IIS App Pools

      @rhessinger ok thanks

      posted in Support
      F
      forbzie22_0253
    • ProGet feeds in different IIS App Pools

      Hi,
      Is it possible to configure ProGet and IIS to use a different App Pool for each feed?

      I would like to have three feeds, and run each of those feeds in its own app pool, that way if one app pool misbehaves, the other app pools and feeds are not affected.

      Thanks

      posted in Support
      F
      forbzie22_0253
    • RE: Database recommendation for ProGet

      @atripp ok, so performance wise it should not make a difference on which database option to use?, it's only recommended to go standard or enterprise if you end up enabling the high availability features.

      Thanks

      posted in Support
      F
      forbzie22_0253
    • Database recommendation for ProGet

      I know SQL standard edition is always preferred so express but does anyone have any opinions on using SQL express for ProGet?

      I can't imagine the database is that utilised even for a high number of endpoints

      Thanks

      posted in Support
      F
      forbzie22_0253
    • RE: Multiple Proget instances and SQL DB

      @atripp ok that makes sense, thanks for confirming.

      posted in Support
      F
      forbzie22_0253
    • RE: Multiple Proget instances and SQL DB

      @rhessinger thanks for clarification.
      So that's fine as I can spin up a separate DB for each Proget install.

      As long as you don't use connectors or any enterprise features, are you permitted to use the free version for business use? Is there a limit to how many free instances you can install ?

      Thanks

      posted in Support
      F
      forbzie22_0253
    • RE: Multiple Proget instances and SQL DB

      @rhessinger thanks for confirming

      posted in Support
      F
      forbzie22_0253
    • Multiple Proget instances and SQL DB

      Hi, I plan to use Proget on for example 6 different servers, does each instance require its own DB?
      Or can you install the first instance which creates the dB, then install the second instance and point to the same dB?

      This would be for the free edition and not using any connectors, the repository name would be the same on each instance

      Thanks

      posted in Support
      F
      forbzie22_0253
    • 1 / 1