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!

  • Experimental feature "Feeds.ProxyNpmAuditRequestsToNpmOrg" available?

    2
    0 Votes
    2 Posts
    6 Views
    atrippA
    Hi @markus4830, It's available, but it's now moved to the Manage Feed page. Did you see ProxyNpmAuditRequestsToNpmOrg documented anywhere? I think that's an old setting name. Thanks
  • Enable Package Statistics through API

    2
    0 Votes
    2 Posts
    5 Views
    atrippA
    Hi @jeff-miles_5073 , It doesn't look like that field is settable via the API at this time.... unfortunately not everything is. How are you using that particular API, by the way? Always good to get usecases. It's probably easy enough to add; let me know if you'd like that (perhaps other things that's missing?) Cheers, Alana
  • BuildMaster Multiple Application Deployment

    3
    0 Votes
    3 Posts
    7 Views
    P
    Hi @stevedennis , Perfect, thank you. Regards, Paul
  • NPM OData API Query equivalent of Nuget

    2
    0 Votes
    2 Posts
    4 Views
    rhessingerR
    Hi @jameswiseman76_4902, I think you are looking for the npm search API. You would make a call to your npm feed using http://{proget-server}/npm/{feedName}/-/v1/search?text={Package}. It also looks like http://{proget-server}/npm/{feedName}/-/all will show you all local packages (it does not include remote packages from connectors) stored in ProGet. Please also note that the search API returns results in a paged fashion, you will need to use the from query string parameter to offset the results to get the following pages. I hope this helps! Please let us know if you have any other questions. Thanks, Rich
  • 0 Votes
    5 Posts
    39 Views
    S
    Hi, Just to update this issue. I ended up having to remove, clean up, and reinstall IIS\ProGet. After that, the default ProGet instance loaded successfully. Thanks for all of your input. Scott
  • Maven Versions don't sort correctly

    2
    0 Votes
    2 Posts
    8 Views
    NanciCaloN
    Thanks for report @jim-borden_4965 We just reviewed the Version Order Specifications, which are a bit ambiguous... but if that's what the version class does, then we may as well follow. I've fixed this as PG-2226 by comparing integer version qualifiers numerically, and it will be in the next maintenance release.
  • 0 Votes
    4 Posts
    11 Views
    NanciCaloN
    @mistique88885_0973 thanks for letting us know! I didn't realize that was wrong. I just corrected the text , and it will be fixed via PG-2225 in the next maintenance release
  • Uploading snupkg using NuGet client

    13
    0 Votes
    13 Posts
    63 Views
    dean-houstonD
    The logic is fairly simple, but in general the changes are: when you push a file to /symbols, the symbols will be indexed and the file will be saved as .snupkg when you request a symbol from /symbols, the .snupkg will be returned instead of the .nupkg file when you delete a package, the .snupkg file will also be deleted There's of course some details to work out, but with this approach, we're not treating .snupkg files as "NuGet Packages", so they won't show up in feeds.
  • 500 error on "docker push" due to a deadlock

    14
    0 Votes
    14 Posts
    75 Views
    atrippA
    Hi @inok_spb - that's correct, the proc is dropped/created each time ProGet is upgraded/installed.
  • Restarting Linux / SSH agents correctly

    3
    0 Votes
    3 Posts
    17 Views
    F
    Hi @stevedennis , haha yes unfortunately we have to restart them sometimes very nice, I look forward on testing that out, thank you
  • Proget: API for release versions only/Hide prerelease?

    2
    0 Votes
    2 Posts
    11 Views
    atrippA
    Hi @mcascone, There isn't an API/endpoint for that at this time, but it's easy enough to handle at the consumer/client-level. To tell if something is prerelease, you can just do versionNumber.Contains('-'). In the case of the all versions page, the "client" (i.e. the page) just queries the versions and displays non-prerelease. Cheers, Alana
  • ProGet as ClickOnce publish target?

    5
    0 Votes
    5 Posts
    10 Views
    MaxCasconeM
    Just thought I'd drop in and describe where we ended up with this. It works for us, YMMV. This is running in the context of a Jenkins deploy run, but the concepts should apply to most other use cases. There are a lot of env vars floating around in all of this; i know it's not ideal, but it's really the easiest way to move values around in Jenkins without going crazy with OO classes that are really hard to get working in the Jenkins context. I have recently come up with a pattern to store more complex objects in env vars as json strings, and convert them when needed. Happy to answer any questions from anyone interested in using this admittedly obscure functionality. // this is called from vars/deploy.groovy when appropriate clickOnceDeploy([clickAppName:env.clickOnceName, clickAppPath:env.clickOnceDir, targetEnv:targetMap.key]) // defined in vars/deploy.groovy def clickOnceDeploy(HashMap clickParms) { // find the zip in the download folder String dlFolder = "${WORKSPACE}/${env.packageDownloadDir}" String clickOncePackage = "${dlFolder}/${env.releasePath}/${clickParms.clickAppPath}.zip" String targetEnv = clickParms.targetEnv String zipFileName = "${clickOncePackage.replace('.zip', '')}-${targetEnv}.zip" // extract the zip - select the target env folder unzip zipFile: clickOncePackage, glob: "${targetEnv}/**", quiet: true // zip that folder up, use powershell to get the dir included pwsh "Compress-Archive -Path ${targetEnv} -DestinationPath ${zipFileName} -Force" // publish it to proget asset dir HashMap publishParams = [assetDir:"${clickParms.clickAppName}", zipFilePath:zipFileName] addToInfoMessages("Publishing ClickOnce App: ${clickParms.clickAppName}/${targetEnv}") publish.publishProGetAssetFromZip(publishParams) // defined in vars/publish.groovy def publishProGetAssetFromZip(HashMap publishParams) { // check for required params assert publishParams.assetDir != null assert publishParams.zipFilePath != null // sane defaults publishParams.get('progetBase', env.progetUrl) publishParams.get('overwrite', true) publishParams.get('format', 'zip') // build the api endpoint String progetAssetImportApi = "endpoints/${publishParams.assetDir}/import/?format=${publishParams.format}&overwrite=${publishParams.overwrite.toString()}" String assetUrl = "${publishParams.progetBase}/${progetAssetImportApi}" // need to pass the api token, so pull it from the jenkins cred store withCredentials([string(credentialsId: 'proget-api-key', variable: 'token')]) { retry(3) { httpRequest httpMode: 'POST', url: assetUrl, uploadFile: publishParams.zipFilePath, customHeaders: [[maskValue: true, name: 'X-APIKey', value: token]], ignoreSslErrors: true, responseHandle: 'NONE', contentType: 'APPLICATION_OCTETSTREAM', wrapAsMultipart: false, quiet: true } } addToInfoMessages("Published to ${publishParams.progetBase}/assets/${publishParams.assetDir}") }
  • Working with symbols in nuget packages works not as expected.

    4
    0 Votes
    4 Posts
    9 Views
    atrippA
    @stijn-peeters-external_8202 Thanks for letting us know; we do have plans to improve this in ProGet 2023, and make it much easier to use.
  • Database Backup doesn't contain Docker feeds?

    proget
    3
    0 Votes
    3 Posts
    15 Views
    atrippA
    @jim-borden_4965 glad you got it working :) On Windows, you can just do an in-place upgrade of MSSQL, and not worry about database migrations. The same is probably true on Docker, and you can just upgrade container. Anyways safer to back-up. And if you haven't seen it already, here is the ProGet guidance: https://docs.inedo.com/docs/installation-backing-up-restoring
  • ProGet log deletion query takes 26 hours

    Locked
    5
    5
    0 Votes
    5 Posts
    15 Views
    S
    @jerome-jolidon_1453 said in ProGet log deletion query takes 26 hours: Could this be related to this issue?foodlehttps://inedo.myjetbrains.com/youtrack/issue/PG-2189 Ok, that is clear now. Thank you for your answer.
  • 0 Votes
    3 Posts
    4 Views
    rhessingerR
    Hi @andrewwickham_1641, Thanks for giving us an update and letting us know that fixed your issue. Thanks, Rich
  • How to set up connector to npm repo with access token

    10
    0 Votes
    10 Posts
    37 Views
    rhessingerR
    Hi @torgabor_4445 and @sdohle_3924, I dug deeper into GitLab connectors and it looks like there are two ProGet issues here and a configuration issue. PG-2210: GitLab does not return the "time" property when it returns package metadata. This causes ProGet to fail to return any packages. PG-2211: There is a display issue when entering only a password with bearer authentication. The UI will show anonymous, even though it will use the token. Configuration Issue: here is what you will need to configure a GitLab connector. Connector URL: https://gitlab.com/api/v4/projects/12345/packages/npm/ User Name: leave blank Password: Generate a personal access token with API access and set that value there. Authentication: Bearer Advanced Options: Check exact package match only. GitLab does not support partial searching and/or listing I have added fixes for PG-2210 and PG-2211 and they will release tomorrow in ProGet 2022.9. Once you upgrade to 2022.9 and make the configuration updates, you should be able to pull GitLab packages via a connector. Thanks, Rich
  • Using drop path vs copying packages during migration to new server

    4
    0 Votes
    4 Posts
    9 Views
    atrippA
    Hi @itinfrastructure_7135 , The easiest approach is this: Notify users of downtime Shutdown old server Migrate database, files Start the new server Edit DNS to the new server Using the drop-path isn't required, and that whole process probably wouldn't take too long. There are ways to reduce downtime, but that mostly involves using something like "robocopy" or another tool to mirror the package files across servers. The database is relatively small to backup/restore. Otherwise it sounds like you're on the right track! Cheers, Alana
  • Error whike trying to update extensions

    8
    0 Votes
    8 Posts
    13 Views
    M
    OK, by selecting the correct version, I managed to upgrade manually the extensions. Many thanks for your time, Marc
  • User with permissions Publish permissions is denied

    13
    2
    0 Votes
    13 Posts
    44 Views
    S
    Thank you. I will do that.
Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation