-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
document how to update versions and dependencies
- Loading branch information
Showing
4 changed files
with
95 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
## 0.0.1-alpha.1 (2024-01-17) | ||
|
||
This is the initial alpha release, ready for first reviews. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# Contributing Guidelines | ||
|
||
## Issues | ||
|
||
Please report bugs or feature requests by [creating GitHub issues]. | ||
|
||
[creating GitHub issues]: https://github.com/aas-core-works/aas-core3.0-cpp/issues/new/choose | ||
|
||
## In Code | ||
|
||
If you want to contribute in code, pull requests are welcome! | ||
|
||
Please do [create a new issue] before you dive into coding. | ||
It can well be that we already started working on the feature, or that there are upstream or downstream complexities involved which you might not be aware of. | ||
|
||
[create a new issue]: https://github.com/aas-core-works/aas-core3.0-cpp/issues/new/choose | ||
|
||
### SDK Code Generation | ||
|
||
The biggest part of the code has been automatically generated by [aas-core-codegen]. | ||
It probably makes most sense to change the generator rather than add new functionality. | ||
However, this needs to be decided on a case-by-case basis. | ||
|
||
[aas-core-codegen]: https://github.com/aas-core-works/aas-core-codegen | ||
|
||
## Pull Requests | ||
|
||
**Feature branches**. | ||
We develop using the feature branches, see [this section of the Git book]. | ||
|
||
[this section of the Git book]: https://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows | ||
|
||
If you are a member of the development team, create a feature branch directly within the repository. | ||
|
||
Otherwise, if you are a non-member contributor, fork the repository and create the feature branch in your forked repository. See [this GitHub tuturial] for more guidance. | ||
|
||
[this GitHub tutorial]: https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork | ||
|
||
**Branch Prefix**. | ||
Please prefix the branch with your Github user name (*e.g.,* `mristin/Add-some-feature`). | ||
|
||
### Commit Messages | ||
|
||
The commit messages follow the guidelines from https://chris.beams.io/posts/git-commit: | ||
|
||
* Separate subject from body with a blank line, | ||
* Limit the subject line to 50 characters, | ||
* Capitalize the subject line, | ||
* Do not end the subject line with a period, | ||
* Use the imperative mood in the subject line, | ||
* Wrap the body at 72 characters, and | ||
* Use the body to explain *what* and *why* (instead of *how*). | ||
|
||
## Version Bumps | ||
|
||
When you want to update the version, please undertake the following steps: | ||
|
||
* Update the version in `CMakeLists.txt`, | ||
* Update the version in `vpckg.json`, | ||
* Update the version in | ||
* Update the version in `Doxyfile`, and | ||
* Write an entry in `doc/changelog.md`. | ||
|
||
We use [SemVer] for versioning. | ||
Given a version number `MAJOR.MINOR.PATCH`, increment the: | ||
|
||
1) `MAJOR` version when you make incompatible API changes, | ||
2) `MINOR` version when you add functionality in a backward compatible manner, and | ||
3) `PATCH` version when you make backward compatible bug fixes | ||
|
||
Release candidates are suffixed with `-alpha.1`, `-alpha.2` *etc.* | ||
|
||
[SemVer]: https://semver.org/ | ||
|
||
## Dependency Upgrades | ||
|
||
When you want to upgrade a dependency, make sure you update: | ||
|
||
* The version in `vcpkg.json`, | ||
* The required version in `find_package(...)` in `CMakeLists.txt`, and | ||
* The required version in `aas_core3-config.cmake`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters