Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. jw
    J
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    jw

    @jw

    2
    Reputation
    128
    Posts
    13
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    jw Follow

    Best posts made by jw

    • RE: ProGet SCA Cannot get NuGet vulnerability scanning to work

      Thank you for the pointers.

      I think I finally got it working, though I must admit I'm still not a 100% sure what combination in what order actually led to success.

      I'm already in contact with @apxltd about your planned SCA changes. I will try to write up what tripped me as part of that feedback.

      posted in Support
      J
      jw
    • RE: HTTPS with self hosted ProGet and internal web server

      There is updated documentation with step-by-step instructions here:

      https://docs.inedo.com/docs/installation-windows-https-support#configuring-https-on-the-integrated-web-server

      posted in Support
      J
      jw

    Latest posts made by jw

    • RE: ProGet 2025.10: License Update API Issues

      Whoops sorry I keep forgetting - it shows up different on our end. Let me know if you'd like me to update your email on the forums, so you can login with your company account. It's fine either way, but we might forget again -- it shows up as free/community user on our dashboard 😅

      Thanks for the offer, I created a ticket EDO-12291 with the information required.

      Anyway in that case, sure we can prioritize this for you!

      I guess in the end you guys need to sort out the question if you want to support partial updates.

      Since you're the first user whose requested this... we'll go with what you suggested. That makes sense to me. I just made this (PG-3137) since it was trivial:

      Sounds good, thanks for the fast implementation! I will check it out.

      posted in Support
      J
      jw
    • RE: ProGet 2025.10: License Update API Issues

      Hi @atripp

      Technically it's double, though it's not trivial due to the number of places the change would need to be made and tested... ProGet API, pgutil, docs.

      I guess in the end you guys need to sort out the question if you want to support partial updates. They do have advantages, especially for complex objects like in this case, but it indeed requires more effort to implement and maintain.

      The code/title change itself looks trivial (i.e. just pass in External_Id and Title_Text to the call to Licenses_UpdateLicenseData), though I'm not totally clear what to do about the other one. What does pgutil send in? Null? []? Etc.

      I'd probably do something like this:

      C# JSON Meaning
      List<T> = null <empty, not serialized> (1) Ignore during update
      List<T> = new List<T>() [] (empty array) Clear all items of the reference
      List<T> = new List<T>() { Item1, Item2} [Item1, Item2] Update the reference to the new list

      (1) [JsonProperty(NullValueHandling=NullValueHandling.Ignore)]

      As a free/community user this isn't all that easy to prioritize... but if you could do the heavy-lifting on the Docs and pgutil (i.e. submit a PR), and give us a script or set of pgutil commands that we can just run against a local instance... I'm like 95% I can make the API change in 5 minutes.

      We are actually paying customers, e.g. EDO-10681 is tied to our actual customer account. That makes it hard for me to justify the development work to our management.

      (I kept my forum account from before we were customers to keep the posting history. I failed trying to connect my forum account to the company my.inedo.com account, but that is another story)

      posted in Support
      J
      jw
    • RE: ProGet 2025.10: License Update API Issues

      @stevedennis said in ProGet 2025.10: License Update API Issues:

      And you're right, you can't update code/title, which aligns with the pgutil behavior as well.

      Is this something that could be added?

      Same question about the partial update behavior?

      Right now, as far as I can tell, it is not properly supported. Either null means ignore or null means clear, for a proper implementation three states need to be considered, like I listed above.

      posted in Support
      J
      jw
    • RE: ProGet 2025.10: License Update API Issues

      Hi @stevedennis

      the code seems to explain at least half of the problems I ran into

      • It is not possible to update the Title property of LicenseInfo, it is never passed to the DB
      • It is not possible to update the Code property of LicenseInfo, it is never passed to the DB
      • Partial updates might not be possible, that depends on how DB.Licenses_UpdateLicenseDataAsync handles null values
        At least the code shown here does not differentiate between supplying null or an empty list.
        True partial updates would be something like
        • Null => Do not change the db
        • Empty list => Clear the field in the db
        • Filled list => Overwrite the field in the db

      Given that the properties in the LicenseInfo objects are nullable, the code shown here doesn't quite match the intention of partial updates. At least not how it is described in the docs

      This endpoint supports partial updating by only updating the properties that are supplied in the request.

      posted in Support
      J
      jw
    • RE: ProGet 2025.10: License Update API Issues

      It appears the AddLicenseAsync() API also has issues:

      • Spdx is sometimes modified, sometimes not set at all
      • PUrl is not set
      • PackageNames is not set
      posted in Support
      J
      jw
    • ProGet 2025.10: License Update API Issues

      ProGet: 2025.10
      Inedo.Proget: 2.0.5

      The Update License API does not update the database in all cases.

      For example just updating the title via a partial object (which is supposed to be supported according to docs?) never seems to update the database, even though the call always succeeds.

      await _progetClient.UpdateLicenseAsync(new LicenseInfo { Id = 59, Code = "CC-BY-1.0", Title = "Test" });
      

      I've had some success with updating the Urls and PackageNames properties, but even these calls are not always immediately reflected in the database or the UI. Sometimes it feels like the changes only get persisted after clicking around in the UI a bit, but that could just be coincidence. Rarely it is visible directly after the API call.

      I've also tried retrieving the full LicenseInfo object from the database, and using a modified clone of the object with the Update API, but this has also flaky behavior and the title update also never works.

      Am I doing something wrong or is there a glitch in the update API?

      posted in Support
      J
      jw
    • RE: ProGet - Exception: Could not load file or assembly 'ProGet.WebApplication...

      Thank you for the feedback.

      I will observe for a while and reserve yelling at people to close their browsers for later. ;)

      posted in Support
      J
      jw
    • RE: ProGet - Exception: Could not load file or assembly 'ProGet.WebApplication...

      Hi @stevedennis

      I'm not quite sure what to do with this information. Unfortunately the log message contains no information from whom or which IP this exception is triggered.

      One question is what is the relation to the package that is mentioned in the Referrer. What could the notification be about?

      Another potentially related issue is browser cache busting, which does not seem to work reliably. I have noticed this in the past and also with the upgrade to the 2025 version, that changes in the UI are only reflected after manually cleaning the browser cache or force reloading with Ctrl+F5.

      From what I can see in the browser dev tools, some of the css files have a version query parameters, which I assume is meant for cache busting, but others (e.g. proget.css) do not.

      Could this be related to the issue, that after the upgrade to 2025, some people are still seeing old versions of the UI and triggering this exception?

      posted in Support
      J
      jw
    • ProGet - Exception: Could not load file or assembly 'ProGet.WebApplication...

      After upgrading to 2025.6 from 2024.36 we occasionally have the following exception in logs. It is not quite clear what exactly triggers it.

      An error occurred in the web application: Could not load file or assembly 'ProGet.WebApplication, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
      
      URL: https://xxxxxx.local/0x44/ProGet.WebApplication/Inedo.ProGet.WebApplication.Controls.Layout.NotificationBar/GetNotifications
      Referrer: https://xxxxxx.local/feeds/xxxxxxxx-nuget-proxy-telerik/Telerik.UI.for.AspNet.Core/2025.2.702
      User: (unknown)
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
      Stack trace:    at System.Reflection.RuntimeAssembly.<InternalLoad>g____PInvoke|49_0(NativeAssemblyNameParts* __pAssemblyNameParts_native, ObjectHandleOnStack __requestingAssembly_native, StackCrawlMarkHandle __stackMark_native, Int32 __throwOnFileNotFound_native, ObjectHandleOnStack __assemblyLoadContext_native, ObjectHandleOnStack __retAssembly_native)
         at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext, RuntimeAssembly requestingAssembly, Boolean throwOnFileNotFound)
         at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
         at Inedo.Web.Handlers.DynamicDelegateHandler.GetHttpHandler(GetHandlerParams args)
         at Inedo.Web.Handlers.DynamicHttpHandling.GetHandler(AhHttpContext context, String requestType, String url, String pathTranslated)
         at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
      
      ::Web Error on 31.07.2025 17:06:40::
      

      When opening https://xxxxxx.local/feeds/xxxxxxxx-nuget-proxy-telerik/Telerik.UI.for.AspNet.Core/2025.2.702 the package site is shown and also the package can be downloaded without any problem or exception.
      Deleting the package from the cache and repopulating the cache did not help either.

      Opening https://xxxxxx.local/0x44/ProGet.WebApplication/Inedo.ProGet.WebApplication.Controls.Layout.NotificationBar/GetNotifications in a browser returns the following page:

      707055c6-3b6f-47ca-a31d-fab129635818-image.png

      For every reload of this page, a new entry of the same exception shows up in the logs.

      posted in Support
      J
      jw
    • RE: Misleading information package Usage & Statistics page

      Hi @stevedennis

      Thanks for the quick response and fix.

      posted in Support
      J
      jw