Uploaded image for project: 'Mynewt'
  1. Mynewt
  2. MYNEWT-655

newt - Detect repo / newt version incompatibilities

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • v1_0_0_rel
    • None
    • Security Level: Public (Viewable by anyone)
    • None

    Description

      This is done with a separate map "repo.newt_compatibility" in the repo's repository.yml file.

      Example:

      repo.newt_compatibility:
          1.0.0:
              1.1.0: error
              1.0.0: good
              0.9.99: warn
              0.9.9: error
      

      This says that this version 1.0.0 of this repo is compatible with newt versions [1.0.0, 1.1.0). Newt versions in the range [0.9.99, 1.0.0) elicit a warning message. All other newt versions generate an error.

      A project can also indicate newt version restrictions

      Example (project.yml):

      project.newt_compatibility:
          1.1.0: error
          1.0.0: good
          0.9.99: warn
          0.9.9: error
      

      Just to be clear, the newt version numbers are minimum version numbers. The following table:

          1.0.0: good
          0.1.0: error
      

      Says that newt versions >= 0.1.0 and < 1.0.0 elicit an error. All newt versions >= 1.0.0 are OK.

      Attachments

        Activity

          People

            ccollins476 Christopher Collins
            ccollins476 Christopher Collins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: