-
-
Notifications
You must be signed in to change notification settings - Fork 398
Made core search
results more similar to Arduino IDE 1.8.x search dialog
#1904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportBase: 36.72% // Head: 36.69% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1904 +/- ##
==========================================
- Coverage 36.72% 36.69% -0.04%
==========================================
Files 231 231
Lines 19724 19710 -14
==========================================
- Hits 7244 7232 -12
Misses 11648 11648
+ Partials 832 830 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
24b6192
to
28dd57d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did manual testing and compared the lib/platform search results with IDE 1.x.
I used the following CLI:
arduino-cli Version: test-1904-764d010f66cb2bf39885c94627c8a375d4eddec4-git-snapshot Commit: 764d010f Date: 2022-10-04T10:05:08Z
All in all, it's working great. I mainly focused on the query terms listed in arduino/arduino-ide#1442.
I have noticed one regression, but I would call it an improvement.
When I search for yun
with IDE 1.x, I have zero results.
With the CLI from this PR, it lists the container platform.
/arduino-cli core search "yun" --config-file ~/.arduinoIDE/arduino-cli.yaml
ID Version Name
arduino:avr 1.8.5 Arduino AVR Boards
Thank you!
Please check if the PR fulfills these requirements
See how to contribute
before creating one)
our contributing guidelines
UPGRADING.md
has been updated with a migration guide (for breaking changes)What kind of change does this PR introduce?
Made
core search
results more similar to Arduino IDE 1.8.x search dialogWhat is the current behavior?
Search results are slightly different from Arduino IDE 1.8.x (especially if the query contains non-alphanumeric charactes)
What is the new behavior?
The search result should be the same (or at least much more similar)
Does this PR introduce a breaking change, and is titled accordingly?
No breaking
Other information
for reference the Arduino IDE 1.8.x uses this filter function:
In the current implementation of the
arudino-cli
we use some more fields to extend the search (like FQBN or vendor URL).