question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Search with query should return packages with settings set to Any

See original GitHub issue

I am trying to use conan search to detect the outdated from recipe to determine when to build a package or not - so I am invoking search as follows:

conan search plexconantool/1.0@plex/stable -r plex -q "os=Linux and arch=x86_64 and compiler=gcc and compiler.version=6.2 and compiler.libcxx=libstdc++11 and build_type=Release"

Where the query match the current building settings. This narrows it down to what packages that needs to be built for this current set of settings. The problem with this is that it excludes packages that have settings set to Any in conan_info (like python packages). They should ideally be included in the search results here. Alternatively I need to figure out if a current package have a specific setting set to Any and then modify my query.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
trucommented, Nov 28, 2016

Yeah I see some options for workarounds:

Here is what my program currently does:

  • runs conan info --build_order=ALL
  • iterates over the output from that and runs conan search <package> -q "<all settings>"
  • runs test_package and upload on the packages that that are not up-to-date

If I could run some kind of command before search to know what settings that needs to be included in the query that’s one solution. Another solution is to make it easier to parse the output of search so that I don’t need to call with query at all and instead do that matching on the client side. More code for me though.

0reactions
lasotecommented, Jun 29, 2018

This one could be closed since we have the search json output, right? Feel free to write if anything is still missing. As you know we are trying to improve every release something related to the automation/json.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use query parameters to customize responses - Microsoft Graph
Microsoft Graph provides optional query parameters that you can use to specify and control the amount of data returned in a response.
Read more >
Search Operators | GovInfo
A space is used to separate words or operators in a search query. ... Range is used to specify the set of all...
Read more >
Filtering - Django REST framework
The default behavior of REST framework's generic list views is to return the entire queryset for a model manager. Often you will want...
Read more >
Search - FHIR v5.0.0-cibuild
Searching for resources is fundamental to the mechanics of FHIR. Search operations traverse through an existing set of resources filtering by parameters ......
Read more >
Common Query Parameters | Apache Solr Reference Guide 6.6
Excludes the header from the returned results, if set to true. ... An empty list will log no parameters, so if logging all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found