Skip to content

Commit

Permalink
rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrav committed Apr 21, 2023
1 parent 9b48715 commit fe97f54
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 28 deletions.
29 changes: 18 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.8] - 2023-04-21

### Changed

- Rename project from `git_raider` to `gitraider`

## [0.1.7] - 2023-04-20

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

- None

[0.1.7]: https://github.com/mbrav/git_raider/compare/0.1.6...0.1.7
[0.1.6]: https://github.com/mbrav/git_raider/compare/0.1.5...0.1.6
[0.1.5]: https://github.com/mbrav/git_raider/compare/0.1.4...0.1.5
[0.1.4]: https://github.com/mbrav/git_raider/compare/0.1.3...0.1.4
[0.1.3]: https://github.com/mbrav/git_raider/compare/0.1.2...0.1.3
[0.1.2]: https://github.com/mbrav/git_raider/compare/0.1.1...0.1.2
[0.1.1]: https://github.com/mbrav/git_raider/compare/0.1.0...0.1.1
[0.1.0]: https://github.com/mbrav/git_raider/compare/0.0.3...0.1.0
[0.0.3]: https://github.com/mbrav/git_raider/compare/0.0.2...0.0.3
[0.0.2]: https://github.com/mbrav/git_raider/compare/0.0.1...0.0.2
[0.0.1]: https://github.com/mbrav/git_raider/releases/tag/0.0.1
[0.1.8]: https://github.com/mbrav/gitraider/compare/0.1.7...0.1.8
[0.1.7]: https://github.com/mbrav/gitraider/compare/0.1.6...0.1.7
[0.1.6]: https://github.com/mbrav/gitraider/compare/0.1.5...0.1.6
[0.1.5]: https://github.com/mbrav/gitraider/compare/0.1.4...0.1.5
[0.1.4]: https://github.com/mbrav/gitraider/compare/0.1.3...0.1.4
[0.1.3]: https://github.com/mbrav/gitraider/compare/0.1.2...0.1.3
[0.1.2]: https://github.com/mbrav/gitraider/compare/0.1.1...0.1.2
[0.1.1]: https://github.com/mbrav/gitraider/compare/0.1.0...0.1.1
[0.1.0]: https://github.com/mbrav/gitraider/compare/0.0.3...0.1.0
[0.0.3]: https://github.com/mbrav/gitraider/compare/0.0.2...0.0.3
[0.0.2]: https://github.com/mbrav/gitraider/compare/0.0.1...0.0.2
[0.0.1]: https://github.com/mbrav/gitraider/releases/tag/0.0.1
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "git_raider"
version = "0.1.7"
name = "gitraider"
version = "0.1.8"
description = "Mass git repository search, replace and commit tool"
authors = ["mbrav <[email protected]>"]
edition = "2021"
repository = "https://github.com/mbrav/git_raider/"
homepage = "https://github.com/mbrav/git_raider/"
repository = "https://github.com/mbrav/gitraider/"
homepage = "https://github.com/mbrav/gitraider/"
license-file = "LICENSE"
keywords = ["git", "rust", "cli", "libgit2", "commit", "command-line-tool"]
categories = ["command-line-utilities"]
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![Release](https://github.com/mbrav/git_raider/actions/workflows/release.yml/badge.svg)](https://github.com/mbrav/git_raider/actions/workflows/release.yml)
[![Release](https://github.com/mbrav/gitraider/actions/workflows/release.yml/badge.svg)](https://github.com/mbrav/gitraider/actions/workflows/release.yml)
[![License](https://img.shields.io/badge/License-BSD_3--Clause-yellow.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![tokei](https://tokei.rs/b1/github/mbrav/git_raider?category=lines)](https://tokei.rs/b1/github/mbrav/git_raider)
[![tokei](https://tokei.rs/b1/github/mbrav/gitraider?category=lines)](https://tokei.rs/b1/github/mbrav/gitraider)

# git_raider
# gitraider

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

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

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

```text
git_raider 0.1.7
gitraider 0.1.8
```

## Run from source
Expand Down
2 changes: 1 addition & 1 deletion latest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.7
0.1.8
8 changes: 4 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use std::time::Instant;

use clap::Parser;
use git_raider::config::Config;
use git_raider::raider::RepoRaider;
use gitraider::config::Config;
use gitraider::raider::RepoRaider;

fn main() {
let conf = Config::parse();
Expand Down Expand Up @@ -67,7 +67,7 @@ fn main() {

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

0 comments on commit fe97f54

Please sign in to comment.