-
Notifications
You must be signed in to change notification settings - Fork 144
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
Database update #130
Merged
michaelopdenacker
merged 11 commits into
bootlin:master
from
MaximeChretien:database_update
May 22, 2020
Merged
Database update #130
michaelopdenacker
merged 11 commits into
bootlin:master
from
MaximeChretien:database_update
May 22, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This allows to index multiple things at the same time so it speeds up database indexation. Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
This brings the idea of file families, each ident is identified by his family and can be referenced in compatible families. For exemple : - A Kconfig ident can be referenced in a C file but not in a Devicetree file. - A Devicetree ident is only referenced in Devicetree files. - A C ident is only referenced in C files. Kconfig idents are defined without the CONFIG_ at the beginning. We add it while indexing for an easier processing of other files. Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
Also add a new query to get the family of a file. Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
Keep old urls compatibility by settings family to C when nothing is given. Add a select element to select in which file family we want to search an ident. Update filters to support families and to handle Kconfig idents properly. Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
Keep compatibility with old queries by setting C family to default. Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
And fix a problem in a test where an ident where wrongly identified by ctags. It is fixed in the new ctags version. Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
There can be '.' in the file name and the file name is always at least one char. Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
Merged. Many thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update database to support Kconfig and Devicetree idents and add the idea of file families.
Update update.py to use 4 threads for faster indexation.
This fix issues :