Skip to content

Commit 5dc918f

Browse files
committed
Merge dev into main, accepting all dev changes on conflicts
# Conflicts: # scripts/devbox-wrapper.sh
2 parents 704038b + 34d096c commit 5dc918f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+4291
-2850
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Steps to reproduce the behavior:
1717

1818
### Environment
1919
- OS:
20-
- devbox version:
20+
- coderaft version:
2121
- Docker version:
2222

2323
### Additional context

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: 💬 Questions & general help
4-
url: https://github.com/itzcozi/devbox/discussions
4+
url: https://github.com/itzcozi/coderaft/discussions
55
about: Please use GitHub Discussions for Q&A and ideas.
66
- name: 📣 Telegram
7-
url: http://t.me/devboxcli
7+
url: http://t.me/coderaftcli
88
about: Community chat for quick questions.
99
- name: 🔐 Security issue
10-
url: https://github.com/itzcozi/devbox/security/policy
10+
url: https://github.com/itzcozi/coderaft/security/policy
1111
about: Please review our security policy for reporting vulnerabilities.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Question
3-
about: Ask a question about using devbox
3+
about: Ask a question about using coderaft
44
title: "[Question]: "
55
labels: [question]
66
assignees: ''
@@ -10,7 +10,7 @@ assignees: ''
1010

1111
### Context
1212
- OS / Distro:
13-
- devbox version:
13+
- coderaft version:
1414
- Docker version:
1515

1616
### What you've tried

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ jobs:
109109
GOARCH: ${{ matrix.goarch }}
110110
run: |
111111
mkdir -p build
112-
BINARY_NAME=devbox
113-
CGO_ENABLED=0 go build -ldflags="-w -s" -o build/${BINARY_NAME}-${GOOS}-${GOARCH} ./cmd/devbox
112+
BINARY_NAME=coderaft
113+
CGO_ENABLED=0 go build -ldflags="-w -s" -o build/${BINARY_NAME}-${GOOS}-${GOARCH} ./cmd/coderaft
114114
115115
- name: Upload artifacts
116116
uses: actions/upload-artifact@v4
117117
with:
118-
name: devbox-${{ matrix.goos }}-${{ matrix.goarch }}
119-
path: build/devbox*
118+
name: coderaft-${{ matrix.goos }}-${{ matrix.goarch }}
119+
path: build/coderaft*
120120
retention-days: 7

.github/workflows/cross-platform-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
run: go test -race ./...
5353

5454
- name: Build application
55-
run: go build -v ./cmd/devbox
55+
run: go build -v ./cmd/coderaft
5656

5757
- name: Test binary execution
5858
run: |
59-
./devbox version || echo "Expected failure on non-Linux systems"
60-
./devbox --help
59+
./coderaft version || echo "Expected failure on non-Linux systems"
60+
./coderaft --help

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
GOARCH: ${{ matrix.goarch }}
4848
run: |
4949
mkdir -p build
50-
BINARY_NAME=devbox
50+
BINARY_NAME=coderaft
5151
5252
# Get version from git tag or use commit hash
5353
if [ "${{ github.event_name }}" = "release" ]; then
@@ -59,13 +59,13 @@ jobs:
5959
CGO_ENABLED=0 go build \
6060
-ldflags="-w -s -X main.version=${VERSION}" \
6161
-o build/${BINARY_NAME}-${GOOS}-${GOARCH} \
62-
./cmd/devbox
62+
./cmd/coderaft
6363
6464
- name: Create archive (tar.gz)
6565
run: |
6666
cd build
67-
BINARY_NAME=devbox
68-
ARCHIVE_NAME="devbox-${{ matrix.goos }}-${{ matrix.goarch }}"
67+
BINARY_NAME=coderaft
68+
ARCHIVE_NAME="coderaft-${{ matrix.goos }}-${{ matrix.goarch }}"
6969
tar -czf ${ARCHIVE_NAME}.tar.gz ${BINARY_NAME}-${{ matrix.goos }}-${{ matrix.goarch }}
7070
7171
- name: Upload Release Asset
@@ -75,14 +75,14 @@ jobs:
7575
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7676
with:
7777
upload_url: ${{ github.event.release.upload_url }}
78-
asset_path: ./build/devbox-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz
79-
asset_name: devbox-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz
78+
asset_path: ./build/coderaft-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz
79+
asset_name: coderaft-${{ matrix.goos }}-${{ matrix.goarch }}.tar.gz
8080
asset_content_type: application/gzip
8181

8282
- name: Upload artifacts (manual trigger)
8383
if: github.event_name == 'workflow_dispatch'
8484
uses: actions/upload-artifact@v4
8585
with:
86-
name: devbox-${{ matrix.goos }}-${{ matrix.goarch }}
87-
path: build/devbox-*
86+
name: coderaft-${{ matrix.goos }}-${{ matrix.goarch }}
87+
path: build/coderaft-*
8888
retention-days: 30

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ linters-settings:
9898
gofmt:
9999
simplify: true
100100
goimports:
101-
local-prefixes: devbox
101+
local-prefixes: coderaft
102102
mnd:
103103
checks:
104104
- argument

CONTRIBUTING.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Contributing to devbox
1+
# Contributing to coderaft
22

3-
Thank you for your interest in contributing to devbox! This document provides guidelines and information for contributors.
3+
Thank you for your interest in contributing to coderaft! This document provides guidelines and information for contributors.
44

55
## Table of Contents
66

@@ -27,12 +27,12 @@ This project adheres to a code of conduct that we expect all contributors to fol
2727
1. **Fork the repository** on GitHub
2828
2. **Clone your fork** locally:
2929
```bash
30-
git clone https://github.com/itzcozi/devbox.git
31-
cd devbox
30+
git clone https://github.com/itzcozi/coderaft.git
31+
cd coderaft
3232
```
3333
3. **Add the upstream repository**:
3434
```bash
35-
git remote add upstream https://github.com/itzcozi/devbox.git
35+
git remote add upstream https://github.com/itzcozi/coderaft.git
3636
```
3737

3838
## How to Contribute
@@ -47,7 +47,7 @@ We welcome several types of contributions:
4747
- 🧪 **Tests** - Expand our comprehensive test suite
4848
- 🔧 **Code refactoring** - Improve code quality and maintainability
4949
- 🎨 **UI/UX improvements** - Enhance user experience
50-
-**Performance optimizations** - Make devbox faster and more efficient
50+
-**Performance optimizations** - Make coderaft faster and more efficient
5151
- 🛡️ **Security enhancements** - Improve security posture
5252

5353
### Good First Issues
@@ -61,7 +61,7 @@ Look for issues labeled with:
6161

6262
### Prerequisites
6363

64-
**⚠️ Operating System Requirement**: devbox only works on **Debian/Ubuntu** systems. For development and testing:
64+
**⚠️ Operating System Requirement**: coderaft only works on **Debian/Ubuntu** systems. For development and testing:
6565
- **Recommended**: Debian 11+ or Ubuntu 20.04+
6666
- **Alternative**: Docker container with Debian/Ubuntu
6767
- **Windows users**: Use WSL2 with Ubuntu distribution
@@ -175,9 +175,9 @@ test(docker): add integration tests for container management
175175

176176
### Overview
177177

178-
**⚠️ Testing Environment**: For best results, run tests on **Debian/Ubuntu** systems where devbox is fully functional. CI runs on Linux only; other platforms are not supported.
178+
**⚠️ Testing Environment**: For best results, run tests on **Debian/Ubuntu** systems where coderaft is fully functional. CI runs on Linux only; other platforms are not supported.
179179

180-
devbox has a comprehensive test suite that includes:
180+
coderaft has a comprehensive test suite that includes:
181181
- **Unit tests** for individual functions and components
182182
- **Integration tests** for CLI commands and end-to-end functionality (Debian/Ubuntu only)
183183
- **Security tests** and vulnerability scanning
@@ -244,7 +244,7 @@ go tool cover -html=coverage.out -o coverage.html
244244
Use the `internal/testutil` package for common operations:
245245

246246
```go
247-
import "devbox/internal/testutil"
247+
import "coderaft/internal/testutil"
248248

249249
func TestMyFunction(t *testing.T) {
250250
// Create test data
@@ -432,7 +432,7 @@ open coverage.html
432432

433433
#### Platform-Specific Issues
434434

435-
**⚠️ Important Note**: devbox is designed to work only on **Debian/Ubuntu** systems. CI runs on Linux only; other platforms are not supported.
435+
**⚠️ Important Note**: coderaft is designed to work only on **Debian/Ubuntu** systems. CI runs on Linux only; other platforms are not supported.
436436

437437
**Recommended Testing Environment**:
438438
- **Debian 11+** or **Ubuntu 20.04+** for best results
@@ -542,7 +542,7 @@ When reporting bugs, please include:
542542
- OS and version
543543
- Go version
544544
- Docker version
545-
- devbox version
545+
- coderaft version
546546
3. **Steps to reproduce**
547547
4. **Expected behavior**
548548
5. **Actual behavior**
@@ -592,8 +592,8 @@ We welcome feature requests! Please:
592592

593593
## License
594594

595-
By contributing to devbox, you agree that your contributions will be licensed under the MIT License.
595+
By contributing to coderaft, you agree that your contributions will be licensed under the MIT License.
596596

597597
---
598598

599-
Thank you for contributing to devbox! 🚀
599+
Thank you for contributing to coderaft! 🚀

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ GOMOD=$(GOCMD) mod
1010
VERSION=1.0
1111
GIT_COMMIT=$(shell git rev-parse --short HEAD 2>/dev/null || echo "unknown")
1212
BUILD_DATE=$(shell date +%Y-%m-%d)
13-
LDFLAGS=-ldflags "-X devbox/internal/commands.Version=$(VERSION) -X devbox/internal/commands.CommitHash=$(GIT_COMMIT)"
13+
LDFLAGS=-ldflags "-X coderaft/internal/commands.Version=$(VERSION) -X coderaft/internal/commands.CommitHash=$(GIT_COMMIT)"
1414

1515
# Binary name
16-
BINARY_NAME=devbox
17-
BINARY_PATH=./cmd/devbox
16+
BINARY_NAME=coderaft
17+
BINARY_PATH=./cmd/coderaft
1818

1919
# Build directory
2020
BUILD_DIR=./build

README.md

Lines changed: 31 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,95 @@
1-
# devbox
1+
# coderaft
22

33
**Isolated development environments for anything**
44

5-
[![CI](https://github.com/itzcozi/devbox/workflows/CI/badge.svg)](https://github.com/itzcozi/devbox/actions)
6-
[![Go Report Card](https://goreportcard.com/badge/github.com/itzcozi/devbox)](https://goreportcard.com/report/github.com/itzcozi/devbox)
5+
[![CI](https://github.com/itzcozi/coderaft/workflows/CI/badge.svg)](https://github.com/itzcozi/coderaft/actions)
6+
[![Go Report Card](https://goreportcard.com/badge/github.com/itzcozi/coderaft)](https://goreportcard.com/report/github.com/itzcozi/coderaft)
77
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
88

9-
devbox creates isolated development environments, contained in a project's Docker box (container). Each project operates in its own disposable environment, while your code remains neatly organized in a simple, flat folder on the host machine.
9+
coderaft creates isolated development environments, contained in a project's Docker box (container). Each project operates in its own disposable environment, while your code remains neatly organized in a simple, flat folder on the host machine.
1010

1111
## Features
1212

13-
- 🚀 **Instant Setup** - Create isolated development environments in seconds
14-
- 🐳 **Docker-based** - Leverage the power of boxes (containers) for consistent environments
15-
- 📁 **Clean Organization** - Keep your code organized in simple, flat folders
16-
- 🔧 **Configurable** - Define your environment with simple JSON configuration
17-
- 🗑️ **Disposable** - Easily destroy and recreate environments as needed
18-
- 🛡️ **Isolated** - Each project runs in its own box, preventing conflicts
19-
- 🔄 **Docker-in-Docker** - Use Docker within your devbox environments by default
20-
- 🐧 **Linux-only** - Officially supported on Debian/Ubuntu systems
21-
- 🧪 **Well Tested** - Comprehensive test suite on Linux
13+
- **Instant Setup** - Create isolated development environments in seconds
14+
- **Docker-based** - Leverage the power of boxes (containers) for consistent environments
15+
- **Clean Organization** - Keep your code organized in simple, flat folders
16+
- **Configurable** - Define your environment with simple JSON configuration
17+
- **Disposable** - Easily destroy and recreate environments as needed
18+
- **Isolated** - Each project runs in its own box, preventing conflicts
19+
- **Docker-in-Docker** - Use Docker within your coderaft environments by default
20+
- **Cross-platform** - Supports Linux, macOS, and Windows (primary target: Debian/Ubuntu)
21+
- **Well Tested** - Comprehensive test suite
2222

23-
## Why devbox?
23+
## Why coderaft?
2424

25-
devbox focuses on fast, disposable, Docker-native development environments with simple, commit-friendly config.
25+
coderaft focuses on fast, disposable, Docker-native development environments with simple, commit-friendly config.
2626

2727
- Minimal config: a small JSON file, no heavy frameworks
2828
- Clean host workspace: flat folders, no complex mounts
2929
- Reproducible: isolated per-project boxes you can destroy/recreate anytime
3030
- Docker-in-Docker ready: use Docker inside your environment out of the box
31-
- Designed for Linux/WSL: optimized for Debian/Ubuntu workflows
31+
- Cross-platform: runs on Linux, macOS, and Windows wherever Docker is available
3232

3333
## Installation
3434

3535
```bash
36-
# Mirror (CDN)
37-
curl -fsSL https://devbox.ar0.eu/install.sh | bash
38-
3936
# Using the install script
40-
curl -fsSL https://raw.githubusercontent.com/itzcozi/devbox/main/install.sh | bash
41-
42-
# Or manually: https://devbox.ar0.eu/docs/install/#manual-build-from-source
43-
```
37+
curl -fsSL https://raw.githubusercontent.com/itzcozi/coderaft/main/install.sh | bash
4438

45-
Notes:
46-
- Some managed shell environments (e.g., AWS CloudShell) may block or challenge CDN traffic, resulting in HTTP 403 when hitting the mirror. Use the primary GitHub Raw URL above in those environments.
47-
- devbox supports Linux environments only (Debian/Ubuntu). On Windows, use WSL2 with an Ubuntu distribution.
39+
# Mirror (CDN)
40+
curl -fsSL https://coderaft.ar0.eu/install.sh | bash
4841

42+
# Or manually: https://coderaft.ar0.eu/docs/install/#manual-build-from-source
43+
```
4944

45+
Note: coderaft requires Docker. It supports Linux, macOS, and Windows. On Windows without WSL2, ensure Docker Desktop is running.
5046

5147
## Quick Start
5248

5349
1. **Initialize a new project**
5450
```bash
55-
devbox init my-project
51+
coderaft init my-project
5652
```
5753

5854
2. **Enter the development environment**
5955
```bash
60-
devbox shell my-project
56+
coderaft shell my-project
6157
```
6258

6359
3. **Run commands in the environment**
6460
```bash
65-
devbox run my-project "python --version"
61+
coderaft run my-project "python --version"
6662
```
6763

6864
4. **List your environments**
6965
```bash
70-
devbox list
66+
coderaft list
7167
```
7268

7369
5. **Clean up when done**
7470
```bash
75-
devbox destroy my-project
71+
coderaft destroy my-project
7672
```
7773

7874
### Shared configs
7975

80-
Commit a `devbox.json` to your repo so teammates can just:
76+
Commit a `coderaft.json` to your repo so teammates can just:
8177

8278
```bash
83-
devbox up
79+
coderaft up
8480
```
8581

8682
Optional: mount your local dotfiles into the box
8783

8884
```bash
89-
devbox up --dotfiles ~/.dotfiles
85+
coderaft up --dotfiles ~/.dotfiles
9086
```
9187

9288
## Documentation
9389

9490
For detailed documentation, guides, and examples, visit:
9591

96-
**📖 [devbox.ar0.eu](https://devbox.ar0.eu)**
92+
**[coderaft.ar0.eu](https://coderaft.ar0.eu)**
9793

9894
## License
9995

0 commit comments

Comments
 (0)