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!

    Two PowerShell Gallery packages shown in all feeds

    Scheduled Pinned Locked Moved Support
    4 Posts 2 Posters 12 Views 1 Watching
    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.
    • R Offline
      richard.carpenter_9650
      last edited by

      When I create a PowerShell feed with a PSGallery connector it always shows two packages.
      0004-New-AzureRmVmAvailabilitySetPsg and 0install.

      There doesn't appear to be anyway to remove these packages.
      Is there a way to fix this?

      2023-04-14 10_35_07-Clipboard.png

      1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer
        last edited by

        Hi @richard-carpenter_9650 ,

        When you add a connector to your feed, it will display the packages from those connectors. There's no way to "remove" these packages, since they're on the PowerShell Gallery. But you can always add "connector filters" to show a subset of packages (by name).

        The PowerShell recently changed the API sort order to show packages alphabetically (instead of by download count), which is why you see those packages first.

        Cheers,
        Steve

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          richard.carpenter_9650 @stevedennis
          last edited by

          @stevedennis Thanks for the reply. I understand that these packages aren't in my feed and are displayed from PSGallery.
          PSGallery contains thousands of packages. Why are just these two packages displayed?
          Neither package has been downloaded and caching is disabled. I would expect to only see the packages I have added to the feed. This was true in previous versions of ProGet.
          This just seems odd to me.

          I'll take a look at filtering.
          Thanks for the suggestion.

          stevedennisS 1 Reply Last reply Reply Quote 0
          • stevedennisS Offline
            stevedennis inedo-engineer @richard.carpenter_9650
            last edited by

            Hi @richard-carpenter_9650 ,

            Thanks for confirming that; that is really strange. I just tried it msyefl and got the same result.

            The technical answer is that PowerShell gallery is sorting the feed alphabetically, and is only returning the top 100 entries. Of those entries, all but two are unlisted. So that's all you see.

            Not a great UX, so hopefully it goes away (i.e. they return the default sort order by downloads), or maybe we can sort differently ourselves. We're not too keen to change this, since it's the "very sensitive" legacy NuGet v2 API, but perhaps in v2023 we can alter this.

            Cheers,
            Steve

            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