Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Allow User to Change Version Number of Component #47

Open
jmwright opened this issue Apr 8, 2019 · 0 comments
Open

Allow User to Change Version Number of Component #47

jmwright opened this issue Apr 8, 2019 · 0 comments
Assignees

Comments

@jmwright
Copy link
Contributor

jmwright commented Apr 8, 2019

A user should not need to edit the package.json file to update the version number of their component. The version numbering scheme is as follows, and will need to be documented somewhere like the main Sliderule repository.

X.Y.Z
X = Major version number - the behavior and/or characteristics of the hardware (electrical, mechanical, etc) has been changed.
Y = Revision - a change was made to the design source that does not effect how the hardware works, but is a change all the same.
Z = Errata - Documentation changes, or other changes that don't alter the source of the design. For example, if a typo is fixed in a readme file.

All non-COTS (Commercial Off-The-Shelf) components should start at version number v1.0.0, no matter what release state it's in. There is no concept of a Mk 0 release. COTS components should have a version number v0.0.0 so that they can be filtered out in certain cases.

The command for this could take the form of sr version change .level1.level2 v1.1.0.

@jmwright jmwright self-assigned this Apr 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant