Skip to content

Instantly share code, notes, and snippets.

@sersut
Created September 30, 2015 23:14
Show Gist options
  • Save sersut/d6c05b5b13385d9db357 to your computer and use it in GitHub Desktop.
Save sersut/d6c05b5b13385d9db357 to your computer and use it in GitHub Desktop.
Opscode::Version
  resolving with input :latest
    behaves like correct version resolution
      with 12.1.2 & 12.1.2+20150906090309
        selects 12.1.2 (FAILED - 1)
      with 12.1.2 & 12.1.2+20150906090309-1
        selects 12.1.2 (FAILED - 2)
      with 12.1.2-1 & 12.1.2+20150906090309
        selects 12.1.2-1 (FAILED - 3)
      with 12.1.2-1 & 12.1.2+20150906090309-1
        selects 12.1.2-1 (FAILED - 4)
      with 12.1.2-1 & 12.1.2
        selects 12.1.2-1
      with 12.1.2-1 & 12.1.2-2
        selects 12.1.2-2
      with 12.1.2+20150906090309 & 12.1.2+20150905090309
        selects 12.1.2+20150906090309
      with 12.1.2+20150906090309-1 & 12.1.2+20150906090309
        selects 12.1.2+20150906090309-1
      with 12.1.2+20150906090309-1 & 12.1.2+20150905090309-1
        selects 12.1.2+20150906090309-1
      with 12.1.2+20150906090309-1 & 12.1.2+20150906090309-2
        selects 12.1.2+20150906090309-2
    with 12.1.2 & 13.1.2
      selects 13.1.2
    with 12.1.2 & 12.2.2
      selects 12.2.2
    with 12.1.2 & 12.1.3
      selects 12.1.3
  resolving with input 12
    behaves like correct version resolution
      with 12.1.2 & 12.1.2+20150906090309
        selects 12.1.2 (FAILED - 5)
      with 12.1.2 & 12.1.2+20150906090309-1
        selects 12.1.2 (FAILED - 6)
      with 12.1.2-1 & 12.1.2+20150906090309
        selects 12.1.2-1 (FAILED - 7)
      with 12.1.2-1 & 12.1.2+20150906090309-1
        selects 12.1.2-1 (FAILED - 8)
      with 12.1.2-1 & 12.1.2
        selects 12.1.2-1
      with 12.1.2-1 & 12.1.2-2
        selects 12.1.2-2
      with 12.1.2+20150906090309 & 12.1.2+20150905090309
        selects 12.1.2+20150906090309
      with 12.1.2+20150906090309-1 & 12.1.2+20150906090309
        selects 12.1.2+20150906090309-1
      with 12.1.2+20150906090309-1 & 12.1.2+20150905090309-1
        selects 12.1.2+20150906090309-1
      with 12.1.2+20150906090309-1 & 12.1.2+20150906090309-2
        selects 12.1.2+20150906090309-2
    with 12.1.2 & 13.1.2
      selects 12.1.2
  resolving with input 12.1
    behaves like correct version resolution
      with 12.1.2 & 12.1.2+20150906090309
        selects 12.1.2 (FAILED - 9)
      with 12.1.2 & 12.1.2+20150906090309-1
        selects 12.1.2 (FAILED - 10)
      with 12.1.2-1 & 12.1.2+20150906090309
        selects 12.1.2-1 (FAILED - 11)
      with 12.1.2-1 & 12.1.2+20150906090309-1
        selects 12.1.2-1 (FAILED - 12)
      with 12.1.2-1 & 12.1.2
        selects 12.1.2-1
      with 12.1.2-1 & 12.1.2-2
        selects 12.1.2-2
      with 12.1.2+20150906090309 & 12.1.2+20150905090309
        selects 12.1.2+20150906090309
      with 12.1.2+20150906090309-1 & 12.1.2+20150906090309
        selects 12.1.2+20150906090309-1
      with 12.1.2+20150906090309-1 & 12.1.2+20150905090309-1
        selects 12.1.2+20150906090309-1
      with 12.1.2+20150906090309-1 & 12.1.2+20150906090309-2
        selects 12.1.2+20150906090309-2
    with 12.1.2 & 13.1.2
      selects 12.1.2
    with 12.1.2 & 12.2.2
      selects 12.1.2
    with 12.1.2 & 12.1.3
      selects 12.1.3
  resolving with input 12.1.2
    behaves like correct version resolution
      with 12.1.2 & 12.1.2+20150906090309
        selects 12.1.2
      with 12.1.2 & 12.1.2+20150906090309-1
        selects 12.1.2
      with 12.1.2-1 & 12.1.2+20150906090309
        selects 12.1.2-1 (FAILED - 13)
      with 12.1.2-1 & 12.1.2+20150906090309-1
        selects 12.1.2-1 (FAILED - 14)
      with 12.1.2-1 & 12.1.2
        selects 12.1.2-1 (FAILED - 15)
      with 12.1.2-1 & 12.1.2-2
        selects 12.1.2-2 (FAILED - 16)
      with 12.1.2+20150906090309 & 12.1.2+20150905090309
        selects 12.1.2+20150906090309
      with 12.1.2+20150906090309-1 & 12.1.2+20150906090309
        selects 12.1.2+20150906090309-1
      with 12.1.2+20150906090309-1 & 12.1.2+20150905090309-1
        selects 12.1.2+20150906090309-1
      with 12.1.2+20150906090309-1 & 12.1.2+20150906090309-2
        selects 12.1.2+20150906090309-2
    with 12.1.2 & 13.1.2
      selects 12.1.2
    with 12.1.2 & 12.2.2
      selects 12.1.2
    with 12.1.2 & 12.1.3
      selects 12.1.2
  resolving with input 12.1.2-1
    with 12.1.2-1 & 12.1.2-2 & 12.2.3
      selects 12.1.2-1
  resolving with input 12.1.2+20150906090309
    with 12.1.2-1 & 12.1.2+20150906090309
      selects 12.1.2+20150906090309
    with 12.1.2-1 & 12.1.2+20150906090309 & 12.1.2+20150906090309-1
      selects 12.1.2+20150906090309-1 (FAILED - 17)
  resolving with input 12.1.2+20150906090309-1
    with 12.1.2-1 & 12.1.2+20150906090309-1
      selects 12.1.2+20150906090309-1
    with 12.1.2-1 & 12.1.2+20150906090309 & 12.1.2+20150906090309-1
      selects 12.1.2+20150906090309-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment