Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. dean-houston
    3. Posts

    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!

    dean-houstonD Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 226
    • Groups 1

    Posts

    Recent
    • RE: Promotion of Docker Image does not promote if only tag is different

      Hi @Stephen-Schaff,

      Thanks for the detailed write-up; the behavior you describe makes sense, and made for very copy/pasting PG-2478 :)

      We anticipate getting this in the next maintenance release, scheduled for Sept 15

      Best,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: ProGet API to get the operating systems of all Docker images

      Hi @hashim-abu-gellban_3562,

      DockerImages_GetTags is part of the Native API, which is basically just a wrapper around the SQL ProGet database. That's fine to use, but you can also use the Docker API to list tags as follows:

      curl -X GET https://proget-url/v2/feedName/repositoryName/tags/list
      

      The Docker API will show you tags that come through a connector, where as the Native API is will only be local tags.

      The Docker API does not provide a way to directly retrieve the operating system information of Docker images. However, you can infer the operating system information by examining the contents of the Docker image itself or by using external tools and scripts.

      Here's an example in Python of how to do that:

      import docker
      
      def get_os_of_image(image_name, tag):
          client = docker.from_env()
          image = client.images.get(f"{image_name}:{tag}")
          os_info = image.attrs['Os']
          return os_info
      
      # Example usage
      os_info = get_os_of_image('my-image', 'latest')
      print(f"Operating System: {os_info}")
      

      Alternatively, you can also inspect the image layers directly. Docker image layers contain files from the image's filesystem, and you can look for specific files or patterns that are indicative of the operating system.

      Best,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: [ProGet] Invalid URI when accessing feed

      Hi @pariv_0352,

      What version of ProGet are you using?

      Perhaps this is related to this:
      https://forums.inedo.com/topic/3596/proget-2022-6-the-hostname-could-not-be-parsed

      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: ProGet NuGet upload user tracking

      @jw that's the correct column! Just the incorrect value being added :(

      posted in Support
      dean-houstonD
      dean-houston
    • RE: [ProGet] Downtime at roughly 5am every day.

      hi @msmith_2315,

      Oftentimes, this is related to a database backup that's occurring; if you change the database recovery model to SIMPLE, this generally makes backups much quicker.

      It could also be related to a scheduled job; you can see which scheduled jobs ProGet is running by going to Admin > Scheduled Jobs. There are logs, and you can see execution times, etc.

      Cheers,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Different query results nuget feed

      Hi @pmsensi ,

      Unfortunately, with multiple connectors, "quirky" search results are to be expected, especially with broad searches.

      The technical reason for this is quite complex, but has to do with how the NuGet search API is designed (unbounded, paged results with pages of indeterminate size), the fact we need to support both v2 and v3 APIs, and the need to aggregate multiple (often conflicting) search resultsets into a single resultset in a performant manner.

      What are you trying to accomplish with the search api? It's mostly intended for visual studio.

      If you already know the package name (microsoft.playwright.nunit), you should use the registrations api (e.g. microsoft.playwright.nunit/index.json).

      As far as missing fields, I can't answer why those aren't there - it could be relatively new to the search api, or omitted for performance reasons.

      Cheers,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Apply-Template adding unexpected CR newline chars

      @jimbobmcgee said in Apply-Template adding unexpected CR newline chars:

      Without wanting to hold you to a particular date, what is the typical release timeframe?

      We're targeting BuildMaster 2023 for Q3/Q4 and Otter for Q4. We don't have any dates beyond that at this point.

      And it sounds like you understand quite well why we're not so keen to jump on making relatively easy changes - definitely a lot to consider. We have a lot of "product debt" like this and have learned to be a lot more cautious.

      That said, I think as long as it's documented it's probably okay. That's the hard part of course (writing docs) - but there's a Note attributes that can be added to explain things as well.

      cheers!

      posted in Support
      dean-houstonD
      dean-houston
    • RE: ProGet using Windows Integrated Authentication and PowerShell DSC

      Hi @norbert ,

      The easiest way to accomplish this is to configure two IIS Sites (different hostnames and/or ports), that point to the same directory - one that has Windows Integrated Authentication configured, and the other that doesn't.

      This is not an uncommon configuration - a lot of clients (like npm, Docker) simply don't support Windows Integration Authentication. Unfortunately, Windows/IIS (which handles the authentication) does not support enabling/disabling it at a URL level, hence why you have to do the whole site.

      Cheers,
      Dean

      posted in Support
      dean-houstonD
      dean-houston
    • RE: BuildMaster Bugs

      Hi @ForgotMyUsername,

      Thanks for sharing all of these; we'll try to reproduce/investigate and fix some of these soon.

      [1] and [3] seem pretty easy to test/reproduce.

      For [2], that's definitely strange. I assume, that's a generic Git repository? I thought we had fixed that, but I wanted to confirm before investigating further.

      For [4], that's a good question. The behavior kind of makes sense from a technical standpoint, but it doesn't make a lot of sense from a user perspective. I don't know if we want to change it outside of a major version. Someonme might be accidently relying on it.

      For [5], we haven't seen that before. Any details you can share would be helpful, such as the OtterScript plan you're using and so on. Is this the execution temp folder, etc? We have several things to work-around random git corruption, but I want to see where this is before explolring more.

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Otter Roles Rename Bug

      Hi @ForgotMyUsername , thanks for the bug report!

      I logged this as OT-491, and it should be a trivial fix we can get in the next maintenance release :)

      posted in Support
      dean-houstonD
      dean-houston
    • RE: ProGet 2023 - Packages not listed on local NuGet feeds

      Hi @magnus-wiksell_6950 ,

      I think you identified the underlying issue...

      It seems like the internal counter includes individual package versions when counting and from that result shows the latest of each package.

      ... it's not clear to me, but are you saying that this is happening only in ProGet 2023? And that this wasn't a problem in ProGet 2022?

      We just released a few days ago, and since there were some major changes to the underlying indexing system (i.e. database), there will be a few UI regressions here and there.

      FYI: I haven't investigated this yet, but the "Feed View" is surprisingly complicated under the hood, since it does all sorts of aggregation with connectors, and combining local and remote packages into one view. Obviously this shouldn't be happening, but you can get a much simpler view under the "Packages" tab on the top navigation.

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Uploading snupkg using NuGet client

      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.

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Uploading snupkg using NuGet client

      @lm FYI, our plan is to create a second URL for pushing symbol packages, and then essentially save the files pushed to that URL as .snupkg, next to the .nupkg files on disk. This URL will be wired to SymbolPackagePublish and documented.

      So hopefully this will make a better user experience, and then also help w/ the hash bits as well.

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Uploading snupkg using NuGet client

      @lm said in Uploading snupkg using NuGet client:

      If I'm not completely wrong, all that is needed is a configuration option at the first feed "Use Feed x as symbol feed" and as soon as that is configured, the index.json of the first feed can return the correct SymbolPackagePublish resource and everything should just work.

      You're correct -- that would probably work, but we thought a "single feed approach" would be much better from a user-experience standpoint. This way, there's just one feed to configure, and you push package files and/or symbol files to that feed using that default NuGet configuration. The files will be are stored on disk, right next to each other.

      This is something we're planning for ProGet 2023, but can probably do as a preview feature in December or January.

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Problem activating trial license

      @marc-ledent_9164 that page should redirect to the manual license activation page if it can't automatically update after a timeout (usually a few seconds) occurs

      If it won't redirect, you can manually type in /administration/licensing/manual-activation and handle it that way.

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Unable to read data from the transport connection

      Hi @g-koessler_0127 ,

      This is a networking error, and it basically means that the remote server (http://nexus-proget.???) abruptly disconnected. There is no additional information provided by the remote server, so the networking stack (Windows/.NET) provides only this information.

      This is almost always related to server-level security settings (HTTPS required, TLS settings on the ProGet server, certificate trust, etc.), but it also might be related to network-level settings like url restrictions, proxy servers, etc.

      Ultimately I'm afraid it's not easy to troubleshoot - this is typically something that the network operations needs to help with, as they have tools and are familiar with restrictions placed on servers, and they can resolve them.

      I'm hoping this at least points you in the right direction?

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Proget: error Response Content-Length mismatch: too few bytes written

      You can ignore this error; for whatever reason, the NuGet client unexpectedly terminated the connection, and the result was that ProGEt stopped writing bytes. Not really anything to worry about.

      The diagnostic center isn't for proactive-monitoring, more for diagnostic purposes. So ulnless users are reporting a problem, you don't need to check it.

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Couple of Questions on Package Displays

      @rmusick_7875 generally speaking feed information is combined from chocolatey.org (and other connectors you configure), metadata stored in the database (the NuGet* tables), and cached/local package files on disk

      posted in Support
      dean-houstonD
      dean-houston
    • RE: Whitelist npm packages licenses

      @p-boeren_9744 sure thing!

      Never noticed it before, but I just fixed as PG-2100 - and it'll go in 6.0.9 (🎯 Feb 25)

      posted in Support
      dean-houstonD
      dean-houston
    • RE: kubernetes scanner not showing results

      @cronventis would you be able to get us the following?

      1. a backup of your database
      2. a list of your namespaces (/api/v1/pods)

      If so, we can provide a secure link to let you upload them to us. Note the namespace list might be multi-paged, which means you may need to use the continue argument; https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/#list-all-namespaces-pod-v1-core

      This would be the easiest for us to sift through, and you wouldn't have to run queries, etc.

      If not, we'll think of something else :)

      posted in Support
      dean-houstonD
      dean-houston
    • 1
    • 2
    • 8
    • 9
    • 10
    • 11
    • 12
    • 11 / 12