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

Sasquatch update #142

Merged
merged 7 commits into from
Jul 23, 2024
Merged

Sasquatch update #142

merged 7 commits into from
Jul 23, 2024

Conversation

jstucke
Copy link
Collaborator

@jstucke jstucke commented Jul 23, 2024

  • switched to newer fork of sasquatch
  • added many more test cases to make sure the unpacker does not break

branch is based on #140 (should be merged first)

@jstucke jstucke requested review from dorpvom and maringuu July 23, 2024 11:23
@jstucke jstucke self-assigned this Jul 23, 2024
Copy link
Collaborator

@dorpvom dorpvom left a comment

Choose a reason for hiding this comment

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

I'd suggest changing the one thing that is commented on.

for file_name, url, sha256 in EXTERNAL_DEB_DEPS:
try:
run(split(f'wget {url}/{file_name}'), check=True, env=os.environ)
assert _sha256_hash_file(Path(file_name)) == sha256
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are you sure this will actually throw in production? I remeber reading something to that point. All I could find by short research was this from the official docs:

The current code generator emits no code for an assert statement when optimization is requested at compile time

So this might be irrelevant. We would be safe by throwing an exception manually though (InstallationError).

@jstucke jstucke changed the base branch from freetz-zoo-bugfixes to master July 23, 2024 13:45
@jstucke jstucke merged commit b765474 into master Jul 23, 2024
2 checks passed
@jstucke jstucke deleted the sasquatch-update branch July 23, 2024 14:04
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