Skip to content

Conversation

bmwiedemann
Copy link
Contributor

@bmwiedemann bmwiedemann commented Oct 27, 2024

Replace BUILD_DATE with CARGO_PKG_VERSION
to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.

This is an alternative solution to #869

Type of Change

  • New feature
  • Bug fix
  • Documentation update
  • Refactoring
  • Hotfix
  • Security patch
  • UI/UX improvement

Description

Testing

Impact

Issues / other PRs related

  • Resolves #

Additional Information

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no errors/warnings/merge conflicts.

@adamperkowski
Copy link
Collaborator

Thanks for the PR. We can remove the whole build.rs file here and use CARGO_PKG_VERSION.

@bmwiedemann bmwiedemann force-pushed the datev2 branch 2 times, most recently from 0fd717e to 0f56d12 Compare October 27, 2024 13:06
@bmwiedemann bmwiedemann changed the title WIP: Replace BUILD_DATE with VERSION Replace BUILD_DATE with CARGO_PKG_VERSION Oct 27, 2024
@bmwiedemann bmwiedemann marked this pull request as ready for review October 27, 2024 15:04
Copy link
Collaborator

@adamperkowski adamperkowski left a comment

Choose a reason for hiding this comment

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

Thanks. I'll close the other PR.

@adamperkowski adamperkowski added the rust Pull requests that update Rust code label Oct 27, 2024
@lj3954
Copy link
Contributor

lj3954 commented Oct 27, 2024

The build dependency should also be removed.

@adamperkowski
Copy link
Collaborator

Oh yes. Liam is right.

to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.
@bmwiedemann
Copy link
Contributor Author

Is anything missing to get this merged?

Copy link
Collaborator

@adamperkowski adamperkowski left a comment

Choose a reason for hiding this comment

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

Is anything missing to get this merged?

In this PR - no
In the repo - yes

Chris needs to set some things up

@ChrisTitusTech ChrisTitusTech merged commit b2fb332 into ChrisTitusTech:main Oct 31, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants