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 2024.37 (Build 4) issues (tags and counters)

    Scheduled Pinned Locked Moved Support
    14 Posts 2 Posters 47 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
      phopkins_6694
      last edited by

      Update: Re-index did not correct the issue

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

        Hi @phopkins_6694,

        If you've upgraded, then the tags should now be displayed on the Metadata tab of the package.

        When doing a search in the ProGet UI for NuGet (and Choco/PowerShell) packages, the Name, Description, and Tags are considered. However, the ordering may not be what you expect, especially if your tags are common words common in many names/descriptions.

        Thanks,
        Steve

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          phopkins_6694 @stevedennis
          last edited by

          @stevedennis Yep the metadata is definitely there, and searchable via choco CMD but not via the proget Search Box.
          Here is an interesting thing though which might give you some clue as to what is going on...

          If I have a local connector FEED_B going into that FEED_A I search for metadata and that works in the proget UI. So the connected FEED_B works through FEED_A, but then when I go to FEED_B direct and UI search it exhibits the same bug.

          Hope that helps

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

            Hi @phopkins_6694,

            I'm afraid not; the Chocolatey client and ProGet UI perform different search functions so there's not much we do with that information.

            If you can provide a very specific reproduction case, we can investigate:

            1. Create a new Feed
            2. Upload a package
            3. Search the package in the ProGet UI

            If you share the nuspec of the package you uploaded and your search terms, we can try to reproduce the case and see if we can reproduce. Then we can explain or fix the behavior.

            Thanks,
            Steve

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              phopkins_6694 @stevedennis
              last edited by

              @stevedennis will try and do before end of week, would any logs help as well?

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

                Hi @phopkins_6694 ,

                Probably not - the search in Chocolatey and ProGet UI will be different, and that's not something reasonably addressable. So let's start the issues you're having with ProGet UI search.

                Thanks,
                Steve

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  phopkins_6694 @stevedennis
                  last edited by phopkins_6694

                  @stevedennis OK I made a test feed, used one of our existing packages and it fails to search. I also made a sanitised dummy package and it also fails. Looks like I cant attach files here so if you want I can email them, otherwise here is the code snippet for the dummy nuspec. Could not search for testX tags. Created with choco pack
                  Chocolatey v2.4.3

                  <?xml version="1.0"?>
                  <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
                    <metadata>
                      <id>test</id>
                      <version>0.1</version>
                      <authors>me@me.com</authors>
                      <description>test nuspec</description>
                      <tags>test1 test2 test3 test4</tags>
                      <dependencies>
                      </dependencies>
                    </metadata>
                  </package>
                  
                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    phopkins_6694
                    last edited by

                    Also I set up a connector on this TEST_FEED, absorbed into a new TEST_FEED2 and it exhibits that behaviour where I can search for tags in the TEST_FEED2 with proxy. Both a re choco feeds

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

                      @phopkins_6694 perfect, just what I was looking for

                      I was able to reproduce this - searches via the NuGet API (which connectors use) will consider tags, while local searches seem to only be looking at names.

                      I'm not sure how long this has been the case, but we'll try to get it fixed soon. Unfortunately it's not a trivial fix, hopefully we'll do it via PG-3046, likely in the July 18 maintenance release.

                      Thanks,
                      Steve

                      P 1 Reply Last reply Reply Quote 1
                      • P Offline
                        phopkins_6694 @stevedennis
                        last edited by

                        @stevedennis Nice one, thanks for all your help

                        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