Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. lukas.christel_6718
    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!

    L Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: OCI support?

      Hi @apxltd
      Asking again for OCI support for generic assets.
      We are looking for a way to do Gitless GitOps with Flux. ProGet is the most obvious choice for us to store the artifacts generated by this process. But the tooling to read the artifacts only supports OCI Repositories, S3 Buckets and a web api to provide a custom adapter. Without OCI or S3 support in ProGet, we would have to build our own adapter that downloads artifacts from ProGet Assets and supplies them to Flux.
      I absolutely agree that tooling should guide me towards best practices and I can follow your arguments about problems with the OCI design. There is clearly a conflict of interest you have to manage. I am under the impression that the number of tools and use cases which prefer OCI is increasing. Just not in the strict sense of package managers. Is a use case that requires arbitrary artifact formats with OCI simply not in scope for ProGet?

      posted in Support
      L
      lukas.christel_6718
    • RE: 'pgutil upack install' fails when feed has non semver versions

      The issue occurs when I try to install a package that complies with semver. The presence of a package with a non-semver version is enough to fail the installation of other packages with the same name (maybe all other packages with the same name). Installing a package from the same feed with a different name still succeeds.
      I manually created demo packages to reproduce the issue. I first uploaded the bad version to the proget feed (don't know if that matters) through the manual file upload in the web interface, then the good version. The issue occurs when I try to install the good version.
      The issue happens when pgutil tries to parse the available versions on the server (see call stack in first post) AFTER it already successfully parsed the requested version from the command.

      I couldn't find a general file upload. Here are the upack.json used to create the demo packages

      
                              { 
                                  "name" : "DEMO-5418",
                                  "version" : "1.0.0-bad_version",
                                  "createdDate" : "2025-06-16T17:17:15Z"
                              }
                              
      
      
                              { 
                                  "name" : "DEMO-5418",
                                  "version" : "1.0.0-good-version",
                                  "createdDate" : "2025-06-16T17:18:10Z"
                              }
                              
      
      posted in Support
      L
      lukas.christel_6718
    • RE: 'pgutil upack install' fails when feed has non semver versions

      By the way, thank you for hosting the source code publicly. I would not have been able to figure this out otherwise.

      posted in Support
      L
      lukas.christel_6718
    • 'pgutil upack install' fails when feed has non semver versions

      Issue:
      Running pgutil upack install --source=my-repo --feed=my-feed --target=.\upack\ --package=MyPackageName --version=0.0.2-199100
      I had a universal package with a version that does not conform to Semver (it contained an underscore) in my ProGet universal feed and got an exception (see below). Based on the exception I assumed there is an issue in how I write the version in the pgutil upack command. I did not realise the issue was that the feed has a non compliant package.

      Suggested easy fix:
      Include the string that failed to parse in the exception message in file Inedo.ProGet.UniversalPackages.UniversalPackageVersion.cs on line 295 like so error = $"String '{s ?? string.Empty}' is not a valid semantic version.";.
      This should make it easy for the user to figure out what is going on.

      Unhandled exception. System.ArgumentException: String is not a valid semantic version.
         at Inedo.ProGet.UniversalPackages.UniversalPackageVersion.Parse(String s) in /_/Inedo.ProGet/UniversalPackages/UniversalPackageVersion.cs:line 107
         at PgUtil.Program.UpackCommand.GetPackageAsync(CommandContext context, CancellationToken cancellationToken) in /_/pgutil/Upack/UpackCommand.cs:line 146
         at PgUtil.Program.UpackCommand.GetPackageAsync(CommandContext context, CancellationToken cancellationToken) in /_/pgutil/Upack/UpackCommand.cs:line 144
         at PgUtil.Program.UpackCommand.InstallCommand.ExecuteAsync(CommandContext context, CancellationToken cancellationToken) in /_/pgutil/Upack/InstallCommand.cs:line 46
         at ConsoleMan.Command.ExecuteAsync(String[] args)
         at PgUtil.Program.Main(String[] args) in /_/pgutil/Program.cs:line 38
         at PgUtil.Program.<Main>(String[] args)
      

      Suggested alternative fix:
      pgutil upack install can deal with non semver packages on the feed and just does not install them. upack already knows not to match to them because the user provided parameter is already validated to be semver compliant.

      posted in Support
      L
      lukas.christel_6718
    • 1 / 1