Version Numbering Scheme

本文详细介绍了Apache MINA项目中使用的版本号规则,包括主要版本、次要版本和微版本的定义及更新条件,并解释了里程碑(M)和候选发布(RC)的概念。

摘抄至apache mina项目的版本规则说明,觉得还是比较有用的,在实际的项目中可以作为参考。

 

Version Numbering Scheme

The version number of MINA has the following form:

<major>.<minor>.<micro>[-M<milestone number> or -RC<release candidate number>]

This scheme has three number components:

  • The major number increases when there are incompatible changes in the API.
  • The minor number increases when a new feature is introduced.
  • The micro number increases when a bug or a trivial change is made.

and an optional label that indicates the maturity of a release:

  • M (Milestone) means the feature set can change at any time in the next milestone releases. The last milestone release becomes the first release candidate after a vote.
  • RC (Release Candidate) means the feature set is frozen and the next RC releases will focus on fixing problems unless there is a serious flaw in design. The last release candidate becomes the first GA release after a vote.
  • No label implies GA (General Availability), which means the release is stable enough and therefore ready for production environment.

 

 

 

// // 摘要: // Represents a general-purpose I/O (GPIO) controller. public sealed class GpioController : IDisposable { // // 摘要: // Initializes a new instance of the System.Device.Gpio.GpioController class that // will use the logical pin numbering scheme as default. public GpioController(); // // 摘要: // Initializes a new instance of the System.Device.Gpio.GpioController class that // will use the specified numbering scheme. The controller will default to use the // driver that best applies given the platform the program is executing on. // // 参数: // numberingScheme: // The numbering scheme used to represent pins provided by the controller. public GpioController(PinNumberingScheme numberingScheme); // // 摘要: // The numbering scheme used to represent pins provided by the controller. public PinNumberingScheme NumberingScheme { get; } // // 摘要: // The number of pins provided by the controller. public int PinCount { get; } // // 摘要: // Closes an open pin. // // 参数: // pinNumber: // The pin number in the controller's numbering scheme. // // 异常: // T:System.InvalidOperationException: // This exception will be thrown on an attempt to close a pin that hasn't been opened. public void ClosePin(int pinNumber); // // 摘要: // Dispose the controller public void Dispose(); // // 摘要: // Gets the mode of a pin. // // 参数: // pinNumber: // The pin number in the controller's numbering scheme. // // 返回结果: // The mode of the pin. public PinMode GetPinMode(int pinNumber); // // 摘要: // Checks if a pin supports a specific mode. // // 参数: // pinNumber: // The pin number in the controller's numbering scheme. // // mode: // The mode to check. // // 返回结果: // The status if the pin supports the mode. public bool IsPinModeSupported(int pinNumber, PinMode mode); // // 摘要: // Checks if a specific pin is open. // // 参数: // pinNumber: // The pin number in the controller's numbering scheme. // // 返回结果: // The status if the pin is open or closed. public bool IsPinOpen(int pinNumber); // // 摘要: // Opens a pin in order for it to be ready to use. // // 参数: // pinNumber: // The pin number in the controller's numbering scheme. // // 返回结果: // The opened GPIO pin. // // 异常: // T:System.InvalidOperationException: // This exception will be thrown if the pin is already open. public GpioPin OpenPin(int pinNumber); // // 摘要: // Opens a pin and sets it to a specific mode. // // 参数: // pinNumber: // The pin number in the controller's numbering scheme. // // mode: // The mode to be set. // // 返回结果: // The opened GPIO pin. public GpioPin OpenPin(int pinNumber, PinMode mode); // // 摘要: // Reads the current value of a pin. // // 参数: // pinNumber: // The pin number in the controller's numbering scheme. // // 返回结果: // The value of the pin. public PinValue Read(int pinNumber); // // 摘要: // Adds a callback that will be invoked when pinNumber has an event of type eventType. // // 参数: // pinNumber: // The pin number in the controller's numbering scheme. // // eventTypes: // The event types to wait for. // // callback: // The callback method that will be invoked. // // 异常: // T:System.InvalidOperationException: // This exception will be thrown on an attempt to register a callback to a pin that // hasn't been opened. public void RegisterCallbackForPinValueChangedEvent(int pinNumber, PinEventTypes eventTypes, PinChangeEventHandler callback); // // 摘要: // Sets the mode to a pin. // // 参数: // pinNumber: // The pin number in the controller's numbering scheme // // mode: // The mode to be set. public void SetPinMode(int pinNumber, PinMode mode); // // 摘要: // Removes a callback that was being invoked for pin at pinNumber. // // 参数: // pinNumber: // The pin number in the controller's numbering scheme. // // callback: // The callback method that will be invoked. public void UnregisterCallbackForPinValueChangedEvent(int pinNumber, PinChangeEventHandler callback); // // 摘要: // Writes a value to a pin. // // 参数: // pinNumber: // The pin number in the controller's numbering scheme. // // value: // The value to be written to the pin. public void Write(int pinNumber, PinValue value);
11-06
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值