Skip to content

Commit d6d7d3c

Browse files
author
avadakedavra-wp
committed
fix: update references from 'main' to 'master' across documentation and scripts
1 parent b16f2cf commit d6d7d3c

File tree

10 files changed

+24
-24
lines changed

10 files changed

+24
-24
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Thank you for your interest in contributing to fazrepo! This document provides g
3838
```
3939
fazrepo/
4040
├── src/
41-
│ └── main.rs # Main CLI application
41+
│ └── master.rs # Main CLI application
4242
├── tests/
4343
│ └── integration_tests.rs # Integration tests
4444
├── .github/
@@ -123,7 +123,7 @@ To add support for a new package manager:
123123
2. Update `CHANGELOG.md`
124124
3. Run tests: `cargo test`
125125
4. Use the release script: `./release.sh <version>`
126-
5. Push changes and tag: `git push origin main && git push origin v<version>`
126+
5. Push changes and tag: `git push origin master && git push origin v<version>`
127127
6. GitHub Actions will automatically build and create releases
128128

129129
## Code Style

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ categories = ["command-line-utilities"]
1212

1313
[[bin]]
1414
name = "fazrepo"
15-
path = "src/main.rs"
15+
path = "src/master.rs"
1616

1717
[dependencies]
1818
clap = { version = "4.0", features = ["derive"] }

PROJECT_SUMMARY.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ brew install fazrepo
7777
### 2. Universal Install Script
7878
```bash
7979
# Host install.sh on GitHub and users can install with:
80-
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/main/install.sh | bash
80+
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/master/install.sh | bash
8181
```
8282

8383
### 3. GitHub Releases
@@ -100,15 +100,15 @@ The GitHub Actions workflow will automatically:
100100
git init
101101
git add .
102102
git commit -m "Initial commit: fazrepo CLI tool"
103-
git branch -M main
103+
git branch -M master
104104
git remote add origin https://github.com/avadakedavra-wp/fazrepo.git
105-
git push -u origin main
105+
git push -u origin master
106106
```
107107

108108
3. **First Release**:
109109
```bash
110110
./release.sh 0.1.0
111-
git push origin main
111+
git push origin master
112112
git push origin v0.1.0
113113
```
114114

@@ -121,7 +121,7 @@ The GitHub Actions workflow will automatically:
121121

122122
- **Language**: Rust (2021 edition)
123123
- **Dependencies**: 7 carefully chosen crates
124-
- **Features**: 5 main commands with options
124+
- **Features**: 5 master commands with options
125125
- **Tests**: 7 tests (unit + integration)
126126
- **Documentation**: 4 detailed markdown files
127127
- **Platforms**: Linux, macOS (x86_64, aarch64)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A fast CLI tool to check package manager versions on your system.
1515

1616
```bash
1717
# Install from source (works immediately)
18-
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/main/install-dev.sh | bash
18+
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/master/install-dev.sh | bash
1919
```
2020

2121
### Homebrew (macOS/Linux) - Coming Soon
@@ -28,7 +28,7 @@ brew install fazrepo
2828
### Curl (Universal) - After First Release
2929

3030
```bash
31-
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/main/install.sh | bash
31+
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/master/install.sh | bash
3232
```
3333

3434
### From Source

SETUP_GUIDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is expected because **no GitHub releases exist yet**. Here's how to fix it:
1414
Use the development installer that builds from source:
1515

1616
```bash
17-
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/main/install-dev.sh | bash
17+
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/master/install-dev.sh | bash
1818
```
1919

2020
This script will:
@@ -45,7 +45,7 @@ This script will:
4545
git remote set-url origin https://github.com/avadakedavra-wp/fazrepo.git
4646

4747
# Push to GitHub
48-
git push -u origin main
48+
git push -u origin master
4949
```
5050

5151
### 4. Create Your First Release
@@ -64,10 +64,10 @@ After creating the release, test both install methods:
6464

6565
```bash
6666
# Development install (works now)
67-
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/main/install-dev.sh | bash
67+
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/master/install-dev.sh | bash
6868

6969
# Release install (works after step 4)
70-
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/main/install.sh | bash
70+
curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/master/install.sh | bash
7171
```
7272

7373
## 🛠️ Troubleshooting

install-dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# fazrepo development installation script
44
# For when there are no releases yet
5-
# Usage: curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/main/install-dev.sh | bash
5+
# Usage: curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/master/install-dev.sh | bash
66

77
set -e
88

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# fazrepo installation script
4-
# Usage: curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/main/install.sh | bash
4+
# Usage: curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/master/install.sh | bash
55

66
set -e
77

scripts/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ git tag "v$VERSION"
6767

6868
echo -e "${GREEN}✅ Release v$VERSION prepared!${NC}"
6969
echo -e "${BLUE}🚀 To complete the release:${NC}"
70-
echo -e " ${YELLOW}git push origin main${NC}"
70+
echo -e " ${YELLOW}git push origin master${NC}"
7171
echo -e " ${YELLOW}git push origin v$VERSION${NC}"
7272
echo ""
7373
echo -e "${BLUE}📦 After pushing the tag, GitHub Actions will:${NC}"

scripts/setup.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ if ! git remote get-url origin &> /dev/null; then
4747
echo ""
4848
fi
4949

50-
# Check if main branch exists
51-
if git show-ref --verify --quiet refs/heads/main; then
52-
current_branch="main"
50+
# Check if master branch exists
51+
if git show-ref --verify --quiet refs/heads/master; then
52+
current_branch="master"
5353
elif git show-ref --verify --quiet refs/heads/master; then
5454
current_branch="master"
5555
else
@@ -88,10 +88,10 @@ echo ""
8888

8989
echo -e "${YELLOW}4.${NC} Test installation methods:"
9090
echo -e " ${GREEN}# Development install (works now):${NC}"
91-
echo -e " curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/main/install-dev.sh | bash"
91+
echo -e " curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/master/install-dev.sh | bash"
9292
echo ""
9393
echo -e " ${GREEN}# Release install (after step 3):${NC}"
94-
echo -e " curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/main/install.sh | bash"
94+
echo -e " curl -fsSL https://raw.githubusercontent.com/avadakedavra-wp/fazrepo/master/install.sh | bash"
9595
echo ""
9696

9797
echo -e "${YELLOW}5.${NC} Set up Homebrew tap (optional):"

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ enum Commands {
3333
List,
3434
}
3535

36-
#[tokio::main]
37-
async fn main() -> Result<()> {
36+
#[tokio::master]
37+
async fn master() -> Result<()> {
3838
let cli = Cli::parse();
3939

4040
match &cli.command {

0 commit comments

Comments
 (0)