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

Add sanity check #2

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

Add sanity check #2

wants to merge 20 commits into from

Conversation

Eeems
Copy link
Contributor

@Eeems Eeems commented Jan 19, 2024

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced make_for_remarkable.sh script for Docker-based ARM builds.
    • Added build commands in the README: make executable and make portable.
  • Improvements

    • Enhanced build workflow with new sanity check and error handling.
    • Updated .gitignore to exclude nuitka-crash-report.xml.
    • Refined Makefile for better organization and streamlined builds.

These updates aim to improve the build process and provide clearer instructions for users.

@Eeems Eeems linked an issue Apr 11, 2024 that may be closed by this pull request

This comment was marked as outdated.

Copy link

@coderabbitai coderabbitai bot left a 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

📥 Commits

Reviewing files that changed from the base of the PR and between 4448fa7 and 902550d.

📒 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:

  1. The repository is properly secured and maintained
  2. Package integrity is verified
  3. Consider pinning specific versions of wheel and nuitka for reproducible builds

107-130: ⚠️ Potential issue

Add version verification for bundled libraries

While bundling system libraries makes the build portable, consider:

  1. Adding version checks for bundled libraries
  2. Verifying security implications of bundling specific versions
  3. 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.

make_for_remarkable.sh Outdated Show resolved Hide resolved
make_for_remarkable.sh Show resolved Hide resolved
make_for_remarkable.sh Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
.gitignore Show resolved Hide resolved
Makefile Show resolved Hide resolved
.github/workflows/build.yml Show resolved Hide resolved
.github/workflows/build.yml Show resolved Hide resolved
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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.

Sanity check remarkable build
1 participant