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

use sha256 sum #20

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

use sha256 sum #20

wants to merge 4 commits into from

Conversation

looooo
Copy link
Collaborator

@looooo looooo commented Dec 29, 2024

No description provided.

@looooo
Copy link
Collaborator Author

looooo commented Dec 29, 2024

@adrianinsaval
depends on FreeCAD/FreeCAD-Bundle#362

@oursland
Copy link
Collaborator

I'll re-run the failed checks after post-merge build of https://github.com/FreeCAD/FreeCAD-Bundle/pull/362 completes.

@oursland
Copy link
Collaborator

@looooo It appears there's a Jinja expansion error due to build_number somehow being set to the sha256 value in meta.yaml.

recipe/increase_build_number.py Outdated Show resolved Hide resolved
response.raise_for_status()
sha256 = response.content.decode('utf-8')
print(f"set sha256: {sha256}")
text = re.sub(r"(?<={% set sha256 = )\d+", str(sha256), text)
Copy link
Member

@adrianinsaval adrianinsaval Dec 31, 2024

Choose a reason for hiding this comment

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

I think this regex here is not correct as it is searching for digits only while the sha256sum also has letters (and looks like it needs quotes surrounding it)

recipe/meta.yaml Outdated Show resolved Hide resolved
looooo and others added 3 commits December 31, 2024 12:25
Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
@looooo
Copy link
Collaborator Author

looooo commented Dec 31, 2024

sry didn't want to trigger ci's.

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.

3 participants