alpha-asp / Alpha

A lazy-grounding Answer-Set Programming system
BSD 2-Clause "Simplified" License
58 stars 10 forks source link

Build Properties #331

Open lorenzleutgeb opened 2 years ago

lorenzleutgeb commented 2 years ago

Introduce a mechanism to pass "Build Properties" (version number, hash of the source revision, etc.) to the resulting artifact. Mainly to allow Alpha report its own version, which is implemented as example.

This contents of META-INF/build.properties must be kept reproducible, i.e. only depend on our Git repository as input, not use timestamps, current hostname or weather...

codecov[bot] commented 2 years ago

Codecov Report

Merging #331 (1293c40) into master (d42818a) will decrease coverage by 0.07%. The diff coverage is 23.07%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #331      +/-   ##
============================================
- Coverage     70.23%   70.15%   -0.08%     
  Complexity     2123     2123              
============================================
  Files           182      182              
  Lines          8023     8036      +13     
  Branches       1423     1424       +1     
============================================
+ Hits           5635     5638       +3     
- Misses         2028     2037       +9     
- Partials        360      361       +1     
Impacted Files Coverage Δ
.../tuwien/kr/alpha/app/config/CommandLineParser.java 80.07% <23.07%> (-2.82%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d42818a...1293c40. Read the comment docs.

lorenzleutgeb commented 2 years ago

Right. Thanks for catching this.