You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/01/23 00:06:50 UTC

[GitHub] nickva edited a comment on issue #1871: Blacklist known bad Erlang releases, fixes #1857

nickva edited a comment on issue #1871: Blacklist known bad Erlang releases, fixes #1857
URL: https://github.com/apache/couchdb/pull/1871#issuecomment-456613829
 
 
   I think can simplify the test with:
   
   ```
   case VerList of
       [20 | _] = V20 when V20 < [20, 3, 8, 11] -> NotSupported(VerString);
       [20 | _] = V20 when V20 >=  [20, 3, 8, 11] -> ok;
       [21, 2] -> NotSupported(VerString);
       [21, 2, N | _] when N < 3 -> NotSupported(VerString);
       _ -> ok
   end.
   ```
   
   This would take care of 20.2.9.9 type versions. What we are saying there if it's a 20 version, anything less than 20.3.8.11 is no good. Otherwise (>=) it's ok.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services