utils-lists 4.0.0
µOS++ C++ intrusive lists utilities
|
The project uses Git and is hosted on GitHub as https://github.com/micro-os-plus/utils-lists-xpack.git.
To clone the stable branch (xpack
), run the following commands in a terminal (on Windows use the Git Bash console):
For development purposes, clone the development branch (xpack-develop
):
To link it to the central xPack store:
A recent xpm, which is a portable Node.js command line application.
To run the native tests, a C++ development environment is required. On macOS install Command Line Tools, on Ubuntu build-essential
.
Code formatting is done using clang-format --style=file
, either manually from a script, or automatically from Visual Studio Code, or the Eclipse CppStyle plug-in.
The project website is automatically generated and published by the publish-github-pages.yml
workflow on Git push. The GitHub Action that runs the workflow is https://github.com/micro-os-plus/utils-lists-xpack/actions/workflows/publish-github-pages.yml.
xpack
branch.For development, there are two xPack actions that can be used to automate the workflow:
doxygen
- to build the site with Doxygen locallybrowser
- to start the default browser with the website/html
folderThere are no fixed releases.
In the micro-os-plus/utils-lists-xpack
Git repo:
xpack-develop
branchxpack
branchNo need to add a tag here, it'll be added when the release is created.
Determine the upstream version (like 4.0.0
) and eventually update the package.json
file; the format is 4.0.0-pre
.
Check GitHub issues and pull requests:
and fix them; assign them to a milestone (like 4.0.0
, without v).
Update the maintainer.md
file to reflect the changes related to the new version.
Update the PROJECT_NUMBER
variable to the new version.
CHANGELOG.md
fileTo run the tests manually on the local development machine:
xpack-develop
branchnpm pack
and check the content of the archive, which should list only package.json
, README.md
, LICENSE
, CHANGELOG.md
, the sources and CMake/meson files; possibly adjust .npmignore
npm version patch
, npm version minor
, npm version major
xpack-develop
branch to GitHubpostversion
npm script should also update tags via git push origin --tags
In addition, it is possible to manually trigger a test-all job, that runs all available builds, on all supported platforms, including Linux Arm and macOS Apple Silicon.
For this:
~/actions-runners/micro-os-plus/run.sh &
runner on xbbma
, xbbla64
and xbbla32
xpack-develop
branch is pushedtrigger-workflow-test-all
actionnpm publish --tag next
(use npm publish --access public
when publishing for the first time)The version is visible at:
When the package is considered stable:
xpack-develop
into xpack
xpack-develop
When the release is considered stable, promote it as latest
:
npm dist-tag ls @micro-os-plus/utils-lists
npm dist-tag add @micro-os-plus/utils-lists@4.0.0 latest
npm dist-tag ls @micro-os-plus/utils-lists