diff --git a/docs.it4i/software/lmod.md b/docs.it4i/software/lmod.md index 8bb5e5498b01af8ec656cb5022f66111391a6197..f3dd45a7d56dc9d0259dec5ae498462eca3c25fc 100644 --- a/docs.it4i/software/lmod.md +++ b/docs.it4i/software/lmod.md @@ -12,7 +12,7 @@ Detailed documentation on Lmod is available at [here](http://lmod.readthedocs.io | Date | Action | | ---------- | ---------------------- | | 2017-02-01 | Testing phase | -| 2017-03-01 | Global deployment lmod | +| 2017-04-01 | Global deployment lmod | ## How to Activate Testing Lmod Enviroment? diff --git a/scripts/check_version.rb b/scripts/check_version.rb index 8071e0eb1a204629da11185a3e2501086acaa533..9d64e39e338c22ba49b51187591f11ba5021a630 100644 --- a/scripts/check_version.rb +++ b/scripts/check_version.rb @@ -9,9 +9,15 @@ response = Faraday.get "https://release-monitoring.org/api/projects/?pattern=#{A fedora_j = JSON.parse( response.body )['projects'] fedora = fedora_j.select { |h| h['name'] == ARGV[0].downcase }.first['version'] -response = Faraday.get "https://docs.it4i.cz/devel/52-module-matrix-json-export/modules-matrix.json" +response = Faraday.get "https://docs.it4i.cz/modules-matrix.json" it4i = JSON.parse( response.body )['projects'][ARGV[0]] it4i_short = it4i.split('-')[0] puts "IT4Innovations: #{it4i_short} (#{it4i})" puts "Upstream : #{fedora}" + +if it4i_short.eql? fedora + puts "Identical" +else + +end