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

updating archiving source codes with -e option #45

Closed
wants to merge 0 commits into from

Conversation

heedu
Copy link
Contributor

@heedu heedu commented Dec 4, 2024

Description

add new field in bom.json "complete" to check source code fetch done.
It needs to remove build output because yocto build system use same repository in recipe output path in "S" variable.
it will be used to archive source codes by fetching only source codes in source code location in bom.json.
Also, if source reference in recipe only indicates file path, fosslight yocto will only archive each source codes by ignoring
build output.

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)

@heedu
Copy link
Contributor Author

heedu commented Dec 4, 2024

needs to get review.

@heedu heedu closed this Dec 4, 2024
@heedu heedu reopened this Dec 4, 2024
@soimkim
Copy link
Contributor

soimkim commented Jan 9, 2025

@heedu , 수정한 내용이 무엇인지 Description 에 작성 부탁드립니다.

@heedu
Copy link
Contributor Author

heedu commented Jan 9, 2025

@soimkim
update 완료하였습니다.

Comment on lines 188 to 189
# for 'e' option to compress fetched files.
oss_item['source_done'] = item['complete']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'complete' 키 있는지 체크해주세요.

@@ -42,6 +42,8 @@ def __init__(self):
self.additional_data = {}
self.pv = ""
self.pr = ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

추가된 변수는 하위로 이동해주시고 e옵션용 변수로 주석 달고, 각각에 대한 설명을 변수 옆 주석으로도 추가해주십시오.

@soimkim
Copy link
Contributor

soimkim commented Jan 9, 2025

@heedu , build 에러 확인 부탁드리며,
bom.bbclass 수정 대신 bom_e_option.bbclass와 같이 분리하여주십시오.

@soimkim
Copy link
Contributor

soimkim commented Jan 9, 2025

-e 옵션으로 소스 압축시, output 결과물도 포함되어서 이를 제외시키고자 build time 시간 이후에 생성된 파일은 취합하지 않는 변경사항으로 확인합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants