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!

    Block package from download

    Scheduled Pinned Locked Moved Support
    5 Posts 2 Posters 20 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.
    • I Offline
      itadmin_9894
      last edited by

      Hi folks.
      I would like to prevent the download of a package in one version or more. It does not work via the connector filter.
      How do I do it correctly in version 24.0.27?
      Best regards
      Paddy

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

        Hi @itadmin_9894 ,

        Can you give us a few more details of what you're trying to do? A connector filter is intended to allow or block a package by name; it does not filter out versions.

        Thanks,
        Steve

        1 Reply Last reply Reply Quote 0
        • I Offline
          itadmin_9894
          last edited by

          @stevedennis said in Block package from download:

          Can you give us a few more details of what you're trying to do? A connector filter is intended to allow or block a package by name; it does not filter out versions.

          Hi @stevedennis
          THX for your feedback. I am happy to describe my problem in more detail. As you can see in the screenshot, I have created a filter that is supposed to block the nuget “FluentAssertion” from version 8.0.0.
          2025-04-11 06_23_39-VM-One Screen - vc-r-des-04 - Remotedesktopverbindung.png
          In the package view you can see that no version >= 8.0.0 of FluentAssertions is stored in the cache:
          2025-04-25 06_37_36-VM-One Screen - vc-r-des-04 - Remotedesktopverbindung.png
          Despite the filter, it is possible to obtain this package in VisualStudio:
          2025-04-25 06_39_29-VM-One Screen - vc-r-des-04 - Remotedesktopverbindung.png
          I would like to prevent this. How is this possible?
          Cheers Paddy

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

            Hi Paddy,

            Connector Filters allow/block packages by name (not version filters). The package name is FluentAssertions not FluentAssertions:>=8.0.0. So that's why it's not behaving as you expect.

            Please see Dealing with Fluent Assertions License Changes in ProGet to learn more how to address this particular issue.

            Thanks,
            Steve

            1 Reply Last reply Reply Quote 0
            • I Offline
              itadmin_9894
              last edited by

              Hi Steve.
              THX. It works :-)
              Cheers Paddy

              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