mirror of
https://github.com/orhun/git-cliff.git
synced 2024-11-24 18:04:25 +03:00
chore(project): rename
Signed-off-by: orhun <orhunparmaksiz@gmail.com>
This commit is contained in:
parent
d5735f61b0
commit
4a1ed9bb11
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -3,7 +3,7 @@ name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: 'bug'
|
||||
assignees: 'orhun, kondanta'
|
||||
assignees: 'orhun'
|
||||
|
||||
---
|
||||
|
||||
|
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
2
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@ -3,7 +3,7 @@ name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: 'enhancement'
|
||||
assignees: 'orhun, kondanta'
|
||||
assignees: 'orhun'
|
||||
|
||||
---
|
||||
|
||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
||||
export RUSTDOCFLAGS="-Cpanic=abort"
|
||||
curl -L https://github.com/mozilla/grcov/releases/latest/download/grcov-linux-x86_64.tar.bz2 | tar jxf -
|
||||
cargo test --verbose $CARGO_OPTIONS
|
||||
zip -0 ccov.zip `find . \( -name "gitolith*.gc*" \) -print`;
|
||||
zip -0 ccov.zip `find . \( -name "git-cliff*.gc*" \) -print`;
|
||||
./grcov ccov.zip -s . -t lcov --llvm --branch --ignore-not-existing --ignore "/*" -o lcov.info;
|
||||
bash <(curl -s https://codecov.io/bash) -f lcov.info;
|
||||
|
||||
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -5,4 +5,7 @@
|
||||
**/*.rs.bk
|
||||
|
||||
# Ignore library's lock file
|
||||
gitolith-core/Cargo.lock
|
||||
git-cliff-core/Cargo.lock
|
||||
|
||||
# Miscellaneous
|
||||
/etc/
|
||||
|
@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
|
||||
## Enforcement
|
||||
|
||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||
reported by contacting the project team at gitolith@protonmail.com. All
|
||||
reported by contacting the project team at git-cliff@protonmail.com. All
|
||||
complaints will be reviewed and investigated and will result in a response that
|
||||
is deemed necessary and appropriate to the circumstances. The project team is
|
||||
obligated to maintain confidentiality with regard to the reporter of an incident.
|
||||
|
52
Cargo.lock
generated
52
Cargo.lock
generated
@ -287,6 +287,32 @@ dependencies = [
|
||||
"wasi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "git-cliff-cli"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"git-cliff-core",
|
||||
"log",
|
||||
"pretty_env_logger",
|
||||
"structopt",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "git-cliff-core"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"config",
|
||||
"git-conventional",
|
||||
"git2",
|
||||
"pretty_assertions",
|
||||
"regex",
|
||||
"serde",
|
||||
"serde_derive",
|
||||
"serde_regex",
|
||||
"tera",
|
||||
"thiserror",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "git-conventional"
|
||||
version = "0.9.2"
|
||||
@ -314,32 +340,6 @@ dependencies = [
|
||||
"url",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gitolith-cli"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"gitolith-core",
|
||||
"log",
|
||||
"pretty_env_logger",
|
||||
"structopt",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gitolith-core"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"config",
|
||||
"git-conventional",
|
||||
"git2",
|
||||
"pretty_assertions",
|
||||
"regex",
|
||||
"serde",
|
||||
"serde_derive",
|
||||
"serde_regex",
|
||||
"tera",
|
||||
"thiserror",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "globset"
|
||||
version = "0.4.6"
|
||||
|
@ -1,7 +1,7 @@
|
||||
[workspace]
|
||||
members = [
|
||||
"gitolith-core",
|
||||
"gitolith-cli",
|
||||
"git-cliff-core",
|
||||
"git-cliff",
|
||||
]
|
||||
|
||||
[profile.dev]
|
||||
|
@ -27,7 +27,7 @@ body = """
|
||||
|
||||
# changelog footer
|
||||
footer = """
|
||||
<!-- generated by gitolith -->
|
||||
<!-- generated by git-cliff -->
|
||||
"""
|
||||
|
||||
# regex for parsing and grouping commits
|
@ -1,13 +1,13 @@
|
||||
[package]
|
||||
name = "gitolith-core"
|
||||
name = "git-cliff-core"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = ["gitolith contributors <gitolith@protonmail.com>"]
|
||||
authors = ["git-cliff contributors <git-cliff@protonmail.com>"]
|
||||
license = "GPL-3.0"
|
||||
readme = "README.md"
|
||||
documentation = "https://github.com/gitolith/gitolith/blob/master/README.md"
|
||||
homepage = "https://github.com/gitolith/gitolith"
|
||||
repository = "https://github.com/gitolith/gitolith"
|
||||
documentation = "https://github.com/orhun/git-cliff/blob/master/README.md"
|
||||
homepage = "https://github.com/orhun/git-cliff"
|
||||
repository = "https://github.com/orhun/git-cliff"
|
||||
keywords = []
|
||||
categories = []
|
||||
edition = "2018"
|
@ -1,7 +1,6 @@
|
||||
use thiserror::Error as ThisError;
|
||||
|
||||
/// Library related errors that we are exposing to the rest of the
|
||||
/// workspaces.
|
||||
/// Library related errors that we are exposing to the rest of the workspaces.
|
||||
#[derive(Debug, ThisError)]
|
||||
pub enum Error {
|
||||
/// Error that may occur while I/O operations.
|
@ -1,11 +1,11 @@
|
||||
use gitolith_core::commit::Commit;
|
||||
use gitolith_core::config::{
|
||||
use git_cliff_core::commit::Commit;
|
||||
use git_cliff_core::config::{
|
||||
ChangelogConfig,
|
||||
CommitParser,
|
||||
};
|
||||
use gitolith_core::error::Result;
|
||||
use gitolith_core::release::*;
|
||||
use gitolith_core::template::Template;
|
||||
use git_cliff_core::error::Result;
|
||||
use git_cliff_core::release::*;
|
||||
use git_cliff_core::template::Template;
|
||||
use pretty_assertions::assert_eq;
|
||||
use regex::Regex;
|
||||
use std::fmt::Write;
|
23
git-cliff/Cargo.toml
Normal file
23
git-cliff/Cargo.toml
Normal file
@ -0,0 +1,23 @@
|
||||
[package]
|
||||
name = "git-cliff-cli"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = ["git-cliff contributors <git-cliff@protonmail.com>"]
|
||||
license = "GPL-3.0"
|
||||
readme = "README.md"
|
||||
documentation = "https://github.com/orhun/git-cliff/blob/master/README.md"
|
||||
homepage = "https://github.com/orhun/git-cliff"
|
||||
repository = "https://github.com/orhun/git-cliff"
|
||||
keywords = []
|
||||
categories = []
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
git-cliff-core = { path = "../git-cliff-core" }
|
||||
pretty_env_logger = "0.4.0"
|
||||
log = "0.4.14"
|
||||
|
||||
[dependencies.structopt]
|
||||
version = "0.3"
|
||||
default-features = false
|
||||
features = ["suggestions", "color", "wrap_help"]
|
@ -29,7 +29,7 @@ pub struct Opt {
|
||||
long,
|
||||
env,
|
||||
value_name = "FILE",
|
||||
default_value = "gitolith.toml"
|
||||
default_value = "cliff.toml"
|
||||
)]
|
||||
pub config: String,
|
||||
#[structopt(short, long, env, value_name = "TAG", allow_hyphen_values = true)]
|
@ -1,15 +1,15 @@
|
||||
mod args;
|
||||
|
||||
use args::Opt;
|
||||
use gitolith_core::commit::Commit;
|
||||
use gitolith_core::config::Config;
|
||||
use gitolith_core::error::Result;
|
||||
use gitolith_core::release::{
|
||||
use git_cliff_core::commit::Commit;
|
||||
use git_cliff_core::config::Config;
|
||||
use git_cliff_core::error::Result;
|
||||
use git_cliff_core::release::{
|
||||
Release,
|
||||
ReleaseRoot,
|
||||
};
|
||||
use gitolith_core::repo::Repository;
|
||||
use gitolith_core::template::Template;
|
||||
use git_cliff_core::repo::Repository;
|
||||
use git_cliff_core::template::Template;
|
||||
use std::env;
|
||||
use std::io::{
|
||||
self,
|
@ -1,23 +0,0 @@
|
||||
[package]
|
||||
name = "gitolith-cli"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = ["gitolith contributors <gitolith@protonmail.com>"]
|
||||
license = "GPL-3.0"
|
||||
readme = "README.md"
|
||||
documentation = "https://github.com/gitolith/gitolith/blob/master/README.md"
|
||||
homepage = "https://github.com/gitolith/gitolith"
|
||||
repository = "https://github.com/gitolith/gitolith"
|
||||
keywords = []
|
||||
categories = []
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
gitolith-core = { path = "../gitolith-core" }
|
||||
pretty_env_logger = "0.4.0"
|
||||
log = "0.4.14"
|
||||
|
||||
[dependencies.structopt]
|
||||
version = "0.3"
|
||||
default-features = false
|
||||
features = ["suggestions", "color", "wrap_help"]
|
Loading…
Reference in New Issue
Block a user