-
Notifications
You must be signed in to change notification settings - Fork 779
Feature/uctags #2979
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
Merged
Merged
Feature/uctags #2979
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2d875dd
Show extra help with multiple -h,--help. Show ctags command-line
idodeclare 9c92ca9
Also get --list-languages. getCtags() is always defined
idodeclare 4db2ac0
Do not conflict with ctags built-in langs which is now fatal
idodeclare 2a2c938
Use ctags --kinds-LANG instead of deprecated --LANG-kinds
idodeclare a7d2743
Revert "reset to last good tag (1295de210df49c979f27e185106a7ebc55146…
idodeclare 77feb57
Tiny cleanup to use class's field and add comment
idodeclare 146d152
Suppress FileLength for RuntimeEnvironment.java
idodeclare File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,8 @@ Portions Copyright (c) 2018-2019, Chris Fraire <[email protected]>. | |
|JFlexXrefUtils\.java|FileAnalyzerFactory\.java|SearchController\.java| | ||
|Context\.java|HistoryContext\.java|Suggester\.java" /> | ||
|
||
<suppress checks="FileLength" files="RuntimeEnvironment\.java" /> | ||
|
||
<suppress checks="MethodLength" files="Indexer\.java" /> | ||
|
||
<suppress checks="JavadocStyle" files="MellonHeaderDecoder\.java|CustomSloppyPhraseScorer\.java| | ||
|
This file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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 file contains hidden or 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
Oops, something went wrong.
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.
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.
is there a point of continuing if this returns False ?
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 am thinking if we should be more strict w.r.t. ctags validation and just terminate the indexer right in the beginning if no valid ctags implementation is found.
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.
Also, the work done by
initialize()
is repeated in every worker which seems unnecessary given all of them will share the same configuration/argv.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.
Indexer
is already strict when ctags validation fails.I probably should have added a call to
validateUniversalCtags()
to opengrok-web instead of putting it intoCtags.initialize()
, since my intention anyway was to ensureCtags
operates for--webappCtags on
the same as during indexing.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.
Regarding the repetition of
initialize()
, we already minimizeCtags
construction withCtagsObjectFactory
, so a small bit of redundant initialization seemed harmless.