xmake-io / xmake

🔥 A cross-platform build utility based on Lua
https://xmake.io
Apache License 2.0
9.88k stars 776 forks source link

xrepo搜索的时候也在描述中搜索 #3892

Closed heheda123123 closed 1 year ago

heheda123123 commented 1 year ago

你在什么场景下需要该功能?

如下,如果只在名字中搜索,像drogon这种搜http就搜不到,c++很多库取的名字都比较奇葩,最好也能在描述中搜索, 不能默认的话加个参数也行

PS C:\Users\Administrator> xrepo search drogon
The package names:
    drogon:
      -> drogon-v1.8.2: Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows (in xmake-repo)
PS C:\Users\Administrator> xrepo search http
The package names:
    http:
      -> cpp-httplib-0.12.6: A C++11 single-file header-only cross platform HTTP/HTTPS library. (in xmake-repo)
      -> http_parser-v2.9.4: Parser for HTTP messages written in C. (in xmake-repo)
      -> llhttp-v8.1.0: Port of http_parser to llparse (in xmake-repo)
      -> nghttp2-1.46.0: nghttp2 is an implementation of HTTP/2 and its header compression algorithm HPACK in C. (in xmake-repo)
      -> nghttp3-2022.02.08: HTTP/3 library written in C (in xmake-repo)
PS C:\Users\Administrator>

描述可能的解决方案

xrepo search 支持从描述中搜索

描述你认为的候选方案

No response

其他信息

No response

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


Title: xrepo also searches in the description when searching

waruqi commented 1 year ago

再试试, 可以了。。xmake update -s dev

Issues-translate-bot commented 1 year ago

Bot detected the issue body's language is not English, translate it automatically.


Try again, it's ok. . xmake update -s dev