Skip to content
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

Streamline Extension Execution Commands #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

persi0815
Copy link
Contributor

@persi0815 persi0815 commented Sep 28, 2024

Description

Previously, the extension had to be executed by opening the Command Palette in VSCode using Ctrl + Shift + P, and then manually selecting either 'analyze root directory' or 'analyze current file,' which was inconvenient. To simplify this process, I mapped 'analyze root directory' to Ctrl + Shift + R and 'analyze current file' to Ctrl + Shift + C, reducing the steps required to run these commands using keybindings.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation update
  • Refactoring, Maintenance
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

…ands in package.json

Signed-off-by: 양지원 <jina_8151010@naver.com>
@soonhong99
Copy link

soonhong99 commented Sep 28, 2024

스크린샷 2024-09-28 오후 2 58 20

mac에서 option + shift + c 실행시 다음 에러 발생
python 3.8 ~ 3.12버전에서 pip install fosslight_scanner를 한다음 실행해보겠습니다

Signed-off-by: 양지원 <jina_8151010@naver.com>
@soonhong99
Copy link

soonhong99 commented Sep 28, 2024

fosslight_log_all_240928_2115.txt

실행환경: python 3.8
control + shift + c, p 모두 동작 잘됩니다!
위에 위치한 log txt와 yaml 파일이 fosslight_report 파일안에 생성되었습니다.

fosslight log txt를 보아하니 fosslight_source만 동작하고,
Moving scanoss raw files failed.: [WinError 2] ������ ������ ã�� �� �����ϴ�: 'c:\Users\nanay\Desktop\FL_PR_Window_Docker_Release\fosslight_report\fosslight_raw_data\scanoss_raw_result.json

해당 에러가 발생하는 것 같습니다!
아직 vscode extension에서 pip install 되지 않은 패키지 때문에 생기는 오류일까요?
나머지 fosslight_binary, fosslight_dependency 동작안하는 이유도 pip install 과정에서 누락된 패키지가 있어서 그런지 여쭤봅니다!

@soimkim soimkim added the chore [PR/Issue] Refactoring, maintenance the code label Oct 3, 2024
@persi0815
Copy link
Contributor Author

fosslight_log_all_240928_2115.txt

실행환경: python 3.8 control + shift + c, p 모두 동작 잘됩니다! 위에 위치한 log txt와 yaml 파일이 fosslight_report 파일안에 생성되었습니다.

fosslight log txt를 보아하니 fosslight_source만 동작하고, Moving scanoss raw files failed.: [WinError 2] ������ ������ ã�� �� �����ϴ�: 'c:\Users\nanay\Desktop\FL_PR_Window_Docker_Release\fosslight_report\fosslight_raw_data\scanoss_raw_result.json

해당 에러가 발생하는 것 같습니다! 아직 vscode extension에서 pip install 되지 않은 패키지 때문에 생기는 오류일까요? 나머지 fosslight_binary, fosslight_dependency 동작안하는 이유도 pip install 과정에서 누락된 패키지가 있어서 그런지 여쭤봅니다!

앗 감사합니다! pip install 과정에서 생기는 오류 같습니다! 해당 부분 수정해서 pip install 쪽 pr에 해당 이슈 내용 포함해서 올리겠습니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore [PR/Issue] Refactoring, maintenance the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants