fosslight / fosslight_scanner

FOSSLight Scanner
Apache License 2.0
17 stars 17 forks source link

Fix issue 59 #107

Closed chaeh03 closed 1 month ago

chaeh03 commented 2 months ago

Description

This PR addresses the issue of authentication errors that occur when using git clone by providing a comprehensive guide for setting up authentication using SSH keys and Personal Access Tokens (PAT).

Type of change

Please insert 'x' one of the type of change.

Related Issue

This PR is related to issue #59.

soimkim commented 2 months ago

@chaeh03 , 사용자는 private git 다운로드를 못 하는 것에 대해 문의하고 있으나 이는 FOSSLight Scanner 이 아니라 ssh key세팅을 하지 않아 로컬에서 git clone을 못하는 사항입니다. 즉, 범용적인 문제로 ssh key 세팅 방법 가이드를 FOSSLight Scanner에 추가하지 않고자 합니다.

FOSSLight Scanner는 -w로 입력 받은 링크를 git clone또는 wget합니다. 이 때, FOSSLight Util을 이용하도록 되어 있고, 이에 대해 token을 포함하여 url 입력시 private git도 다운로드 가능하게 지원하고 있습니다. : https://github.com/fosslight/fosslight_util/pull/159

ex. $ fosslight_download -s "https://my_github_token@github.com/Foo/private_repo -t target_dir/"

soimkim commented 1 month ago

@chaeh03 , 하기 기능으로 다운로드 해보았으나, 버그가 있어 다운로드가 안 되네요 ㅠㅠ

ex. $ fosslight_download -s "https://my_github_token@github.com/Foo/private_repo -t target_dir/"

https://github.com/fosslight/fosslight_scanner/issues/59 는 가이드 제공이 아닌, FOSSLight Util > fosslight_download에서 private git을 다운로드 받는 기능을 구현 후 close가 필요합니다.

soimkim commented 1 month ago

https://github.com/fosslight/fosslight_scanner/issues/59 는 가이드 제공이 아닌, FOSSLight Util > fosslight_download에서 private git을 다운로드 받는 기능을 구현 후 close가 필요한 건으로 본 이슈는 close합니다.