[ 
https://issues.apache.org/jira/browse/MYNEWT-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15900425#comment-15900425
 ] 

ASF subversion and git services commented on MYNEWT-655:
--------------------------------------------------------

Commit 734b55ede5d8b996e5b57153870ea079620cd39f in incubator-mynewt-newt's 
branch refs/heads/1_0_0_dev from [~ccollins476]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-newt.git;h=734b55e 
]

MYNEWT-655 newt - Detect repo/newt ver incompat.

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.


> newt - Detect repo / newt version incompatibilities
> ---------------------------------------------------
>
>                 Key: MYNEWT-655
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-655
>             Project: Mynewt
>          Issue Type: Improvement
>            Reporter: Christopher Collins
>            Assignee: Christopher Collins
>             Fix For: v1_0_0_rel
>
>
> This is done with a separate map "repo.newt_compatibility" in the repo's 
> repository.yml file.
> Example:
> {noformat}
> repo.newt_compatibility:
>     1.0.0:
>         1.1.0: error
>         1.0.0: good
>         0.9.99: warn
>         0.9.9: error
> {noformat}
> 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):
> {noformat}
> project.newt_compatibility:
>     1.1.0: error
>     1.0.0: good
>     0.9.99: warn
>     0.9.9: error
> {noformat}
> Just to be clear, the newt version numbers are *minimum* version numbers.  
> The following table:
> {noformat}
>     1.0.0: good
>     0.1.0: error
> {noformat}
> Says that newt versions >= 0.1.0 and < 1.0.0 elicit an error.  All newt 
> versions >= 1.0.0 are OK.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to