-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add sanity check #2
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
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.
Actionable comments posted: 9
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
📒 Files selected for processing (5)
.github/workflows/build.yml
(2 hunks).gitignore
(1 hunks)Makefile
(4 hunks)README.md
(1 hunks)make_for_remarkable.sh
(1 hunks)
🔇 Additional comments (4)
Makefile (3)
103-103
: Good addition of --remove-output flag
The --remove-output flag helps clean up intermediate build files, which is particularly useful in CI/CD environments.
87-90
: Verify the security of the custom wheel repository
Using a custom wheel repository (wheels.eeems.codes
) could pose security risks. Ensure that:
- The repository is properly secured and maintained
- Package integrity is verified
- Consider pinning specific versions of wheel and nuitka for reproducible builds
107-130
:
Add version verification for bundled libraries
While bundling system libraries makes the build portable, consider:
- Adding version checks for bundled libraries
- Verifying security implications of bundling specific versions
- Adding a mechanism to update bundled libraries when security patches are available
Consider adding version checks before bundling:
+'--include-data-files=$(shell pkgconf --modversion fuse):$(shell pkgconf --variable=libdir fuse)/libfuse.so=libfuse.so.2' \
+'--include-data-files=$(shell pkgconf --modversion libssl):$(shell pkgconf --variable=libdir libssl)/libssl.so=libssl.so.1' \
+'--include-data-files=$(shell pkgconf --modversion libcrypto):$(shell pkgconf --variable=libdir libcrypto)/libcrypto.so=libcrypto.so.3' \
.github/workflows/build.yml (1)
285-288
: Good handling of portable artifact uploads
The implementation properly handles both regular and portable builds, with appropriate overwrite behavior using --clobber.
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Summary by CodeRabbit
Release Notes
New Features
make_for_remarkable.sh
script for Docker-based ARM builds.make executable
andmake portable
.Improvements
.gitignore
to excludenuitka-crash-report.xml
.Makefile
for better organization and streamlined builds.These updates aim to improve the build process and provide clearer instructions for users.