Skip to content

Commit

Permalink
chore(release): Release version 0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake committed Sep 22, 2024
2 parents d3408d2 + 7b789bd commit 53b5ebc
Show file tree
Hide file tree
Showing 20 changed files with 687 additions and 120 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0 OR MIT

[tool.bumpversion]
current_version = "0.8.1"
current_version = "0.8.2"

[[tool.bumpversion.files]]
filename = "CITATION.cff"
Expand Down
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ updates:
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 10
9 changes: 0 additions & 9 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,3 @@ jobs:
toolchain: stable
- name: Check no `rustdoc` lint warnings
run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --document-private-items

semver:
name: Semantic Versioning
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check Semantic Versioning
uses: obi1kenobi/cargo-semver-checks-action@v2.4
2 changes: 1 addition & 1 deletion .github/workflows/REUSE.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v3.0.0
uses: fsfe/reuse-action@v4.0.0
22 changes: 22 additions & 0 deletions .github/workflows/SemverChecks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: 2022 Shun Sakai
#
# SPDX-License-Identifier: Apache-2.0 OR MIT

name: Check Semantic Versioning

on:
push:
branches:
- "release/*"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
semver:
name: Check Semantic Versioning
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check Semantic Versioning
uses: obi1kenobi/cargo-semver-checks-action@v2.6
47 changes: 47 additions & 0 deletions .github/workflows/mirror.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# SPDX-FileCopyrightText: 2024 Shun Sakai
#
# SPDX-License-Identifier: Apache-2.0 OR MIT

name: Mirror to mirror repositories

on:
push:
branches:
- "develop"
- "master"
workflow_dispatch:

jobs:
gitlab:
name: Mirror to GitLab
if: github.actor == 'sorairolake' && github.repository_owner == 'sorairolake'
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Mirror to GitLab
uses: yesolutions/mirror-action@v0.7.0
with:
REMOTE: "https://gitlab.com/sorairolake/sysexits-rs.git"
GIT_USERNAME: ${{ github.actor }}
GIT_PASSWORD: ${{ secrets.GITLAB_TOKEN }}
PUSH_ALL_REFS: "false"

codeberg:
name: Mirror to Codeberg
if: github.actor == 'sorairolake' && github.repository_owner == 'sorairolake'
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Mirror to Codeberg
uses: yesolutions/mirror-action@v0.7.0
with:
REMOTE: "https://codeberg.org/sorairolake/sysexits-rs.git"
GIT_USERNAME: ${{ github.actor }}
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}
PUSH_ALL_REFS: "false"
7 changes: 7 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ All notable changes to this project will be documented in this file.
The format is based on https://keepachangelog.com/[Keep a Changelog], and this
project adheres to https://semver.org/[Semantic Versioning].

== {compare-url}/v0.8.1\...v0.8.2[0.8.2] - 2024-09-22

=== Added

* Add `ExitCode::BASE` and `ExitCode::MAX` constants
({pull-request-url}/118[#118])

== {compare-url}/v0.8.0\...v0.8.1[0.8.1] - 2024-07-03

=== Changed
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ cff-version: 1.2.0
message: Please cite this software using these meta data.

# Version information.
date-released: 2024-07-03
version: 0.8.1
date-released: 2024-09-22
version: 0.8.2

# Project information.
abstract: The system exit codes as defined by <sysexits.h> for Rust
Expand Down
61 changes: 30 additions & 31 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<!--
SPDX-FileCopyrightText: 2014 Coraline Ada Ehmke
SPDX-FileCopyrightText: 2021 Organization for Ethical Source
SPDX-FileCopyrightText: 2023 Shun Sakai
SPDX-License-Identifier: Apache-2.0 OR MIT
SPDX-License-Identifier: CC-BY-4.0
-->

# Contributor Covenant Code of Conduct
Expand All @@ -23,23 +25,23 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
- Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
- The use of sexualized language or imagery, and sexual attention or advances
of any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities
Expand All @@ -51,23 +53,23 @@ or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
not aligned to this Code of Conduct, and will communicate reasons for
moderation decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
Examples of representing our community include using an official e-mail
address, posting via an official social media account, or acting as an
appointed representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
<sorairolake@protonmail.ch>.
All complaints will be reviewed and investigated promptly and fairly.
<sorairolake@protonmail.ch>. All complaints will be reviewed and investigated
promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
Expand Down Expand Up @@ -120,19 +122,16 @@ community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
This Code of Conduct is adapted from the [Contributor Covenant], version 2.1,
available at
<https://www.contributor-covenant.org/version/2/1/code_of_conduct.html>.

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
[Mozilla's code of conduct enforcement ladder].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
<https://www.contributor-covenant.org/faq>. Translations are available at
<https://www.contributor-covenant.org/translations>.

[Contributor Covenant]: https://www.contributor-covenant.org
[Mozilla's code of conduct enforcement ladder]: https://github.com/mozilla/diversity
9 changes: 7 additions & 2 deletions CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
= Contribution Guide
:git-flow-url: https://nvie.com/posts/a-successful-git-branching-model/
:commit-messages-guide-url: https://github.com/RomuloOliveira/commit-messages-guide
:conventionalcommits-url: https://www.conventionalcommits.org/en/v1.0.0/

Thank you for your interest in contributing to this project! If you would like
to contribute to this project, please follow the instructions below if possible.

== Branching model

Expand All @@ -14,7 +18,8 @@ The branching model of this project is based on the {git-flow-url}[git-flow].

=== Commit message

Please see the {commit-messages-guide-url}[Commit messages guide].
Please see the {commit-messages-guide-url}[Commit messages guide] and the
{conventionalcommits-url}[Conventional Commits].

== Submitting a pull request

Expand All @@ -23,7 +28,7 @@ Please see the {commit-messages-guide-url}[Commit messages guide].
. Create your patch. If your change is a feature or a bugfix, please add a test
case if possible. Note that the change must pass the CI.
. Please update the copyright information if possible. This project is
compliant with version 3.0 of the
compliant with version 3.2 of the
https://reuse.software/spec/[_REUSE Specification_].
https://github.com/fsfe/reuse-tool[`reuse`] is useful for updating the
copyright information.
Expand Down
Loading

0 comments on commit 53b5ebc

Please sign in to comment.