aeruginous

The Aeruginous Open Source Development Toolbox.

https://github.com/kevinmatthes/aeruginous-rs

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.8%) to scientific vocabulary

Keywords

aeruginous cff-release-today cffreference changelog citation-file-format comment-changes increment-version ronlog rs2md rust uncrlf

Keywords from Contributors

hacking argument-parser interpretability robust standardization mesh fairness controllers pypi yolov5
Last synced: 6 months ago · JSON representation ·

Repository

The Aeruginous Open Source Development Toolbox.

Basic Info
  • Host: GitHub
  • Owner: kevinmatthes
  • License: gpl-3.0
  • Language: Rust
  • Default Branch: main
  • Homepage:
  • Size: 2.43 MB
Statistics
  • Stars: 6
  • Watchers: 2
  • Forks: 1
  • Open Issues: 14
  • Releases: 53
Topics
aeruginous cff-release-today cffreference changelog citation-file-format comment-changes increment-version ronlog rs2md rust uncrlf
Created almost 3 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Citation Codeowners

README.md


The Aeruginous Open Source Development Toolbox

Summary


  1. License
  2. Dependencies
  3. Introduction
  4. Installation
  5. Supported Subcommands
    1. cff-create
    2. cffreference
    3. ⚠️ cff-release-today (deprecated)
    4. comment-changes
    5. complain
    6. increment-version
    7. mkcws
    8. ronlog
    9. rs2md
    10. uncrlf <!--
    11. cff-create
    12. cffreference
    13. ⚠️ cff-release-today (deprecated)
    14. comment-changes
    15. complain
    16. graph-description
    17. increment-version
    18. mkcws
    19. ronlog
    20. rs2md
    21. uncrlf -->

The current code coverage is <!-- cov -->71.52%<!-- cov -->.

License

This project's license is GPL-3.0. The whole license text can be found in LICENSE in the repository root. The brief version is as follows:

Copyright (C) 2023 Kevin Matthes

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Dependencies

GitHub Actions

  • baptiste0928/cargo-install

  • fregante/setup-git-user

Rust

  • [aeruginous_io]

  • [anstyle]

  • [cargo_lock]

  • [chrono]

  • [clap]

  • [git2]

  • [indexmap]

  • [quick_xml]

  • [ron]

  • [serde]

  • [sysexits]

  • [toml]

Introduction

aeruginous is a Rust application providing several development utilities.

When searching a name for this project, one main requirement was to reflect both the originally intended main purpose of tracking time as well as the coding language this CLI is written in, Rust. The adjective aeruginous fulfills both criteria as it means that the described noun has patina, a special form of rust which appears after a certain period of time has passed.

Originally, it was planned to be a time tracking CLI but during the development of the first stable version, certain common tasks needed to be fulfilled repeatedly. Since the application already had a somehow stable calling interface, the solutions to these tasks were added as subcommands to aeruginous in order to provide a convenient and time efficient automation. One major advantage of doing so is the reduced maintenance effort and overall setup overhead because there is only one project to maintain instead multiple ones.

This is how the idea arose to design aeruginous to be a toolbox instead of only a time tracker.

Installation

To download the latest stable version from crates.io, run the following command.

bash cargo install aeruginous

To install the latest nightly version from sources, Cargo also supports the installation from the current repository state.

bash cargo install --git https://github.com/kevinmatthes/aeruginous-rs

Supported Subcommands

cff-create

To be called with:

  • cffcreate
  • cff-create
  • mkcff

To be installed with:

  • -F cff-create

This mode will analyse a given project manifest and create an initial CITATION.cff from it. Please note that the result does not necessarily validate such that further adjustments are recommended.

Supported manifest formats are:

  • Cargo.toml (rs)

cffreference

To be called with:

  • cffref
  • cff-ref
  • cffreference
  • cff-reference

CFF makes software citable. Projects exposing a CITATION.cff can be cited with APA plain text citations, BibTeX database entries, and also in another CITATION.cff's list of references.

This subcommand grabs the citation information of the named source CFF file and pastes it at the end of the given output file.

If the input file is omitted, the input information are attemted to be read from [std::io::Stdin]. Likewise, omitting the output file will cause cffreference to write to [std::io::Stdout].

cff-release-today

⚠️ This mode is deprecated. Please use increment-version instead. ⚠️

To be called with:

  • cffrel
  • cff-rel
  • cffreleasetoday
  • cff-release-today

This subcommand will set the release date in the given CITATION.cff to the present day.

comment-changes

To be called with:

  • changelog
  • comment-changes

It is a good practice to document changes to the code base in a CHANGELOG. This mode will read the recent commit messages and try to create a fragment for the CHANGELOG.

This mode requires the specification of a delimiter separating the CHANGELOG category from an entry for that category. The application will browse the Git history for commits which contain that delimiter in their messages and split those messages at the first occurence of that delimiter; users are free to choose whether to prefer the commits' summaries or their bodies, defaulting to the former. The count of commits to harvest can be controlled by either an exact number, a commit SHA to stop at, or by omitting any stop condition to consider all commits in the entire history. Each commit which does not contain the given delimiter in its message will be skipped. The resulting CHANGELOG fragment will be stored either in the current working directory or in the given alternative directory. The file name will consist of a time stamp, the configured Git username, and some information on the current branch. The file format can be either reStructured Text (RST), Markdown (MD), or the Rusty Object Notation (RON). At option, hyperlinks can be specified.

As an example, a repository might contain these four commits:

  1. Added ::= source file `a.rs`_
  2. Added ::= source file `b.rs`_
  3. Update c.rs
  4. Fixed ::= known bug in `d.rs`_

To extract the changes from only these four commits, the application would need to be called with the following command.

bash aeruginous comment-changes \ -d ::= \ -n 4 \ -o directory/ \ -l a.rs -t src/a.rs \ -l b.rs -t src/b.rs \ -l d.rs -t src/d.rs

If this command is invoked by a user named Emma Xample on 1st January 1970 at 01.23 am with the branch example/test being checked out, the resulting fragment will be stored as directory/19700101_012345_Emma_Xample_test.rst. The file contents will be the following:

```rst .. _a.rs: src/a.rs .. _b.rs: src/b.rs .. _d.rs: src/d.rs

Added .....

  • source file a.rs_

  • source file b.rs_

Fixed .....

  • known bug in d.rs_

```

complain

To be called with:

  • complain

This application mode is a little linter to check whether the following requirements are met:

  1. Every file needs to be terminated by a line feed.
  2. Files must not contain CRLFs.
  3. Lines shall have a width of at most n characters.
  4. Trailing white space characters must be removed.
  5. Lines have to be indented by spaces / tabs.
  6. Spaces and tabs must not be mixed for indentation.
  7. Within any line, there shall not be any tab character.

All rules can be ignored, the line width as well as the indentation unit can be configured. Every violation is reported to [std::io::Stderr] with the number of the rule being highlighted using the following colours.

| Colour | Meaning | |:------:|:------------------------------| | green | easy to fix | | yellow | moderate difficulty of fixing | | red | major changes required to fix |

After all rules have been checked for one file, a summary will be written to [std::io::Stderr] consisting of an ASCII art crab as this application is written in Rust, the number of violations, as well as the file name.

increment-version

To be called with:

  • incver
  • inc-ver
  • incrementversion
  • increment-version

This subcommand will increment the hard-coded version strings in the given files by the specified version range.

mkcws

To be called with:

  • mkcws

To be installed with:

  • -F mkcws

IDEs based on the source code of Visual Studio Code have the interesting feature of keeping the current editor view across subsequent sessions. When starting the IDE, it will restore the latest state in order to enable a seamless continuation of work. Users are allowed to export the current view as a Code Workspace to save their access to multiple editor states. These Code Workspaces are configuration files using a JSON-based notation in order to store information on the Workspace's root directory as well as some optional settings unique to that particular Workspace.

Usually, operating systems can be configured regarding the default application for handling a certain file type. This also holds for Code Workspaces. If the operating system is set to open Code Workspaces with a Visual Studio Code-like IDE, the Code Workspaces can be used as project launching shortcuts for a convenient user expericence with the IDE.

This application mode aims to simplify the creation of new Code Workspace files by the provision of a rather simple and intuitive command line interface to define a minimal and valid Code Workspace from scratch.

ronlog

To be called with:

  • ronlog

This mode will collect the RON fragments created by comment-changes and assemble them to a RON CHANGELOG.

A RONLOG consists of multiple sections, sorted descendingly by the respective versions they are documenting. New sections are inserted into that sorted list without breaking the sorting. For example, if a particular RONLOG should contain sections for some versions v1.0.0, v0.2.0, and v0.1.0, a new section on v0.3.0 would be inserted between v1.0.0 and v0.2.0.

rs2md

To be called with:

  • rs2md

Source code should always be documented. Rust's documentation system supports Markdown syntax in documentation comments. Thus, it is a convenient decision to create a Rust project's README file from the crate root's documentation. This command is also helpful to check the documentation comments for typos.

When called, the subcommand accepts a list of input files to read from. If no input file is given, rs2md will read from [std::io::Stdin]. At option, an output file can be specified where the results will be written to. If omitted, the results will be written to [std::io::Stdout].

Users are free to choose whether they would like to extract Rust comments starting with //! (outer comments) or comments starting with /// (inner comments). If neither option is given, nothing will be extracted.

uncrlf

To be called with:

  • uncrlf

Source code should have a uniform appearance. Some text editors terminate lines by Carriage Return Line Feeds (CRLFs, \r\n). This subcommand will remove those from the given file.

Owner

  • Name: Kevin Matthes
  • Login: kevinmatthes
  • Kind: user

Citation (CITATION.cff)

abstract: The Aeruginous Open Source Development Toolbox.
authors:
  - alias: kevinmatthes
    family-names: Matthes
    given-names: Kevin
cff-version: 1.2.0
date-released: 2024-07-28
keywords:
  - Rust
  - aeruginous
  - cff
  - cffcreate
  - cffref
  - cffreference
  - cffrel
  - cffreleasetoday
  - cff-create
  - cff-ref
  - cff-reference
  - cff-rel
  - cff-release-today
  - changelog
  - citation-file-format
  - comment-changes
  - incrementversion
  - increment-version
  - incver
  - inc-ver
  - mkcff
  - ronlog
  - rs2md
  - uncrlf
license: GPL-3.0
message: Please cite this software using these information.
repository-artifact: https://crates.io/crates/aeruginous
repository-code: https://github.com/kevinmatthes/aeruginous-rs
title: Aeruginous
url: https://github.com/kevinmatthes/aeruginous-rs
version: 3.7.17
references:
  - type: software
    date-released: 2025-02-26
    version: 0.4.40
    abstract: Date and time library for Rust
    authors:
      - alias: quodlibetor
        family-names: Maister
        given-names: Brandon W.
      - alias: djc
        family-names: Ochtman
        given-names: Dirkjan
      - alias: lifthrasiir
        family-names: Seonghoon
        given-names: Kang
      - alias: esheppa
        family-names: Sheppard
        given-names: Eric
      - alias: pitdicker
        family-names: Dicker
        given-names: Paul
    license:
      - Apache-2.0
      - MIT
    repository-artifact: https://crates.io/crates/chrono
    repository-code: https://github.com/chronotope/chrono
    title: chrono
    url: https://docs.rs/chrono
  - type: software
    abstract: CITATION.cff files are plain text files with human- and machine-readable citation information for software. Code developers can include them in their repositories to let others know how to correctly cite their software. This is the specification for the Citation File Format.
    authors:
      - family-names: Druskat
        given-names: Stephan
        orcid: https://orcid.org/0000-0003-4925-7248
      - family-names: Spaaks
        given-names: Jurriaan H.
        orcid: https://orcid.org/0000-0002-7064-4069
      - family-names: Chue Hong
        given-names: Neil
        orcid: https://orcid.org/0000-0002-8876-7606
      - family-names: Haines
        given-names: Robert
        orcid: https://orcid.org/0000-0002-9538-7919
      - family-names: Baker
        given-names: James
        orcid: https://orcid.org/0000-0002-2682-6922
      - family-names: Bliven
        given-names: Spencer
        orcid: https://orcid.org/0000-0002-1200-1698
        email: spencer.bliven@gmail.com
      - family-names: Willighagen
        given-names: Egon
        orcid: https://orcid.org/0000-0001-7542-0286
      - family-names: Pérez-Suárez
        given-names: David
        orcid: https://orcid.org/0000-0003-0784-6909
        website: https://dpshelio.github.io
      - family-names: Konovalov
        given-names: Olexandr
        orcid: https://orcid.org/0000-0001-5299-3292
    title: Citation File Format
    version: 1.2.0
    identifiers:
      - type: doi
        value: 10.5281/zenodo.1003149
        description: The concept DOI for the collection containing all versions of the Citation File Format.
      - type: doi
        value: 10.5281/zenodo.5171937
        description: The versioned DOI for the version 1.2.0 of the Citation File Format.
    date-released: "2021-08-09"
    keywords:
      - citation file format
      - CFF
      - citation files
      - software citation
      - file format
      - YAML
      - software sustainability
      - research software
      - credit
    license: "CC-BY-4.0"
    doi: 10.5281/zenodo.5171937
  - type: software
    date-released: 2025-02-24
    version: 4.5.31
    abstract: A full featured, fast Command Line Argument Parser for Rust
    authors:
      - alias: kbknapp
        family-names: Knapp
        given-names: Kevin B.
      - name: The Clap Community
    license:
      - Apache-2.0
      - MIT
    repository-artifact: https://crates.io/crates/clap
    repository-code: https://github.com/clap-rs/clap
    title: clap
    url: https://docs.rs/clap
  - type: software
    abstract: |
      A set of input / output utilities for the Aeruginous Open Source Development
      Toolbox.
    authors:
      - alias: kevinmatthes
        family-names: Matthes
        given-names: Kevin
    date-released: 2024-06-06
    keywords:
      - Rust
      - aeruginous
    license: GPL-3.0
    repository-artifact: https://crates.io/crates/aeruginous-io
    repository-code: https://github.com/kevinmatthes/aeruginous-io
    title: aeruginous-io
    url: https://github.com/kevinmatthes/aeruginous-io
    version: 0.8.1
  - type: software
    date-released: 2025-02-26
    version: 0.9.0
    abstract: The system exit codes as defined by <sysexits.h> for Rust
    authors:
      - alias: sorairolake
        family-names: Sakai
        given-names: Shun
      - alias: kevinmatthes
        family-names: Matthes
        given-names: Kevin
      - alias: TheAlgorythm
        name: zSchoen
    license:
      - Apache-2.0
      - MIT
    repository-artifact: https://crates.io/crates/sysexits
    repository-code: https://github.com/sorairolake/sysexits-rs
    title: sysexits-rs
    url: https://docs.rs/sysexits

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 1,451
  • Total Committers: 5
  • Avg Commits per committer: 290.2
  • Development Distribution Score (DDS): 0.449
Past Year
  • Commits: 258
  • Committers: 3
  • Avg Commits per committer: 86.0
  • Development Distribution Score (DDS): 0.159
Top Committers
Name Email Commits
renovate[bot] 2****] 800
Kevin Matthes 9****s 351
github-actions[bot] 4****] 241
dependabot[bot] 4****] 58
Lukas Fischer 9****6 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 25
  • Total pull requests: 1,859
  • Average time to close issues: 8 days
  • Average time to close pull requests: about 13 hours
  • Total issue authors: 4
  • Total pull request authors: 6
  • Average comments per issue: 0.36
  • Average comments per pull request: 0.55
  • Merged pull requests: 1,346
  • Bot issues: 7
  • Bot pull requests: 1,604
Past Year
  • Issues: 0
  • Pull requests: 330
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 days
  • Issue authors: 0
  • Pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 0.02
  • Merged pull requests: 231
  • Bot issues: 0
  • Bot pull requests: 324
Top Authors
Issue Authors
  • kevinmatthes (17)
  • renovate[bot] (11)
  • github-actions[bot] (3)
  • AmmarAbouZor (1)
Pull Request Authors
  • renovate[bot] (1,173)
  • github-actions[bot] (733)
  • kevinmatthes (251)
  • dependabot[bot] (24)
  • Ohboy166 (1)
  • lukasfischer1998 (1)
Top Labels
Issue Labels
documentation (12) dependencies (10) bug (6) enhancement (5) good first issue (4) rust (4) github_actions (4)
Pull Request Labels
dependencies (1,197) documentation (785) github_actions (695) rust (448) enhancement (125) bug (87)

Packages

  • Total packages: 1
  • Total downloads:
    • cargo 70,308 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 53
  • Total maintainers: 1
crates.io: aeruginous

The Aeruginous Open Source Development Toolbox.

  • Versions: 53
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 70,308 Total
Rankings
Dependent repos count: 29.3%
Dependent packages count: 33.8%
Forks count: 37.5%
Average: 49.0%
Stargazers count: 50.6%
Downloads: 93.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v3.5.3 composite
  • docker://citationcff/cffconvert 2.0.0 composite
  • docker://rhysd/actionlint 1.6.25 composite
  • suzuki-shunsuke/github-action-renovate-config-validator v0.1.3 composite
.github/workflows/comment-changes.yml actions
  • actions/checkout v3.5.3 composite
  • fregante/setup-git-user v2.0.1 composite
.github/workflows/mirror.yml actions
  • actions/checkout v3.5.3 composite
  • actions/setup-python v4.6.1 composite
  • fregante/setup-git-user v2.0.1 composite
  • peter-evans/create-pull-request v5.0.2 composite
  • py-actions/py-dependency-install v4.0.0 composite
  • taiki-e/install-action v2.12.10 composite
.github/workflows/pr.yml actions
  • actions/checkout v3.5.3 composite
  • actions/setup-python v4.6.1 composite
  • py-actions/py-dependency-install v4.0.0 composite
  • taiki-e/install-action v2.12.10 composite
  • thollander/actions-comment-pull-request v2.4.0 composite
.github/workflows/release.yml actions
  • actions/checkout v3.5.3 composite
  • softprops/action-gh-release v0.1.15 composite
.github/workflows/ronlog.yml actions
  • actions/checkout v3.5.3 composite
  • actions/setup-python v4.6.1 composite
  • fregante/setup-git-user v2.0.1 composite
  • peter-evans/create-pull-request v5.0.2 composite
  • py-actions/py-dependency-install v4.0.0 composite
  • taiki-e/install-action v2.12.10 composite
Cargo.lock cargo
  • android-tzdata 0.1.1
  • android_system_properties 0.1.5
  • anstream 0.3.2
  • anstyle 1.0.1
  • anstyle-parse 0.2.1
  • anstyle-query 1.0.0
  • anstyle-wincon 1.0.1
  • autocfg 1.1.0
  • base64 0.13.1
  • bitflags 1.3.2
  • bitflags 2.3.3
  • bumpalo 3.13.0
  • cargo-lock 9.0.0
  • cc 1.0.79
  • cfg-if 1.0.0
  • chrono 0.4.26
  • clap 4.3.11
  • clap_builder 4.3.11
  • clap_derive 4.3.2
  • clap_lex 0.5.0
  • colorchoice 1.0.0
  • core-foundation-sys 0.8.4
  • equivalent 1.0.1
  • errno 0.3.1
  • errno-dragonfly 0.1.2
  • form_urlencoded 1.2.0
  • git2 0.17.2
  • hashbrown 0.14.0
  • heck 0.4.1
  • hermit-abi 0.3.2
  • iana-time-zone 0.1.57
  • iana-time-zone-haiku 0.1.2
  • idna 0.4.0
  • indexmap 2.0.0
  • is-terminal 0.4.9
  • jobserver 0.1.26
  • js-sys 0.3.64
  • libc 0.2.147
  • libgit2-sys 0.15.2+1.6.4
  • libz-sys 1.1.9
  • linux-raw-sys 0.4.3
  • log 0.4.19
  • memchr 2.5.0
  • num-traits 0.2.15
  • once_cell 1.18.0
  • percent-encoding 2.3.0
  • pkg-config 0.3.27
  • proc-macro2 1.0.64
  • quote 1.0.29
  • ron 0.8.0
  • rustix 0.38.3
  • semver 1.0.17
  • serde 1.0.171
  • serde_derive 1.0.171
  • serde_spanned 0.6.3
  • strsim 0.10.0
  • syn 2.0.25
  • sysexits 0.6.1
  • time 0.1.45
  • tinyvec 1.6.0
  • tinyvec_macros 0.1.1
  • toml 0.7.6
  • toml_datetime 0.6.3
  • toml_edit 0.19.12
  • unicode-bidi 0.3.13
  • unicode-ident 1.0.10
  • unicode-normalization 0.1.22
  • url 2.4.0
  • utf8parse 0.2.1
  • vcpkg 0.2.15
  • wasi 0.10.0+wasi-snapshot-preview1
  • wasm-bindgen 0.2.87
  • wasm-bindgen-backend 0.2.87
  • wasm-bindgen-macro 0.2.87
  • wasm-bindgen-macro-support 0.2.87
  • wasm-bindgen-shared 0.2.87
  • winapi 0.3.9
  • winapi-i686-pc-windows-gnu 0.4.0
  • winapi-x86_64-pc-windows-gnu 0.4.0
  • windows 0.48.0
  • windows-sys 0.48.0
  • windows-targets 0.48.1
  • windows_aarch64_gnullvm 0.48.0
  • windows_aarch64_msvc 0.48.0
  • windows_i686_gnu 0.48.0
  • windows_i686_msvc 0.48.0
  • windows_x86_64_gnu 0.48.0
  • windows_x86_64_gnullvm 0.48.0
  • windows_x86_64_msvc 0.48.0
  • winnow 0.4.9
.github/workflows/cff.yml actions
  • actions/checkout v4.1.0 composite
  • fregante/setup-git-user v2.0.1 composite
  • peter-evans/create-pull-request v5.0.2 composite
.github/workflows/rustfmt.yml actions
  • actions/checkout v4.1.0 composite
  • fregante/setup-git-user v2.0.1 composite
Cargo.toml cargo