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

Default to repeatable and reproducible builds #379

Merged
merged 3 commits into from
May 16, 2024
Merged

Default to repeatable and reproducible builds #379

merged 3 commits into from
May 16, 2024

Conversation

claudioandre-br
Copy link
Member

Describe your changes

Make the process of creating a package repeatable as we pin the upstream commit.

Issue ticket number and link

#322

@claudioandre-br
Copy link
Member Author

We are targetting that run/Defaults to be (e.g.):

#   This file lists how the build (binaries) were made
[Build Configuration]
System Wide Build="Yes"
Architecture="x86_64"
OpenMP="No"
OpenCL="No"
Optional Libraries="Yes"
Regex, OpenMPI, Experimental Code, ZTEX="No"
Version="1.9J1+f9fedd2"
#
#   The john-packages repository reference
[Repository john-packages]
Commit="91692d1ea1708525bf56752e76de44d42a8d5af2"
Date="Tue May 14 10:36:23 PM UTC 2024"
#
#   Temporary 'release' branch reference
[Repository john-packages, branch release]
Commit="d5f8a28bc1e63d9097f32e5ec57f47f1609c5d38"
#
#   The john (upstream) repository reference
[Repository john]
Commit="f9fedd238b0b1d69181c1fef033b85c787e96e57"
#
#   Hashes of extra or external files used
[Extra Files]
bc092ea2321580e3199003febacba83d8204a8590db5b24788632958ad3440bc  ./ci_controller.sh
539ff1db5a1cee05533a1f431560be008239e1facf930fb4242bc21eeaf0920b  ./clean_package.sh
4752e8442b810d532de3780758c94ecbd59d57d9f7b7d6a2a2ceac2458500001  ./helper.sh
e1a7e9691bfaba3398eb28ac724a79df5e76f66d243c97f142b2aa415b9bc27f  ./package_version.sh
6877e23f9225f4d80cbc98de68e37784817e0a9f96b0ca2831f62533bb15f80e  ./run_tests.sh
5e4629cce7b4552876dc308a659e878b1b196df60327df50f462ec899d6d28ed  ./show_info.sh
aab7868a06d5a06745a234907f4e26cbe794610fe14198674d595a638529e7bd  ./Handle-self-confined-system-wide-build.patch
1f93d80dd97a5450c6e36759148d2767e29bbf987c078d5e5089b702e77aece5  ./Remove-peflags-from-the-default-target.patch

Save to the log information about the current john commit used by
the build process. Print and save for auditing.

Signed-off-by: Claudio André <[email protected]>
Save to the log information about the current john-packages main and
release branches. Print and save for auditing.

Signed-off-by: Claudio André <[email protected]>
@claudioandre-br claudioandre-br merged commit 0a8ac40 into main May 16, 2024
16 checks passed
@claudioandre-br claudioandre-br deleted the tweaks branch May 16, 2024 14:08
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.

1 participant