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!

  • Needing examples for Using Inedo.SDK for proget

    3
    0 Votes
    3 Posts
    5 Views
    atrippA
    Hi @kenneth-garza_2882 , Based on your use cases, an extension wouldn't be a very good fit... and Webhooks are the way to go. For ProGet (unlike BuildMaster/Otter), extensions are really specialized, and it's pretty rare for folks to make their own, and we're keen on helping anyways. For example, depending on what your vulnerability scanning software is, we'd love to help and even adopt the integratino, so other users can use it. The main three things we see are: Cloud Storage; https://github.com/Inedo/inedox-aws https://github.com/Inedo/inedox-whitesource Vulnerability Scanning / Package Blocking https://github.com/Inedo/inedox-sonatype https://github.com/Inedo/inedox-azure User Directory https://github.com/Inedo/inedox-inedocore And the best way to do those, are mostly to copy the examples/code we already have. Let us know more details, and we can do ourbest to help! Thanks, Alana
  • Unable to upgrade ProGet

    3
    0 Votes
    3 Posts
    12 Views
    D
    Hi, I have now been able to get into the database and add my own username. This has allowed me to upgrade to 5.2 and we are planning to upgrade to 5.3 once the devs confirm the breaking changes won't have an impact. Thanks for your assistance.
  • Nuget v3 SearchQueryService does not support query terms

    6
    0 Votes
    6 Posts
    20 Views
    atrippA
    Hi @tomg_5321 Glad you can get some results using the non-filtered search. If there is more demand, we may implement it... but you're the first person mention it. However, based on your requirements, I don't think you should use search.. my actual underlying requirement is to test if a certain version (which may not be the most recent) of a certain package (by exact id) exists on the server, in an efficient way, for use over relatively low-performance network links (ie, not over local LAN) In this case, I recommend you just do a HEAD request on this URL: /nuget/<feed-name>/v3/catalog/<package-name>/<version>.json For example in PowerShell, Invoke-WebRequest -Method Head https://proget.inedo.com/nuget/NuGetLibraries/v3/catalog/inedo.buildmaster.sdk/2.0.0.json A 200 means package exist, a 404 means it doesn't exist. Cheers, Alana
  • 0 Votes
    7 Posts
    41 Views
    atrippA
    Hi @RobIII , Thanks for sending that over; we've reviewed it, but nothing is jumping out as a problem. I'm thinking it's something else... Can we do this? At first, let's move this to a new topic. I'm going to lock this thread, can you reply as a new topic? The reason for this is so that we can track much easier. Is it possible to share access to your GitLab repository? That's the easiest thing of course, but you say "on-prem" so maybe not so easy. As an alternative, can you create a simple reproduction case using a public GitLab repository? This way, we can plug ProGet into it, attach a debugger, and figure out what's going on. The most likely scenario is that GitLab doing something wrong/weird against the spec, but it just happens to work in Visual Studio. That was the sitaution of GitHub. Thanks, Alana
  • Delete Files / Directory in Asset Directories via PS/CLI/API

    3
    0 Votes
    3 Posts
    19 Views
    D
    Hi Greg! thank you very much for your example. With that we were able to make it work! Can't wait for the upcoming update and what cool stuff it brings to the table! Kind Regards Dennis
  • NPM Audit

    6
    1 Votes
    6 Posts
    80 Views
    atrippA
    @maxim_mazurok this has been implemented for a couple years now -- however it is still considered an "Experimental feature" because the npm audit API is undocumented and npm, Inc. does not support third-party implementations. Instead, ProGet will attempt to forward requests to the audit endpoint to npmjs.org or a connector. This may stop working if npmjs.org changes the API or blocks ProGet's requests. They've only changed APIs once, and we've promptly fixed it. In any case, you can configure the proxy URL in ProGet 5.3 by navigating to the Manage Feed page on your npm feed.
  • How to configure Docker Connectors

    4
    0 Votes
    4 Posts
    41 Views
    Dan_WoolfD
    Hi @izzy95453_1154, I think the next step is to verify that your connector is configured correctly. Can you search in the ProGet UI for mssql/server? That should return the remote image for SQL Server. If you then click on the the Remote Tags tab and then click on 2019-latest, you should see the command syntax for pulling that image. Can you please verify that matches what you are using? ~ Dan
  • BuildMaster Release Template Variables

    4
    3
    0 Votes
    4 Posts
    9 Views
    rhessingerR
    Hi @paul-reeves_6112, No problem! Always happy to help. Thanks, Rich
  • BuildMaster Text Template Operation

    7
    3
    0 Votes
    7 Posts
    18 Views
    rhessingerR
    Hi @paul-reeves_6112, That's ok. It went through our internal testing and everything looked good so we pushed it to production with the last release. Thanks for verifying this for us! Thanks, Rich
  • BuildMaster Pipeline Stage View

    9
    1
    0 Votes
    9 Posts
    17 Views
    rhessingerR
    Hi @paul-reeves_6112, Thanks! Always happy to help. Please let us know if you find anything else! Thanks, Rich
  • ProGet - Feature Request - End user setup button for a feed

    9
    0 Votes
    9 Posts
    28 Views
    rhessingerR
    Hi @harald-somnes-hanssen_2204, Thanks for sending this over to us. It is very helpful! We will definitely be discussing this further as a team! Thanks, Rich
  • Error Upgrading ProGet Version 3.8.6 To 5

    4
    2
    0 Votes
    4 Posts
    15 Views
    rhessingerR
    Hi @rbenfield_1885, It looks like you are using the integrated webserver. It looks like this error is happening when it is attempting to register the port on Windows. Please make sure that the user is an administrative user and that the port that you are using for ProGet is not already in use. Can you share the error that you are getting when you are trying to upgrade to ProGet 5.3? Thanks, Rich
  • Request ability to delete a Helm repository

    4
    1
    0 Votes
    4 Posts
    8 Views
    atrippA
    @Stephen-Schaff you got it! We'll try to get PG-1996 added in the next maintenance release. Should just be a pretty straight-forward loop :)
  • Proget Feature request - API key admin per user

    9
    1
    1 Votes
    9 Posts
    34 Views
    apxltdA
    @scroak_6473 ooh I forgot to mention, but this feature was released a little while ago. It's a preview feature, and you can enable it by going to [User Icon] > Personal API Keys > Enable. LMK your thoughts!
  • ProGet says "500 Internal Server Error" when deploying via maven

    7
    0 Votes
    7 Posts
    22 Views
    J
    Thank you very much! I'm curious about the release...
  • BuildMaster Configuration File Deployment

    4
    2
    0 Votes
    4 Posts
    16 Views
    apxltdA
    Thanks for the very detailed write-up @paul-reeves_6112! Just some background -- back in the v5 days, we introduced Text Templates and intended it to just totally replace the Configuration Files feature. It seemed simpler/better at the time... but I was wrong, that was a mistake... and well, now we have two features that kind of overlap, and are quite confusing at times. Aside from simplicity (in many use-cases), the main benefit to Configuration Files is restricting view/editing of different instances. There are other benefits as well, but that's what most users really like about them -- especially since it's a lot simpler than using secret storage for values. Attaching versions to releases is also nice, as it provides better visibility in changes. The main benefit in this all is that developers can "see everything except the actual production values" (like they can see prod was changed, just not what was changed), and then help operations (who can see everything) debug/diagnose/etc. As @stevedennis mentioned, this is definitely something I want to improve throughout v7, from content and enhancements. So i'm very open to your (seemingly) advanced use case :) [1] Selecting Templates on Deploy This is should be pretty easy to do, but let's just "pin" that to make sure I can makes sure it would be the right solution. I wonder if even using a Text Template or just a file on disk do the transform? That way, the template could be stored in source control, and the values in BuildMaster. [2] $InstanceId per Server The $InstanceId approach most definitely should work, and actually -- exactly how we envisioned the cascading variables to work, when integrated into configuration files :) But but then I saw this: it seems I cannot manually deploy a configuration file however This sounds like a bug to me... when you manually deploy a configuration file, you have to pick a Server... and that Server should be in context when doing variable resolution. I haven't tested it myself, but that might be what's missing here? That could be a regression, or an untested corner case, or something. [3] Conditional $WebKey per environment I should probably know this offhand... but are you saying the OtterScript blocks don't work inside of Configuration Files? In theory you should be able to do it, but that might not have been something we brought over. It should be easy to implement, and we'd want to make it opt-in. But if that's the only difference between the two Templates (i.e. a conditional $WebKey), then the OtterScript block you cameup seems like a good idea. There's also $ListIndexOf(@ServersInRole(Web), $ServerName) >= 0 to test the server's roles, though a simpler function would be nicer now that I think about it... [4] Variables assigned in several different places, global, environment, roles, and application Generally speaking, "convention-driven" tends to help minimize configuration (like using role names, application names, etc., when possible), but otherwise... the variables are a good fit for this. All told, this is pretty common, and it can be a lot easier to maintain as well. You can see all variables in all scopes on the ADmin > variables page, and it helps make it pretty clear how things are configured and to sort of audit. Conclusion Overall I think Configuration Files is a better fit, and whilst some improvements would be good I like the Key/Value pairs. Agreed, they seem like a better fit for your use case - especially since I assume the $Database is a secret. Versioning probably doesn't matter too much as any new settings won't be understood by the old software versions if a downgrade was required. Agreed; the main benefit on top of using different/old versions is "seeing which version was deployed with which relesae" in a very easy way. But keep in mind, "rollbacks" are where old versions might be nice to have tied to the release. Equally deploying the WebKey to all server roles also probably doesn't actually cause an impact. Also agreed; but... philosophically we don't want users to have to change their release processes just to use BuildMaster, so I want to make sure at least we support this case ;) Hopefully you can see a use case in being able to select a template within a configuration file; I actually have two different potential use cases For sure -- and even more than that, transforming with Text Templates or files. All told -- thanks for the dialog. I'd love to hear your feedback on these other ideas., and we'll try fix some of these edge case bugs ASAP . Alex
  • NPM package version not available: unsupported archive type

    5
    0 Votes
    5 Posts
    9 Views
    rhessingerR
    Hi @maxim_mazurok, I'm glad to hear that repulling the package fixed this. Do you have an anti-virus installed on your ProGet server? Is it possible to check that to see if the package was quarantined? Thanks, Rich
  • pgscan not sending --consumer-package-source

    7
    2
    0 Votes
    7 Posts
    12 Views
    gdivisG
    I've merged this pull request and published v1.0.2 with the change. Thanks for the fix!
  • Best way to upgrade Proget from 3.7.6.2 to latest (5.3.33)

    4
    0 Votes
    4 Posts
    22 Views
    I
    Hello I followed the advised migration path but I found out I had a sqlserver 2005 installed so I had to upgrade it to 2012 at least (the only one compatible with windows 2008R2). The upgrade to 5.2.32 went fine and was confirmed by the installer, just when starting the service it crashes. I had to update the serverurl as described here: https://inedo.com/support/kb/1014/changing-url-with-the-integrated-web-server After that the service started but connecting with a browser the Proget I see a white (empty) page. Is there a log I could check to find out what went wrong?
  • BuildMaster Set File Attributes Operation

    4
    2
    0 Votes
    4 Posts
    9 Views
    atrippA
    Hi @paul-reeves_6112 , Of course, it should totally work in the usecase you described, I just wanted to explain how it got missed during testing :) In general, we recommend not including configuration files that contain environment-specific configuration in artifacts to begin with, or at least using include/exclude filters on the Deploy Artifact operation. Then, deploying using the configuration files feature. But that's just general advice of course. However, your use case sounds a little different, in that you want the configuration file deployed, but only the first time? I don't have a great solution to that, but the main downside I see is that engineers who manage/edit the configuration file (add values, etc), may be surprised when it's "not deploying" like they expect it to. Config files can be tricky to balance as you probably already know :) Cheers, Alana
Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation