biocore / conda-recipes

conda recipes for bioinformatic tools like blast+, infernal, etc.
6 stars 10 forks source link

another bug :-( #30

Closed RNAer closed 8 years ago

RNAer commented 9 years ago

When there are multiple builds on anaconda, the json you get from conda search is:

$ conda search --json --override-channels -c biocore --spec minced
{
  "minced": [
    {
      "arch": "x86_64", 
      "binstar": {
        "channel": "main", 
        "owner_id": "5621521bab59360b0dd04062", 
        "package_id": "562ee7589c73334dd79f873d"
      }, 
      "build": "0", 
      "build_number": 0, 
      "channel": "biocore", 
      "depends": [], 
      "extracted": true, 
      "features": [], 
      "fn": "minced-0.2.0-0.tar.bz2", 
      "full_channel": "https://conda.anaconda.org/t/ze-370af1ae-c3ae-439e-8821-1bfc65bfc225/biocore/osx-64/", 
      "installed": false, 
      "license": "GPL3", 
      "machine": "x86_64", 
      "md5": "9c226498c33a4b2d4463620be45e6b9c", 
      "name": "minced", 
      "operatingsystem": "darwin", 
      "platform": "osx", 
      "requires": [], 
      "size": 485165, 
      "subdir": "osx-64", 
      "target-triplet": "x86_64-any-darwin", 
      "type": null, 
      "version": "0.2.0"
    }, 
    {
      "arch": "x86_64", 
      "binstar": {
        "channel": "main", 
        "owner_id": "5621521bab59360b0dd04062", 
        "package_id": "562ee7589c73334dd79f873d"
      }, 
      "build": "1", 
      "build_number": 1, 
      "channel": "biocore", 
      "depends": [], 
      "extracted": false, 
      "features": [], 
      "fn": "minced-0.2.0-1.tar.bz2", 
      "full_channel": "https://conda.anaconda.org/t/ze-370af1ae-c3ae-439e-8821-1bfc65bfc225/biocore/osx-64/", 
      "installed": false, 
      "license": "GPL3", 
      "machine": "x86_64", 
      "md5": "dd157e7eaaf6c607740e471253bd4c19", 
      "name": "minced", 
      "operatingsystem": "darwin", 
      "platform": "osx", 
      "requires": [], 
      "size": 485339, 
      "subdir": "osx-64", 
      "target-triplet": "x86_64-any-darwin", 
      "type": null, 
      "version": "0.2.0"
    }
  ]
}

This will cause Travis to upload an existing build even the build number is not incremented. The offending line is this

colinbrislawn commented 9 years ago

Once this is addressed, I can test with the newer version of vsearch (1.8.1). I look forward to the fix!

RNAer commented 8 years ago

This is fixed.