Skip to content

Commit fe97f54

Browse files
committed
rename project
1 parent 9b48715 commit fe97f54

File tree

6 files changed

+35
-28
lines changed

6 files changed

+35
-28
lines changed

CHANGELOG.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.8] - 2023-04-21
9+
10+
### Changed
11+
12+
- Rename project from `git_raider` to `gitraider`
13+
814
## [0.1.7] - 2023-04-20
915

1016
### Added
@@ -80,14 +86,15 @@ This release marks the first full realization of project's description.
8086

8187
- None
8288

83-
[0.1.7]: https://github.com/mbrav/git_raider/compare/0.1.6...0.1.7
84-
[0.1.6]: https://github.com/mbrav/git_raider/compare/0.1.5...0.1.6
85-
[0.1.5]: https://github.com/mbrav/git_raider/compare/0.1.4...0.1.5
86-
[0.1.4]: https://github.com/mbrav/git_raider/compare/0.1.3...0.1.4
87-
[0.1.3]: https://github.com/mbrav/git_raider/compare/0.1.2...0.1.3
88-
[0.1.2]: https://github.com/mbrav/git_raider/compare/0.1.1...0.1.2
89-
[0.1.1]: https://github.com/mbrav/git_raider/compare/0.1.0...0.1.1
90-
[0.1.0]: https://github.com/mbrav/git_raider/compare/0.0.3...0.1.0
91-
[0.0.3]: https://github.com/mbrav/git_raider/compare/0.0.2...0.0.3
92-
[0.0.2]: https://github.com/mbrav/git_raider/compare/0.0.1...0.0.2
93-
[0.0.1]: https://github.com/mbrav/git_raider/releases/tag/0.0.1
89+
[0.1.8]: https://github.com/mbrav/gitraider/compare/0.1.7...0.1.8
90+
[0.1.7]: https://github.com/mbrav/gitraider/compare/0.1.6...0.1.7
91+
[0.1.6]: https://github.com/mbrav/gitraider/compare/0.1.5...0.1.6
92+
[0.1.5]: https://github.com/mbrav/gitraider/compare/0.1.4...0.1.5
93+
[0.1.4]: https://github.com/mbrav/gitraider/compare/0.1.3...0.1.4
94+
[0.1.3]: https://github.com/mbrav/gitraider/compare/0.1.2...0.1.3
95+
[0.1.2]: https://github.com/mbrav/gitraider/compare/0.1.1...0.1.2
96+
[0.1.1]: https://github.com/mbrav/gitraider/compare/0.1.0...0.1.1
97+
[0.1.0]: https://github.com/mbrav/gitraider/compare/0.0.3...0.1.0
98+
[0.0.3]: https://github.com/mbrav/gitraider/compare/0.0.2...0.0.3
99+
[0.0.2]: https://github.com/mbrav/gitraider/compare/0.0.1...0.0.2
100+
[0.0.1]: https://github.com/mbrav/gitraider/releases/tag/0.0.1

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
2-
name = "git_raider"
3-
version = "0.1.7"
2+
name = "gitraider"
3+
version = "0.1.8"
44
description = "Mass git repository search, replace and commit tool"
55
authors = ["mbrav <mbrav@protonmail.com>"]
66
edition = "2021"
7-
repository = "https://github.com/mbrav/git_raider/"
8-
homepage = "https://github.com/mbrav/git_raider/"
7+
repository = "https://github.com/mbrav/gitraider/"
8+
homepage = "https://github.com/mbrav/gitraider/"
99
license-file = "LICENSE"
1010
keywords = ["git", "rust", "cli", "libgit2", "commit", "command-line-tool"]
1111
categories = ["command-line-utilities"]

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
[![Release](https://github.com/mbrav/git_raider/actions/workflows/release.yml/badge.svg)](https://github.com/mbrav/git_raider/actions/workflows/release.yml)
1+
[![Release](https://github.com/mbrav/gitraider/actions/workflows/release.yml/badge.svg)](https://github.com/mbrav/gitraider/actions/workflows/release.yml)
22
[![License](https://img.shields.io/badge/License-BSD_3--Clause-yellow.svg)](https://opensource.org/licenses/BSD-3-Clause)
3-
[![tokei](https://tokei.rs/b1/github/mbrav/git_raider?category=lines)](https://tokei.rs/b1/github/mbrav/git_raider)
3+
[![tokei](https://tokei.rs/b1/github/mbrav/gitraider?category=lines)](https://tokei.rs/b1/github/mbrav/gitraider)
44

5-
# git_raider
5+
# gitraider
66

77
Mass git repository search, replace and commit tool written in Rust
88

@@ -13,9 +13,9 @@ Mass git repository search, replace and commit tool written in Rust
1313
To install the latest version of the binary to `/usr/local/bin/` copy the following into your terminal:
1414

1515
```bash
16-
latest_ver=$(curl https://raw.githubusercontent.com/mbrav/git_raider/main/latest)
16+
latest_ver=$(curl https://raw.githubusercontent.com/mbrav/gitraider/main/latest)
1717
file_name=gitraider_$latest_ver-stable-x86_64-unknown-linux-gnu.tar.gz
18-
curl -L -o /tmp/$file_name https://github.com/mbrav/git_raider/releases/download/$latest_ver/$file_name
18+
curl -L -o /tmp/$file_name https://github.com/mbrav/gitraider/releases/download/$latest_ver/$file_name
1919
tar -xvf /tmp/$file_name -C /tmp/
2020
sudo cp /tmp/target/release/gitraider /usr/local/bin/
2121
gitraider -V
@@ -24,7 +24,7 @@ gitraider -V
2424
If successful, you will get the following after the end:
2525

2626
```text
27-
git_raider 0.1.7
27+
gitraider 0.1.8
2828
```
2929

3030
## Run from source

latest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.7
1+
0.1.8

src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::time::Instant;
22

33
use clap::Parser;
4-
use git_raider::config::Config;
5-
use git_raider::raider::RepoRaider;
4+
use gitraider::config::Config;
5+
use gitraider::raider::RepoRaider;
66

77
fn main() {
88
let conf = Config::parse();
@@ -67,7 +67,7 @@ fn main() {
6767

6868
/// Print assessment
6969
fn assessment(raider: &RepoRaider) {
70-
// git_raider::func::paths_info_print(&raider.get_dirs(), "found directories (repos)", 5);
70+
// gitraider::func::paths_info_print(&raider.get_dirs(), "found directories (repos)", 5);
7171
println!("REPORT");
7272
println!("Fn: - Matched files, number of matched lines");
7373
println!(" Ln: - Original line, line number");
@@ -77,7 +77,7 @@ fn assessment(raider: &RepoRaider) {
7777
for dir in &raider.dirs {
7878
if dir.pages.iter().any(|p| !p.matches.is_empty()) {
7979
let branch_name =
80-
git_raider::git::get_branch_name(dir.repo.as_ref().expect("Folder not a git repo"))
80+
gitraider::git::get_branch_name(dir.repo.as_ref().expect("Folder not a git repo"))
8181
.expect("Error getting repo branch name");
8282
println!("\nRepository: {}", dir.relative_path.display());
8383
println!("Branch: {branch_name}");

0 commit comments

Comments
 (0)