Skip to content

development order and API compatibility are not the same #28

Closed

Description

@Tieske

Currently the spec prescribes how to calculate precedence, but actually mixes this with development order.

The pre-release versions should not be taken into account when determining compatibility, because if you do, it requires updating the major/minor and patch numbers while working on new releases. If the alpha of 3.2.1 has a bug that is fixed in beta of 3.2.1, then it should have been labeled beta for 3.2.2 because of that bugfix.

To fix it; define 2 distinct precedence calculations;

  1. Development order: basically the current precedence calculation, including any pre-release tags
  2. API compatibility precedence: in this calculation any label that has a pre-release identifier (or a major version 0), should simply be ignored because no compatibility statements can be deduced from the numbers (yet), until it is released (hence the word 'pre-release').

Activity

  1. Tieske commented on Jun 4, 2012

    @Tieske
    ContributorAuthor

    Created a pull request under issue 30, see #30
    Hence closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions