Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    [PROGET] PowershellGallery Feed on v2023.27 cannot find some modules, v5.3.38 yes

    Scheduled Pinned Locked Moved Support
    6 Posts 2 Posters 16 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      philippe.camelio_3885
      last edited by philippe.camelio_3885

      Hi,

      I have a Feed called "public-psm" for PowerShell Gallery.
      The v2023.27 is broken (previous version was too). Some modules are not visible - exemple with VMWARE.PowerCLI
      This was working fine on v5.3.38

      Exemple :
      v2023.27
      c1c39e22-adae-4050-99ab-5cbc6f8488a7-image.png

      v5.3.38
      6c286482-89ed-402d-9cdc-b48f20d4c314-image.png

      the feeds were created as simple as possible
      v2023.27 have no filters.

      Any advice is welcome

      Best Regards
      PhilippeC.

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @philippe.camelio_3885
        last edited by

        Hi @philippe-camelio_3885,

        We're aware of this issue, and it's related to some bugs/quirks with the search results from the PowerShell Gallery API (v2). It's not really feasible to work-around, and unfortunately Microsoft will not fix the issue because it should be fixed in PowerShell Gallery API (v3).... which is due any year now. Its ~3 years late.

        The results are suboptimal in both ProGet 5.3 and ProGet 2023, but ProGet 2023 is worse. This has to due with some performance optimizations we made with not paging as many results.

        Fortunately this only impacts the search api, which is mostly limited to the ProGet UI. As long as you know the exact package name, you can naviage and install it fine.

        Cheers,
        Alana

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          philippe.camelio_3885 @atripp
          last edited by

          Hi @atripp

          Thanks for your reply.
          Therefore even if I write the complete name of the module - VMware.PowerCLI - , it can't be found. 😥

          I am using docker version of Proget, is it possible the cause of the issue ?

          Is there anyone else using the Docker version ?

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            philippe.camelio_3885 @philippe.camelio_3885
            last edited by

            I made a small test with Proget (Frre) on Windows - last version.
            Same result 😑

            atrippA 1 Reply Last reply Reply Quote 0
            • atrippA Offline
              atripp inedo-engineer @philippe.camelio_3885
              last edited by

              Hi @philippe-camelio_3885 ,

              I just tried this, and noticed that the connector is timing out. This is the query that ProGet makes when you type that in, and it takes 13-15 seconds when I click the link:
              https://www.powershellgallery.com/api/v2/Search()?$top=25&$skip=0&searchTerm='VMWARE.PowerCLI'&targetFramework=''&includePrerelease=true&semVerLevel=2.0.0

              That's longer than the default (10s) time out, so I guess this result is expected. If you increase the timeot to 20 seconds, i guess it should work.

              Cheers,
              Alana

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                philippe.camelio_3885 @atripp
                last edited by

                Hello @atripp
                You save my day.
                Increasing the timeout resolve the pb.

                Thank you

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post
                Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation