Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kevinmatthes/aeruginous-rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.1
Choose a base ref
...
head repository: kevinmatthes/aeruginous-rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Showing with 6,259 additions and 4,488 deletions.
  1. +1 −1 .clippy.toml
  2. +4 −6 .tarpaulin.toml → .gitattributes
  3. +0 −27 .github/CFF/chrono.yml
  4. +0 −54 .github/CFF/citation-file-format.yml
  5. +0 −16 .github/CFF/clap.yml
  6. +0 −18 .github/CFF/sysexits.yml
  7. +32 −36 src/traits/rusty_object_notation.rs → .github/aeruginous.asy
  8. +6 −3 .github/{CFF → }/aeruginous.cff
  9. +116 −0 .github/renovate.json
  10. +28 −37 .github/workflows/cff.yml
  11. +52 −22 .github/workflows/ci.yml
  12. +2 −3 .github/workflows/comment-changes.yml
  13. +58 −0 .github/workflows/format-json-files.yml
  14. +66 −0 .github/workflows/logo.yml
  15. +13 −25 .github/workflows/mirror.yml
  16. +11 −47 .github/workflows/pr.yml
  17. +2 −2 .github/workflows/release.yml
  18. +10 −18 .github/workflows/ronlog.yml
  19. +3 −2 .github/workflows/rustfmt.yml
  20. +86 −0 .justfile
  21. +0 −102 .renovaterc.json5
  22. +1 −1 .version
  23. +14 −20 src/traits/markdown.rs → .vscode/tasks.json
  24. +1,588 −216 CHANGELOG.ron
  25. +0 −886 CHANGELOG.rst
  26. +32 −9 CITATION.cff
  27. +461 −190 Cargo.lock
  28. +29 −11 Cargo.toml
  29. +0 −214 LICENSEs/README.rst
  30. +0 −240 LICENSEs/chronotope/chrono/LICENSE
  31. +0 −201 LICENSEs/clap-rs/clap/LICENSE-Apache-2.0
  32. +0 −21 LICENSEs/clap-rs/clap/LICENSE-MIT
  33. +0 −201 LICENSEs/ron-rs/ron/LICENSE-Apache-2.0
  34. +0 −25 LICENSEs/ron-rs/ron/LICENSE-MIT
  35. +0 −202 LICENSEs/rust-cli/anstyle/LICENSE-Apache-2.0
  36. +0 −19 LICENSEs/rust-cli/anstyle/LICENSE-MIT
  37. +0 −201 LICENSEs/rust-lang/git2-rs/LICENSE-Apache-2.0
  38. +0 −25 LICENSEs/rust-lang/git2-rs/LICENSE-MIT
  39. +0 −201 LICENSEs/rustsec/rustsec/LICENSE-Apache-2.0
  40. +0 −25 LICENSEs/rustsec/rustsec/LICENSE-MIT
  41. +0 −176 LICENSEs/serde-rs/serde/LICENSE-Apache-2.0
  42. +0 −23 LICENSEs/serde-rs/serde/LICENSE-MIT
  43. +0 −201 LICENSEs/sorairolake/sysexits-rs/LICENSE-Apache-2.0
  44. +0 −21 LICENSEs/sorairolake/sysexits-rs/LICENSE-MIT
  45. +0 −201 LICENSEs/toml-rs/toml/LICENSE-Apache-2.0
  46. +0 −25 LICENSEs/toml-rs/toml/LICENSE-MIT
  47. +135 −12 README.md
  48. BIN aeruginous.png
  49. +918 −0 aeruginous.svg
  50. +8 −0 changelog.d/20240808_194041_github-actions[bot]_kevinmatthes-patch-1.ron
  51. +8 −0 changelog.d/20241101_175153_github-actions[bot]_rust-1.x.ron
  52. +8 −0 changelog.d/20241101_182034_github-actions[bot]_cite-sysexits-rs-again.ron
  53. +8 −0 changelog.d/20241110_122241_github-actions[bot]_sysexits-rs-base-branch.ron
  54. +8 −0 ...log.d/20241110_125057_github-actions[bot]_format-all-json-files-upon-changes-via-gha-workflow.ron
  55. +8 −0 changelog.d/20241110_131435_github-actions[bot]_json-formatting-workflow.ron
  56. +8 −0 changelog.d/20241110_133829_github-actions[bot]_json-formatting-workflow-2.ron
  57. +11 −0 changelog.d/20241110_203830_github-actions[bot]_renovate-upgrade-project-manifest-again.ron
  58. +73 −0 curl-cffref/action.yml
  59. +36 −76 src/application.rs
  60. +409 −0 src/cff/cff_create.rs
  61. +11 −5 src/{ → cff}/cffreference.rs
  62. +6 −20 src/{traits/restructured_text.rs → cff/mod.rs}
  63. +123 −56 src/changelog/comment_changes.rs
  64. +115 −48 src/changelog/fragment.rs
  65. +72 −20 src/changelog/ronlog.rs
  66. +150 −42 src/complain.rs
  67. +4 −3 src/graphing/agd.rs
  68. +2 −2 src/graphing/graph.rs
  69. +65 −55 src/increment_version.rs
  70. +160 −16 src/lib.rs
  71. +0 −1 src/main.rs
  72. +11 −0 src/pattern/io_processor.rs
  73. +2 −0 src/pattern/writer.rs
  74. +140 −0 src/traits/file_formats.rs
  75. +7 −7 src/traits/mod.rs
  76. +7 −0 src/traits/read_file.rs
  77. +198 −0 src/utilities.rs
  78. +3 −3 src/version.rs
  79. 0 {cffs → tests/assets/CITATION.cff}/expectation.yml
  80. 0 {cffs → tests/assets/CITATION.cff}/input_1.cff
  81. 0 {cffs → tests/assets/CITATION.cff}/input_2.cff
  82. 0 {cffs → tests/assets/CITATION.cff}/input_3.cff
  83. 0 {cffs → tests/assets/CITATION.cff}/input_4.cff
  84. 0 {cffs → tests/assets/CITATION.cff}/input_5.cff
  85. 0 {cffs → tests/assets/CITATION.cff}/input_6.cff
  86. 0 {cffs → tests/assets/CITATION.cff}/input_7.cff
  87. +14 −0 tests/assets/GPL-3.0/GPL-3.0_inner.rs
  88. +14 −0 tests/assets/GPL-3.0/GPL-3.0_outer.rs
  89. +208 −0 tests/cff_create.rs
  90. +44 −24 tests/cffreference.rs
  91. +158 −98 tests/complain.rs
  92. +239 −10 tests/fragment.rs
  93. +21 −0 tests/graph.rs
  94. +2 −0 tests/pattern_writer.rs
  95. +14 −14 tests/ronlog_section.rs
  96. +15 −2 tests/traits.rs
  97. +201 −0 tests/utilities.rs
2 changes: 1 addition & 1 deletion .clippy.toml
Original file line number Diff line number Diff line change
@@ -30,6 +30,6 @@
################################################################################

# The minimal supported Rust version.
msrv = "1.72.0"
msrv = "1.84.1"

################################################################################
10 changes: 4 additions & 6 deletions .tarpaulin.toml → .gitattributes
Original file line number Diff line number Diff line change
@@ -20,18 +20,16 @@
################################################################################
##
## AUTHOR Kevin Matthes
## BRIEF Settings for Tarpaulin.
## BRIEF Settings for the Git repository.
## COPYRIGHT GPL-3.0
## DATE 2023
## FILE .tarpaulin.toml
## FILE .gitattributes
## NOTE See `LICENSE' for full license.
## See `README.md' for project details.
##
################################################################################

[default]
engine = "Llvm"
out = ["Html", "Xml"]
skip-clean = true
# Always show the diff of these files.
Cargo.lock linguist-generated=false

################################################################################
27 changes: 0 additions & 27 deletions .github/CFF/chrono.yml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/CFF/citation-file-format.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/CFF/clap.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/CFF/sysexits.yml

This file was deleted.

68 changes: 32 additions & 36 deletions src/traits/rusty_object_notation.rs → .github/aeruginous.asy
Original file line number Diff line number Diff line change
@@ -17,46 +17,42 @@
| |
\******************************************************************************/

use sysexits::Result;

/// Create an instance from a RON string.
pub trait FromRon<'a>: serde::Deserialize<'a> {
/// Create an instance implementing [`serde::Deserialize`] from valid RON.
///
/// # Errors
///
/// - [`sysexits::ExitCode::DataErr`]
fn from_ron(ron: &'a str) -> Result<Self>;
}
// Settings.
settings.outformat = "svg";
size (50);

impl<'a, T: serde::Deserialize<'a>> FromRon<'a> for T {
fn from_ron(ron: &'a str) -> Result<Self> {
ron::de::from_str(ron).map_or(Err(sysexits::ExitCode::DataErr), Ok)
}
}
// Gear.
draw (circle ((0,0), 1), linewidth (2) + white);
draw (circle ((0,0), 1.25), linewidth (2.3) + white);

/// Convert this instance into a RON string.
pub trait ToRon: serde::Serialize {
/// Convert an instance implementing [`serde::Serialize`] to valid RON.
///
/// # Errors
///
/// - [`sysexits::ExitCode::DataErr`]
fn to_ron(&self, indentation_width: usize) -> Result<String>;
}
for (int i = 0; i < 42; ++i) {
filldraw (
rotate (i * 360 / 42) * (
(0,1.42) -- (-.065,1.3) -- (.065,1.3) -- cycle
),
white,
white
);

impl<T: serde::Serialize> ToRon for T {
fn to_ron(&self, indentation_width: usize) -> Result<String> {
ron::ser::to_string_pretty(
self,
ron::ser::PrettyConfig::default()
.indentor(" ".repeat(indentation_width)),
filldraw (
rotate (i * 360 / 42) * (
(0,1.4) -- (-.05,1.3) -- (.05,1.3) -- cycle
)
.map_or(Err(sysexits::ExitCode::DataErr), |mut s| {
s.push('\n');
Ok(s)
})
}
);
}

for (int i = 0; i < 5; ++i) {
draw (rotate (72 * i) * circle ((0,1.12), .1), linewidth (1.5) + white);
draw (rotate (72 * i) * circle ((0,1.12), .1), linewidth (1));
}

draw (circle ((0,0), 1), linewidth (1.5));
draw (circle ((0,0), 1.25), linewidth (1.8));

// Project name icon.
for (int i = 0; i < 360; ++i)
label ("\Huge \bf Æ", rotate (i) * (0.01,0), white);

label ("\Huge \bf Æ", (0,0));

/******************************************************************************/
9 changes: 6 additions & 3 deletions .github/CFF/aeruginous.cff → .github/aeruginous.cff
Original file line number Diff line number Diff line change
@@ -4,15 +4,17 @@ authors:
family-names: Matthes
given-names: Kevin
cff-version: 1.2.0
date-released: 2023-09-19
date-released: 2024-07-28
keywords:
- Rust
- aeruginous
- cff
- cffcreate
- cffref
- cffreference
- cffrel
- cffreleasetoday
- cff-create
- cff-ref
- cff-reference
- cff-rel
@@ -24,13 +26,14 @@ keywords:
- 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-rs
title: Aeruginous
url: https://github.com/kevinmatthes/aeruginous-rs
version: 3.1.1
version: 3.7.17
116 changes: 116 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
{
"assignees": [
"kevinmatthes"
],
"automerge": false,
"commitMessageLowerCase": "never",
"commitMessagePrefix": "[Renovate]",
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "github-releases",
"depNameTemplate": "actionlint",
"fileMatch": [
"^\\.github/workflows/ci\\.yml$"
],
"matchStrings": [
"rhysd/actionlint:(?<currentValue>\\d+\\.\\d+\\.\\d+)"
],
"packageNameTemplate": "rhysd/actionlint"
},
{
"customType": "regex",
"datasourceTemplate": "github-releases",
"depNameTemplate": "cffconvert",
"fileMatch": [
"^\\.github/workflows/ci\\.yml$"
],
"matchStrings": [
"citationcff/cffconvert:(?<currentValue>\\d+\\.\\d+\\.\\d+)"
],
"packageNameTemplate": "citation-file-format/cffconvert"
},
{
"customType": "regex",
"datasourceTemplate": "github-releases",
"depNameTemplate": "rust",
"fileMatch": [
"^\\.clippy\\.toml$",
"^Cargo\\.toml$",
"^README\\.md$",
"^src/lib\\.rs$"
],
"matchStrings": [
"msrv =.*(?<currentValue>\\d+\\.\\d+\\.\\d+)",
"rust-version =.*(?<currentValue>\\d+\\.\\d+\\.\\d+)",
"MSRV-(?<currentValue>\\d+\\.\\d+\\.\\d+)-brightgreen"
],
"packageNameTemplate": "rust-lang/rust"
}
],
"dependencyDashboard": true,
"dependencyDashboardAutoclose": true,
"dependencyDashboardLabels": [
"dependencies"
],
"dependencyDashboardTitle": "[Renovate] Dependency Dashboard",
"labels": [
"dependencies"
],
"lockFileMaintenance": {
"enabled": true
},
"packageRules": [
{
"addLabels": [
"github_actions"
],
"matchDepNames": [
"actionlint",
"cffconvert"
],
"matchManagers": [
"custom.regex"
]
},
{
"addLabels": [
"rust"
],
"matchManagers": [
"cargo"
],
"matchPackageNames": [
"*"
],
"rangeStrategy": "bump"
},
{
"addLabels": [
"github_actions"
],
"matchManagers": [
"github-actions"
]
},
{
"addLabels": [
"documentation"
],
"matchDepNames": [
"rust"
],
"matchManagers": [
"custom.regex"
]
},
{
"extractVersion": "^v(?<version>.*)$",
"matchDepNames": [
"actionlint"
]
}
],
"prHourlyLimit": null,
"schedule": null
}
Loading