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!

  • Feedback about PG-2268 Integrated .snupkg NuGet Symbol Support

    4
    0 Votes
    4 Posts
    22 Views
    atrippA
    @lm thanks for letting us know that it worked! I'm glad you were able to find the issue on GitHub. Looking closer, it is a NuGet client bug; I posted an update on the issue. The only workaround is what you described (setting a separate API key).
  • Chocolatey "install.ps1" not found

    3
    0 Votes
    3 Posts
    5 Views
    T
    It's odd because I haven't updated ProGet (or Ansible) since installing it, and it did work back 5 months ago. You're right, I'll likely need to modify the bootstrap_script if ProGet is not pulling the install.ps1 from the Chocolatey source upon request.
  • Powershell "Find-Package" has problems with v3-Feed on ProGet

    4
    0 Votes
    4 Posts
    15 Views
    R
    Hello Rich and Alana, thank you for your effort. I wrote my problem as a reminder to the open issue https://github.com/OneGet/oneget/issues/430. We will see what happens Kind regards, Rosario
  • Otter functions for interacting with REST API's?

    2
    0 Votes
    2 Posts
    7 Views
    atrippA
    Hi @Justinvolved , Hundreds of configuration files in one application -- definitely too much. I'd probably seek a different solution if that's the case. But having one or a few per application is okay. There is an Http-Post Operation that you can probably use to make API calls. Conceptually it's similar to the PowerShell Invoke-WebRequest method. I'm not sure what the configuration file would look like (array? map variable?), but there's also a variable function, ($Filecontents()), that could read a file, and an $Eval() function that can can convert text into variables. That said... it might be a bit challenging to do all this in OtterScript. It's not really designed for this. You may be better off writing a global PowerShell script that can process input from a configuration file that you deploy to the working directory. That would also be easier to test as well. Cheers, Alana
  • Build fails in release pipeline

    3
    2
    0 Votes
    3 Posts
    8 Views
    J
    Hey Greg, Thanks, changing to C:\Temp solved the issue indeed, so I guess the path was too long. I'm experimenting with the Inedo Agent to make sure I can scale up and not have everything tied to Localhost, seems that was a good call given these subtle differences :-) Cheers, Justin
  • Download Priority

    3
    0 Votes
    3 Posts
    12 Views
    N
    Thank you very much, it works as it should!
  • SSL Handshake problem with specific helm-repo

    4
    0 Votes
    4 Posts
    16 Views
    F
    Hi Dan, thanks for the fast reply. It's a Windows 2012 Server. We gonna move Proget to some newer machine and see whats gonna happen. Thanks, Florian
  • Addressing Configuration files in Build vs Release

    4
    2
    0 Votes
    4 Posts
    9 Views
    atrippA
    Thanks for clarifying @Justinvolved I was able to reproduce this issue, looks like it was a regression with "releaseless builds". Easy fix... it'll be in the next maintenance release as BM-3808. The release is scheduled for this Friday :) Cheers
  • ProGet symbol proxy

    6
    0 Votes
    6 Posts
    19 Views
    J
    You're right, caching SourceLink enabled PDBs would be somewhat useless for outages. Though there are still plenty of "old-school" PDBs around, especially for native code (C/C++).
  • Delete pipeline

    3
    0 Votes
    3 Posts
    6 Views
    M
    Thanks Alana!
  • Variable with package url for webhook

    5
    0 Votes
    5 Posts
    16 Views
    J
    Ok, thanks for the information.
  • Remember me functionality for ProGet webinterface

    4
    1
    0 Votes
    4 Posts
    13 Views
    stevedennisS
    Hi @lm , We've considered this over the years, but realized it'd be more engineering effort that just changing cookie duration; we'd want to track login sessions on the server side, allow them to be invalidated, etc. It's possible, but it seems the "Remember me" function on most services (GitLab, etc.) seems to be very forgetful anyways (for security purposes), and with Integrated Windows Authentication and browsers managing passwords, it seems not so valuable for the effort. Cheers, Steve
  • Email notification about new ProGet versions

    2
    0 Votes
    2 Posts
    14 Views
    Dan_WoolfD
    Hi @lm, We do not currently have any way to be actively notified on new ProGet releases outside of the notification in ProGet. We do, however, perform regular releases of ProGet and we typically release them every 2 weeks. The best place to check for updates would be the https://my.inedo.com/dowloads page or the Offline Installers page. Thanks, Dan
  • Discrepency in Stage name pipeline vs Configuration Files

    4
    0 Votes
    4 Posts
    6 Views
    atrippA
    Hi @Justinvolved , Ah, thanks for clarifying that! Yes... they should be Testing to follow everything else. Pipeline templates are a brand-new feature :) This was a trivial change, and will be updated in next version as BM-3805 Cheers, Alana
  • Deploy artifact without touching a certain subfolder?

    4
    0 Votes
    4 Posts
    8 Views
    rhessingerR
    Hi @Justinvolved, That message that says "currently contains 0 items" is just telling you that the folder that the artifact is deploying to contains 0 files. After that, it will deploy the artifact files. If you enable verbose logging (setting Verbose: true), you will see all the files transferred from the artifact to the working directory. Thanks, Rich
  • Upgrading ProGet from 6.0.14 to 22.0.17 fails with DB Error

    7
    0 Votes
    7 Posts
    23 Views
    R
    Hello @atripp, today we upgraded successfully to 2.0.17. We believe there were problems with Windows Active Directory Users and the permissions granted per group. Our solution was a new sql user and a corresponding change of the connection string in the ProGet.config. Thank you for your help.
  • Invalid Credentials error with Proget Chocolatey Packages

    2
    1
    0 Votes
    2 Posts
    13 Views
    atrippA
    Hello @itpurchasing_0730, It sounds like you set things up correctly, but seems like Chocolatey is behaving strangely; if you added a source, then you shouldn't be prompted for the credentials. In general, you should just need to run choco source add command: https://docs.chocolatey.org/en-us/choco/commands/sources Then you won't be prompted again. I would try removing your sources, and adding them back. You may also want to use a tool like Fiddler classic to monitor the traffic that Chocolatey is making. Unfortunately we can't tell, from just that diagnostic log. That will let you see exactly what URls are being used... and the underlying problem might be related to something like a proxy server. Cheers, Alana
  • 0 Votes
    5 Posts
    15 Views
    atrippA
    Thanks for letting us know @jeff-peirson_4344 ; we'll see if we can better detect and improve this error.
  • npm install

    2
    0 Votes
    2 Posts
    11 Views
    rhessingerR
    Hi @justin_2990, We are actually in the process of developing dedicated npm operations, but we do have anything ready as of yet. The easiest way to call npm commands is to use the Exec operation in OtterScript. Due to how the npm CLI writes it's output, you need to add ErrorOutputLogLevel: Warning to the Exec operation. Here is an example of the npm install and npm publish commands: set $NpmPath = C:\Program Files\nodejs\npm.cmd; set $NodePath = C:\Program Files\nodejs\node.exe; # Install Dependencies Exec ( FileName: $NpmPath, Arguments: install, WorkingDirectory: ~\Source, ErrorOutputLogLevel: Warning ); # Publish Package Exec ( FileName: $NpmPath, Arguments: publish Source, WorkingDirectory: ~\, ErrorOutputLogLevel: Warning ); When it comes to ProGet::Scan, it should work with all npm packages. It just reads the package-lock.json and records the dependencies in ProGet. You can see our implementation on the pgscan GitHub repository. If that doesn't work, you can always use a tool like CycloneDX to generate an SBOM and upload it to ProGet via the SCA API which has an endpoint for importing an SBOM file directly. One last thing, you mentioned that you are using ProGet. You can create an OtterScript module to register ProGet as your package source for npm. I do this with the following: ConfigureNpmRegistry OtterScript Module ##AH:UseTextMode module ConfigureNpmRegistry<$NpmPath, $ResourceName, $CredentialName> { set $ProGetNpmRegistry = $SecureResourceProperty($ResourceName, ServerUrl); Exec ( FileName: $NpmPath, Arguments: config set registry $ProGetNpmRegistry, WorkingDirectory: ~\, ErrorOutputLogLevel: Warning ); set $AuthToken = $SecureCredentialProperty($CredentialName, Token); PSCall Base64Encode ( Text: api:$AuthToken, EncodedText => $AuthKey ); Exec ( FileName: $NpmPath, Arguments: config set always-auth true, WorkingDirectory: ~\, ErrorOutputLogLevel: Warning ); Exec ( FileName: $NpmPath, Arguments: config set _auth $AuthKey, WorkingDirectory: ~\, ErrorOutputLogLevel: Warning, LogArguments: false ); Exec ( FileName: $NpmPath, Arguments: config set email support@inedo.com, WorkingDirectory: ~\, ErrorOutputLogLevel: Warning ); } I also had to add a PowerShell script to handle the base64 encoding of the credentials: <# .SYNOPSIS Base64 Encodes a string .PARAMETER Text Text to be encoded .PARAMETER EncodedText Encoded text string #> param( [Parameter(Mandatory=$true)] [string]$Text, [ref]$EncodedText ) $Bytes = [System.Text.Encoding]::UTF8.GetBytes($Text) $EncodedText =[Convert]::ToBase64String($Bytes) I then call this using: # Setup registry call ConfigureNpmRegistry ( NpmPath: $NpmPath, ResourceName: global::ProGetNpmRepo, CredentialName: global::ProGetNpmCredentials ); These are all operations we plan to build into the npm extension, but these are currently the workaround until we get that extension up and running. I hope this helps! Please let me know if you have any questions. Thanks, Rich
  • Add SymbolPackagePublish service to NuGet v3 Service Index

    3
    0 Votes
    3 Posts
    10 Views
    K
    Thank you very much for answer, keep up the good work.
Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation