Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/micro-os-plus/architecture-riscv-xpack
A source xPack with µOS++ RISC-V architecture support
https://github.com/micro-os-plus/architecture-riscv-xpack
Last synced: about 1 month ago
JSON representation
A source xPack with µOS++ RISC-V architecture support
- Host: GitHub
- URL: https://github.com/micro-os-plus/architecture-riscv-xpack
- Owner: micro-os-plus
- License: mit
- Created: 2017-09-04T20:41:38.000Z (over 7 years ago)
- Default Branch: xpack
- Last Pushed: 2023-11-28T21:09:44.000Z (about 1 year ago)
- Last Synced: 2024-11-21T08:42:22.550Z (about 2 months ago)
- Language: C++
- Homepage:
- Size: 270 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-MAINTAINER.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![license](https://img.shields.io/github/license/micro-os-plus/architecture-riscv-xpack)](https://github.com/micro-os-plus/architecture-riscv-xpack/blob/xpack/LICENSE)
[![CI on Push](https://github.com/micro-os-plus/architecture-riscv-xpack/actions/workflows/CI.yml/badge.svg)](https://github.com/micro-os-plus/architecture-riscv-xpack/actions/workflows/CI.yml)
[![GitHub issues](https://img.shields.io/github/issues/micro-os-plus/architecture-riscv-xpack.svg)](https://github.com/micro-os-plus/architecture-riscv-xpack/issues/)
[![GitHub pulls](https://img.shields.io/github/issues-pr/micro-os-plus/architecture-riscv-xpack.svg)](https://github.com/micro-os-plus/architecture-riscv-xpack/pulls)# Maintainer info
## Project repository
The project is hosted on GitHub:
-
To clone the stable branch (`xpack`), run the following commands in a
terminal (on Windows use the _Git Bash_ console):```sh
rm -rf ~/Work/architecture-riscv-xpack.git && \
mkdir -p ~/Work && \
git clone \
https://github.com/micro-os-plus/architecture-riscv-xpack.git \
~/Work/architecture-riscv-xpack.git
```For development purposes, clone the `xpack-develop` branch:
```sh
rm -rf ~/Work/architecture-riscv-xpack.git && \
mkdir -p ~/Work && \
git clone \
--branch xpack-develop \
https://github.com/micro-os-plus/architecture-riscv-xpack.git \
~/Work/architecture-riscv-xpack.git
```## Prerequisites
A recent [xpm](https://xpack.github.io/xpm/), which is a portable
[Node.js](https://nodejs.org/) command line application.## Code formatting
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.Always reformat the source files that were changed.
## How to make new releases
### Release schedule
There are no fixed releases.
### Check Git
In the `micro-os-plus/architecture-riscv-xpack` Git repo:
- switch to the `xpack-develop` branch
- if needed, merge the `xpack` branchNo need to add a tag here, it'll be added when the release is created.
### Increase the version
Determine the upstream version (like `4.1.0`) and update the `package.json`
file; the format is `4.1.0-pre`.### Fix possible open issues
Check GitHub issues and pull requests:
-
and fix them; assign them to a milestone (like `4.1.0`).
### Update `README-MAINTAINER.md`
Update the `README-MAINTAINER.md` file to reflect the changes
related to the new version.### Update `CHANGELOG.md`
- open the `CHANGELOG.md` file
- check if all previous fixed issues are in
- add a new entry like _* v4.1.0_
- commit with a message like _prepare v4.1.0_### Push changes
- reformat the source files that were changed
- commit and push### Manual tests
To run the tests manually on the local machine:
```sh
cd ~Work/architecture-riscv-xpack.gitxpm run install-all
xpm run test-all
```## Publish on the npmjs.com server
- select the `xpack-develop` branch
- commit all changes
- `npm 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`
- push the `xpack-develop` branch to GitHub
- the `postversion` npm script should also update tags via `git push origin --tags`
- wait for the CI job to complete
()
- `npm publish --tag next` (use `npm publish --access public` when
publishing for the first time)The version is visible at:
-
### Test on all platforms
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, run the `trigger-workflow-test-all` action before publishing.
Wait for the **test-all** job to complete
()## Update the repo
When the package is considered stable:
- with a Git client (VS Code is fine)
- merge `xpack-develop` into `xpack`
- push to GitHub
- select `xpack-develop`## Tag the npm package as `latest`
When the release is considered stable, promote it as `latest`:
- `npm dist-tag ls @micro-os-plus/architecture-riscv-xpack`
- `npm dist-tag add @micro-os-plus/[email protected] latest`
- `npm dist-tag ls @micro-os-plus/architecture-riscv-xpack`