use openssl instead of sha256sum for build.rs #568
No reviewers
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#568
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "openssl"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
fix #566
👀
i'd prefer we leave
stat(1)
out of this, as the--printf
option is not platform independent, and no equivalent, platform independent option existsthe only other would be to use
-c
The goal of this function is to have a unique id, and best effort is made to not invalidate cache if not necessary. We can also not make that best effort (recompiling Plume => new cache id) and just generate a random hex string. That would be platform independent.
What shall I do?
Codecov Report
i think i'd just go with
stat -c
for nowthere's not a big chance we'll be building on windows… easily… i think, so let's just go with this.
tested, works!