chore: Migrate from GitHub to Forgejo
- Update repository URL to kitux.de/forgejo/dschlueter/ntu - Replace GitHub badges with simple repository link - Update email addresses: dieter.schlueter@linix.de -> dschlueter@kitux.de - Update all installation and clone instructions - Update bug report and documentation URLs in manpage - Mark GitHub Actions workflows as legacy
This commit is contained in:
parent
2ec4d12d6c
commit
cf091f4d4b
4 changed files with 18 additions and 34 deletions
|
|
@ -2,11 +2,11 @@
|
|||
name = "NameToUnix"
|
||||
version = "1.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Dieter Schlüter <dieter.schlueter@linix.de>"]
|
||||
authors = ["Dieter Schlüter <dschlueter@kitux.de>"]
|
||||
description = "Ein Tool zum Anpassen von Verzeichnis- und Dateinamen an Linux-Konventionen"
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/jamulix/NameToUnix"
|
||||
repository = "https://kitux.de/forgejo/dschlueter/ntu"
|
||||
keywords = ["filesystem", "rename", "sanitize", "cli"]
|
||||
categories = ["command-line-utilities", "filesystem"]
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ panic = "abort" # Kleinere Binärdatei durch Abbrechen bei Panic
|
|||
strip = true # Entfernen von Debug-Symbolen
|
||||
|
||||
[package.metadata.deb]
|
||||
maintainer = "Dieter Schlüter <dieter.schlueter@linix.de>"
|
||||
maintainer = "Dieter Schlüter <dschlueter@kitux.de>"
|
||||
copyright = "2025, Dieter Schlüter"
|
||||
license-file = ["LICENSE", "4"]
|
||||
extended-description = """
|
||||
|
|
|
|||
34
README.md
34
README.md
|
|
@ -1,12 +1,11 @@
|
|||
# NameToUnix
|
||||
|
||||
[](https://github.com/jamulix/NameToUnix/actions)
|
||||
[](https://github.com/jamulix/NameToUnix/releases)
|
||||
[](https://github.com/jamulix/NameToUnix/releases)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
|
||||
**Filename Repair Tool for Linux** · Binary: `ntu`
|
||||
|
||||
🔗 Repository: [kitux.de/forgejo/dschlueter/ntu](https://kitux.de/forgejo/dschlueter/ntu)
|
||||
|
||||
(german and english)
|
||||
|
||||
A powerful command line tool for cleaning up file names according to Linux conventions.
|
||||
|
|
@ -25,7 +24,7 @@ Ich benutze ein ähnliches Programm - ein Perl-Skript - seit ca. 15 Jahren. Es h
|
|||
|
||||
Dies ist mein erstes Programm in Rust. (Bitte seid gnädig.)
|
||||
|
||||
(c) 2025 Dieter Schlüter <dieter.schlueter@linix.de>
|
||||
(c) 2025 Dieter Schlüter <dschlueter@kitux.de>
|
||||
|
||||
## ⚠️ BREAKING CHANGE in v1.0.0
|
||||
|
||||
|
|
@ -80,36 +79,21 @@ ntu -L -v
|
|||
|
||||
## Installation
|
||||
|
||||
### Option 1: Pre-built Binary (Recommended)
|
||||
### Option 1: Pre-built Binary
|
||||
|
||||
Download the latest release for your platform from [GitHub Releases](https://github.com/jamulix/NameToUnix/releases):
|
||||
Pre-built binaries are available from [Forgejo Releases](https://kitux.de/forgejo/dschlueter/ntu/releases).
|
||||
|
||||
```bash
|
||||
# Linux x86_64
|
||||
wget https://github.com/jamulix/NameToUnix/releases/latest/download/ntu-linux-x86_64.tar.gz
|
||||
tar xzf ntu-linux-x86_64.tar.gz
|
||||
sudo mv ntu /usr/local/bin/
|
||||
Download and extract the appropriate binary for your platform, then move it to `/usr/local/bin/`.
|
||||
|
||||
# macOS Intel
|
||||
wget https://github.com/jamulix/NameToUnix/releases/latest/download/ntu-macos-x86_64.tar.gz
|
||||
tar xzf ntu-macos-x86_64.tar.gz
|
||||
sudo mv ntu /usr/local/bin/
|
||||
|
||||
# macOS Apple Silicon (M1/M2)
|
||||
wget https://github.com/jamulix/NameToUnix/releases/latest/download/ntu-macos-arm64.tar.gz
|
||||
tar xzf ntu-macos-arm64.tar.gz
|
||||
sudo mv ntu /usr/local/bin/
|
||||
```
|
||||
|
||||
### Option 2: Build from Source
|
||||
### Option 2: Build from Source (Recommended)
|
||||
|
||||
Die ausführbare Datei wird unter `target/release/ntu` erstellt. Du solltest sie mit 'sudo cp target/release/ntu /usr/local/bin/' kopieren. Sie ist dann für alle User verfügbar. Denke daran, die Konfiguationsdatei (s. u.) ebenfalls zu kopieren. Sie kann für jeden User individuell angepasst werden, wenn sie im home-Verzeichnis des Users liegt.
|
||||
|
||||
The executable file is created under `target/release/ntu`. You should copy it with 'sudo cp target/release/ntu /usr/local/bin/'. It is then available for all users. Remember to copy the configuration file (see below) as well. It can be customized for each user individually if it is located in the user's home directory.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/jamulix/NameToUnix.git # Download repository
|
||||
cd NameToUnix # Change to download directory
|
||||
git clone https://kitux.de/forgejo/dschlueter/ntu.git # Download repository
|
||||
cd ntu # Change to download directory
|
||||
cargo build --release # Build binary
|
||||
sudo cp target/release/ntu /usr/local/bin/ # copy binary to local bin directory
|
||||
|
||||
|
|
|
|||
|
|
@ -186,9 +186,9 @@ Processes files from deepest to shallowest to avoid parent conflicts
|
|||
.IP \(bu 2
|
||||
Skips special files unless explicitly requested with \fB\-\-special\fR
|
||||
.SH BUGS
|
||||
Report bugs at: https://github.com/jamulix/NameToUnix/issues
|
||||
Report bugs at: https://kitux.de/forgejo/dschlueter/ntu/issues
|
||||
.SH AUTHOR
|
||||
Written by Dieter Schlüter <dieter.schlueter@linix.de>
|
||||
Written by Dieter Schlüter <dschlueter@kitux.de>
|
||||
.SH COPYRIGHT
|
||||
Copyright \(co 2025 Dieter Schlüter. Licensed under MIT License.
|
||||
.SH SEE ALSO
|
||||
|
|
@ -196,4 +196,4 @@ Copyright \(co 2025 Dieter Schlüter. Licensed under MIT License.
|
|||
.BR detox (1),
|
||||
.BR mv (1)
|
||||
.PP
|
||||
Full documentation at: https://github.com/jamulix/NameToUnix
|
||||
Full documentation at: https://kitux.de/forgejo/dschlueter/ntu
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ cargo install NameToUnix
|
|||
### Manueller Build
|
||||
|
||||
```bash
|
||||
git clone https://github.com/username/NameToUnix.git
|
||||
cd NameToUnix
|
||||
git clone https://kitux.de/forgejo/dschlueter/ntu.git
|
||||
cd ntu
|
||||
cargo build --release
|
||||
```
|
||||
|
||||
|
|
@ -658,7 +658,7 @@ fn main() -> Result<()> {
|
|||
```
|
||||
|
||||
|
||||
## 8. ./github/workflows/build.yaml -- GitHub Actions Workflow für CI/CD
|
||||
## 8. .github/workflows/build.yaml -- CI/CD Workflow (Legacy)
|
||||
|
||||
```yaml
|
||||
name: Build and Test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue