-
Notifications
You must be signed in to change notification settings - Fork 5
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
Refactoring OSS Item classes #121
Merged
Changes from 4 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
760ad9b
Refactoring OSS Item classes
soimkim de5a76f
Add correct mode
soimkim 94bc7ef
Return ScannerItem
soimkim e672018
Change the main variable in BinaryItem
soimkim c453378
Fix comment issue
dd-jy 3d726f2
update is_binary
dd-jy 0ad96ce
fix the BinaryItem bug
dd-jy 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 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 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 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.
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.
@soimkim
FileItem에서 comment set할 때, 각 OssItem의 comment 추가될 수 있도록 set함수 구성되어 있습니다.
그냥 comment만 부르도록 수정해주시기 바랍니다.
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.
@dd-jy , FL Util에서 하기 부분이 비효율적인 것으로 보입니다.
또한 oss_item별로 comment가 다를 수 있는데 하기 메세지로 인해 self.oss_items의 커맨트가 초기화되고, oss_item별로 커맨트를 따로 가져갈 수 없습니다.
for oss in self.oss_items:
oss.comment = value
이에 FL Util에서 하기 사항 수정을 제안드립니다.
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.
@soimkim
oss_item에서 comment를 부를때, file_item의 comment를 부를 수 없어서 oss_item의 comment를 부를때와 file_item의 comment 부를 때 comment가 달라지는게 별로라 생각해서 oss_item으로 무조건 set하도록 했었는데요.
말씀하신대로 file_item의 comment를 추가하면 comment가 추가된 순서로 출력되지 않아서, correct 모드 같은 경우, 보기가 불편한 것 같습니다.