Skip to content
Snippets Groups Projects
Commit 54b49fd5 authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

Merge branch 'hot_fix' into 'master'

Check version with master

See merge request !127
parents 66464d95 2953c71c
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ Detailed documentation on Lmod is available at [here](http://lmod.readthedocs.io ...@@ -12,7 +12,7 @@ Detailed documentation on Lmod is available at [here](http://lmod.readthedocs.io
| Date | Action | | Date | Action |
| ---------- | ---------------------- | | ---------- | ---------------------- |
| 2017-02-01 | Testing phase | | 2017-02-01 | Testing phase |
| 2017-03-01 | Global deployment lmod | | 2017-04-01 | Global deployment lmod |
## How to Activate Testing Lmod Enviroment? ## How to Activate Testing Lmod Enviroment?
......
...@@ -9,9 +9,15 @@ response = Faraday.get "https://release-monitoring.org/api/projects/?pattern=#{A ...@@ -9,9 +9,15 @@ response = Faraday.get "https://release-monitoring.org/api/projects/?pattern=#{A
fedora_j = JSON.parse( response.body )['projects'] fedora_j = JSON.parse( response.body )['projects']
fedora = fedora_j.select { |h| h['name'] == ARGV[0].downcase }.first['version'] 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 = JSON.parse( response.body )['projects'][ARGV[0]]
it4i_short = it4i.split('-')[0] it4i_short = it4i.split('-')[0]
puts "IT4Innovations: #{it4i_short} (#{it4i})" puts "IT4Innovations: #{it4i_short} (#{it4i})"
puts "Upstream : #{fedora}" puts "Upstream : #{fedora}"
if it4i_short.eql? fedora
puts "Identical"
else
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment