Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reproducible-website
Manage
Activity
Members
Labels
Plan
Issues
20
Issue boards
Milestones
Code
Merge requests
8
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reproducible Builds
reproducible-website
Commits
5c8c4a2b
Unverified
Commit
5c8c4a2b
authored
6 years ago
by
Arnout Engelen
Browse files
Options
Downloads
Patches
Plain Diff
First stab at documenting the JVM buildinfo format
parent
a0c586c5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
_docs/recording.md
+41
-0
41 additions, 0 deletions
_docs/recording.md
with
41 additions
and
0 deletions
_docs/recording.md
+
41
−
0
View file @
5c8c4a2b
...
...
@@ -54,3 +54,44 @@ Tails does not record a buildinfo file per se, but instead the
[
vagrant directory of the main git repo
](
https://gitlab.com/Tails/tails/tree/master/vagrant
)
contains all information
necessary to reproducibly rebuild that revision of Tails.
### JVM
The buildinfo conventions for the JVM ecosystem are under active development.
Join the discussion on the
[
mailinglist
](
{{
"/docs/contribute/"
| prepend: site.baseurl }}).
The format for buildinfo files in the JVM ecosystem is a
[
.properties file
](
https://en.wikipedia.org/wiki/.properties
)
.
For multi-module builds, each produced artifact will have its
own buildinfo file.
Common keys are:
|key|meaning|
|-|-|
|name|Name of the packaged entity|
|group-id|Corresponds to the Maven group id or Ivy organization|
|artifact-id|Corresponds the the Maven artifact id or Ivy artifact name
|version|Version of the software|
|java.version|Version of Java used to build the software|
|build-tool|Name of the build tool used to build the software, e.g.
`maven`
or
`sbt`
|
Each build tool or plugin is free to add additional values to the buildinfo.
For example,
[
sbt-reproducible-builds
](
https://github.com/raboof/sbt-reproducible-builds
)
adds:
|key|meaning|
|-|-|
|sbt.version|Version of sbt used to build the software|
|scala.version|Version of Scala used to build the software|
A buildinfo file can contain checksums for multiple files, for example for the
main jar and the accompanying pom.xml:
|key|meaning|
|-|-|
|files.0.filename|Filename of the first file|
|files.0.length|Length of the first file|
|files.0.checksums.sha256|SHA-256 Checksum of the first file|
|files.1.filename|Filename of the second file|
|files.1.|Etc.|
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment