Skip to content

Commit

Permalink
/etc/zypp/locks: Pin minor versions of runtimes
Browse files Browse the repository at this point in the history
Pinning ensures changes are seen and documented.

Related to coala#144
  • Loading branch information
jayvdb committed Aug 7, 2017
1 parent 22e3ce7 commit cdfe9c7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions host/etc/zypp/locks
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
# postfix has more dependencies than its alternatives like exim
solvable_name: postfix

# Pins
# - Major versions should not be changed on a release branch.
# - Minor versions should be changed as required with a separate commit
# to document the upstream change.

# Ruby and Lua are pinned to minor versions in Dockerfile

# Only allow Python 3.6
match_type: exact
solvable_name: python3-base < 3.6

match_type: exact
solvable_name: python3-base >= 3.7

# Only allow Node 7.10
match_type: exact
solvable_name: nodejs7 < 7.10

match_type: exact
solvable_name: nodejs7 >= 7.11

# julia-compat is unoptimised
match_type: exact
solvable_name: julia-compat
Expand All @@ -18,3 +32,17 @@ solvable_name: julia < 0.6

match_type: exact
solvable_name: julia >= 0.7

# Only allow R 3.3.1
match_type: exact
solvable_name: R-base < 3.4

match_type: exact
solvable_name: R-base >= 3.5

# Only allow PHP 7.1
match_type: exact
solvable_name: php7 < 7.1

match_type: exact
solvable_name: php7 >= 7.2

0 comments on commit cdfe9c7

Please sign in to comment.