Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/micro-os-plus/memory-allocators-xpack
A source xPack with C++ memory allocators
https://github.com/micro-os-plus/memory-allocators-xpack
Last synced: about 1 month ago
JSON representation
A source xPack with C++ memory allocators
- Host: GitHub
- URL: https://github.com/micro-os-plus/memory-allocators-xpack
- Owner: micro-os-plus
- License: mit
- Created: 2021-01-10T20:24:29.000Z (about 4 years ago)
- Default Branch: xpack
- Last Pushed: 2023-11-28T21:10:19.000Z (about 1 year ago)
- Last Synced: 2023-11-28T22:26:04.580Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 108 KB
- Stars: 0
- Watchers: 2
- 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/memory-allocators-xpack)](https://github.com/micro-os-plus/memory-allocators-xpack/blob/xpack/LICENSE)
[![CI on Push](https://github.com/micro-os-plus/memory-allocators-xpack/workflows/CI%20on%20Push/badge.svg)](https://github.com/micro-os-plus/memory-allocators-xpack/actions?query=workflow%3A%22CI+on+Push%22)
[![GitHub issues](https://img.shields.io/github/issues/micro-os-plus/memory-allocators-xpack.svg)](https://github.com/micro-os-plus/memory-allocators-xpack/issues)
[![GitHub pulls](https://img.shields.io/github/issues-pr/micro-os-plus/memory-allocators-xpack.svg)](https://github.com/micro-os-plus/memory-allocators-xpack/pulls)# Maintainer info
## Project repository
The project is hosted on GitHub:
- https://github.com/micro-os-plus/memory-allocators-xpack.git
To clone it:
```sh
git clone https://github.com/micro-os-plus/memory-allocators-xpack.git memory-allocators-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.## Prepare a new blog post
In the `micro-os-plus/web-jekyll` GitHub repo:
- select the `develop` branch
- add a new file to `_posts/memory-allocators/releases`
- name the file like `2020-12-19-memory-allocators-v1-1-0-released.md`
- name the post like: **µOS++ memory-allocators v2.0.1 released**
- update the `date:` field with the current date
- update the GitHub Actions URLs using the actual test pagesIf any, refer to closed
[issues](https://github.com/micro-os-plus/memory-allocators/issues)
as:- **[Issue:\[#1\]\(...\)]**.
## Publish on the npmjs.com server
- select the `xpack-develop` branch
- commit all changes
- update `CHANGELOG.md`; commit with a message like _CHANGELOG: prepare v2.0.1_
- `npm pack` and check the content of the archive, which should list
only the `package.json`, the `README.md`, `LICENSE` and `CHANGELOG.md`;
possibly adjust `.npmignore`
- `npm version patch`, `npm version minor`, `npm version major`
- push the `xpack-develop` branch to GitHub with `git push origin --tags`
- `npm publish --tag next` (use `--access public` when publishing for
the first time)The version is visible at:
- https://www.npmjs.com/package/@micro-os-plus/memory-allocators?activeTab=versions
## Testing
The project includes unit tests.
To run them, run:
```sh
cd memory-allocators-xpack.git
xpm run install-all
xpm run test
```## Continuous Integration
All available tests are also performed on GitHub Actions, as the
[CI on Push](https://github.com/micro-os-plus/memory-allocators-xpack/actions?query=workflow%3A%22CI+on+Push%22)
workflow.## Update the repo
When the package is considered stable:
- with Sourcetree
- 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/memory-allocators`
- `npm dist-tag add @micro-os-plus/[email protected] latest`
- `npm dist-tag ls @@micro-os-plus/memory-allocators`## Announce to the community
Post an announcement to the forum.
## Share on Twitter
- in a separate browser windows, open [TweetDeck](https://tweetdeck.twitter.com/)
- using the `@micro_os_plus` account
- paste the release name like **µOS++ memory-allocators v2.0.1 released**
- paste the link to the Web page release
- click the **Tweet** button