diff --git a/.circleci/update_docs.sh b/.circleci/update_docs.sh
index 374213b2..b77bcc46 100755
--- a/.circleci/update_docs.sh
+++ b/.circleci/update_docs.sh
@@ -14,8 +14,8 @@ fi
echo "committing updated docs"
-git config user.name "lazydocker bot"
-git config user.email "jessedduffield@gmail.com"
+git config user.name "lazypodman bot"
+git config user.email "lazypodman-bot@christophe-duc.dev"
git checkout master # just making sure we're up to date
git pull
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index e967508e..0cbec899 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -50,5 +50,5 @@
}
}
// TODO: make this work.
- // "postStartCommand": "echo \"alias gr=\\\"go run /workspaces/lazydocker/main.go\\\"\" >> ~/.zhsrc"
+ // "postStartCommand": "echo \"alias gr=\\\"go run /workspaces/lazypodman/main.go\\\"\" >> ~/.zhsrc"
}
diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml
index cda2fce4..410fc1eb 100644
--- a/.github/workflows/sponsors.yml
+++ b/.github/workflows/sponsors.yml
@@ -16,7 +16,7 @@ jobs:
with:
token: ${{ secrets.TOKEN_GITHUB }}
file: "README.md"
- if: ${{ github.repository == 'jesseduffield/lazydocker' }}
+ if: ${{ github.repository == 'christophe-duc/lazypodman' }}
- name: Create Pull Request 🚀
uses: peter-evans/create-pull-request@v6
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 232c385c..9b8f7d4d 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -62,16 +62,16 @@ changelog:
brews:
- tap:
- owner: jesseduffield
- name: homebrew-lazydocker
+ owner: christophe-duc
+ name: homebrew-lazypodman
# Your app's homepage.
# Default is empty.
- homepage: "https://github.com/jesseduffield/lazydocker/"
+ homepage: "https://github.com/christophe-duc/lazypodman/"
# Your app's description.
# Default is empty.
- description: "A simple terminal UI for docker, written in Go"
+ description: "A simple terminal UI for podman, written in Go"
#snapcrafts:
# - builds:
# - snap
diff --git a/CLAUDE.md b/CLAUDE.md
new file mode 100644
index 00000000..21e0ead1
--- /dev/null
+++ b/CLAUDE.md
@@ -0,0 +1,156 @@
+# CLAUDE.md - lazypodman
+
+## Project Overview
+
+This is a fork of **lazydocker** being converted to **lazypodman** - a terminal UI for managing Podman containers.
+
+**Goals:**
+1. Support native libpod (Podman's Go library) instead of Docker SDK
+2. Enable socket-less operation for Podman commands (no daemon required)
+
+**Current State:** The codebase uses Docker Go SDK (`github.com/docker/docker` v28.5.2) and requires conversion to libpod.
+
+## Quick Start
+
+```bash
+# Build
+go build -mod=vendor
+
+# Run
+./lazypodman
+
+# Run tests
+./test.sh
+
+# Run with debug logging
+./lazypodman -d
+
+# Run with specific compose files
+./lazypodman -f docker-compose.yml -f docker-compose.override.yml
+```
+
+## Architecture
+
+### Package Structure
+
+```
+pkg/
+├── app/ # Application initialization and lifecycle
+├── commands/ # Container runtime interaction (Docker -> Podman target)
+├── gui/ # Terminal UI (gocui-based)
+│ ├── panels/ # Reusable panel components
+│ └── presentation/ # Display formatting
+├── config/ # Configuration management
+├── i18n/ # Internationalization (9 languages)
+├── tasks/ # Background task queue
+├── utils/ # Helper utilities
+├── log/ # Logging setup
+└── cheatsheet/ # Keybinding reference
+```
+
+### Key Files for Podman Integration
+
+**Primary targets for libpod conversion:**
+- `pkg/commands/docker.go` - Main client connection and initialization
+- `pkg/commands/container.go` - Container operations
+- `pkg/commands/image.go` - Image operations
+- `pkg/commands/volume.go` - Volume operations
+- `pkg/commands/network.go` - Network operations
+- `pkg/commands/service.go` - Compose service operations
+- `pkg/commands/docker_host_unix.go` - Unix socket detection
+- `pkg/commands/docker_host_windows.go` - Windows pipe detection
+
+**Application entry:**
+- `main.go` - Entry point, CLI flags
+- `pkg/app/app.go` - App struct, initialization flow
+
+## Current Docker Integration
+
+### Connection Flow
+1. `NewDockerCommand()` in `docker.go` initializes client
+2. Docker host determined from `DOCKER_HOST` env or platform defaults
+3. Uses `github.com/docker/docker/client` SDK for API calls
+4. SSH tunneling supported for remote hosts
+
+### API Methods Used
+```go
+// Container operations
+Client.ContainerList()
+Client.ContainerInspect()
+Client.ContainerStats() // Streaming
+Client.ContainerStart/Stop/Pause/Unpause/Restart/Remove()
+Client.ContainersPrune()
+
+// Image operations
+Client.ImageList()
+Client.ImagesPrune()
+
+// Volume/Network
+Client.VolumeList/VolumesPrune()
+Client.NetworkList/NetworksPrune()
+```
+
+### Command Execution Patterns
+1. **SDK calls** - For most container/image operations
+2. **Shell commands** - For interactive operations (attach, logs) and compose
+3. **Template-based** - Configurable command templates in config
+
+## Libpod Integration Path
+
+### Required Changes
+
+1. **Replace Docker SDK with libpod bindings**
+ - Add `github.com/containers/podman/v5/pkg/bindings` dependency
+ - Replace `*client.Client` with libpod connection
+
+2. **Update type mappings**
+ - Docker `container.Summary` -> Podman equivalent
+ - Docker `image.Summary` -> Podman equivalent
+ - All API response types need mapping
+
+3. **Socket-less mode**
+ - Implement direct libpod calls without socket
+ - Use `bindings.NewConnection()` with appropriate URI
+
+4. **Compose support**
+ - Detect `podman-compose` vs `docker-compose`
+ - Update command templates
+
+### Files NOT requiring changes
+- `pkg/gui/*` - UI layer is container-runtime agnostic
+- `pkg/config/*` - Configuration structure remains same
+- `pkg/i18n/*` - Translations unaffected
+
+## Development Guidelines
+
+### Build System
+- Uses vendored dependencies (`go build -mod=vendor`)
+- GoReleaser for releases (`.goreleaser.yml`)
+- No Makefile - use `go build` directly
+
+### Code Patterns
+- Generic panels: `SideListPanel[T]` for type-safe list handling
+- Mutex protection: `deadlock.Mutex` for concurrent access
+- Error handling: Custom errors in `pkg/commands/errors.go`
+- Platform-specific: `*_windows.go`, `*_unix.go`, `*_default_platform.go`
+
+### Configuration
+- Config path: `~/.config/lazypodman/config.yml` (Linux)
+- Custom commands configurable via YAML
+- Command templates use Go template syntax
+
+## Testing
+
+```bash
+# Run all tests with coverage
+./test.sh
+
+# Run specific package tests
+go test -mod=vendor ./pkg/commands/...
+go test -mod=vendor ./pkg/gui/...
+```
+
+## Module Info
+- Module: `github.com/christophe-duc/lazypodman`
+- Go: 1.22+ (toolchain 1.23.6)
+- Key deps: gocui, docker/docker, logrus
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 7efacb12..a0d42bb3 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -32,7 +32,7 @@ This means there is a little overhead in working with the code base. If you need
# 1)
a) Set `export GOFLAGS=-mod=vendor` in your ~/.bashrc file
-b) use `go run main.go` to run lazydocker
+b) use `go run main.go` to run lazypodman
c) if you need to bump a dependency e.g. jesseduffield/gocui, use
```
@@ -44,7 +44,7 @@ go mod vendor
# 2)
a) don't worry about your ~/.bashrc file
-b) use `go run -mod=vendor main.go` to run lazydocker
+b) use `go run -mod=vendor main.go` to run lazypodman
c) if you need to bump a dependency e.g. jesseduffield/gocui, use
```
@@ -59,7 +59,7 @@ Hopefully this will be much more streamlined in the future :)
Please note by participating in this project, you agree to abide by the [code of conduct].
-[code of conduct]: https://github.com/jesseduffield/lazydocker/blob/master/CODE-OF-CONDUCT.md
+[code of conduct]: https://github.com/christophe-duc/lazypodman/blob/master/CODE-OF-CONDUCT.md
## Any contributions you make will be under the MIT Software License
@@ -67,7 +67,7 @@ In short, when you submit code changes, your submissions are understood to be
under the same [MIT License](http://choosealicense.com/licenses/mit/) that
covers the project. Feel free to contact the maintainers if that's a concern.
-## Report bugs using Github's [issues](https://github.com/jesseduffield/lazydocker/issues)
+## Report bugs using Github's [issues](https://github.com/christophe-duc/lazypodman/issues)
We use GitHub issues to track public bugs. Report a bug by [opening a new
-issue](https://github.com/jesseduffield/lazydocker/issues/new); it's that easy!
+issue](https://github.com/christophe-duc/lazypodman/issues/new); it's that easy!
diff --git a/PLAN.md b/PLAN.md
new file mode 100644
index 00000000..209499ad
--- /dev/null
+++ b/PLAN.md
@@ -0,0 +1,463 @@
+# PLAN.md - lazypodman Conversion Plan
+
+This document outlines the plan to convert lazydocker to lazypodman with native libpod support.
+
+## Goals
+
+1. Replace Docker SDK with Podman's native Go library (libpod bindings)
+2. Support both socket and socket-less operation
+3. Remove Docker-specific commands and features
+4. Rename all occurrences of "lazydocker" to "lazypodman"
+5. Update documentation to reflect the fork
+
+---
+
+## Phase 1: Rename lazydocker to lazypodman
+
+### 1.1 Go Module Rename
+
+**File:** `go.mod`
+- Change module from `github.com/jesseduffield/lazydocker` to `github.com/jesseduffield/lazypodman` (or your own namespace)
+
+### 1.2 Update All Import Statements
+
+**Files to update (49 Go files):**
+- `main.go`
+- `pkg/app/app.go`
+- `pkg/commands/*.go` (all files)
+- `pkg/gui/*.go` (all files)
+- `pkg/gui/panels/*.go`
+- `pkg/gui/presentation/*.go`
+- `pkg/config/*.go`
+- `pkg/i18n/*.go`
+- `pkg/log/log.go`
+- `pkg/tasks/tasks.go`
+- `pkg/utils/utils.go`
+- `pkg/cheatsheet/*.go`
+- `scripts/cheatsheet/main.go`
+- `scripts/translations/get_required_translations.go`
+
+### 1.3 Update Binary Name References
+
+**Files:**
+- `main.go` - Line 47: `flaggy.SetName("lazydocker")` → `"lazypodman"`
+- `main.go` - Line 48: Update description
+- `main.go` - Line 74: `config.NewAppConfig("lazydocker", ...)` → `"lazypodman"`
+- `.goreleaser.yml` - Update binary name and homebrew tap
+
+### 1.4 Update Configuration Paths
+
+**File:** `pkg/config/app_config.go`
+- Line ~180: Config directory `"jesseduffield"` and `"lazydocker"` references
+- Update for all platforms (Linux, macOS, Windows)
+
+### 1.5 Update Internationalization Strings
+
+**Files (9 language files):**
+- `pkg/i18n/english.go`
+- `pkg/i18n/french.go`
+- `pkg/i18n/german.go`
+- `pkg/i18n/spanish.go`
+- `pkg/i18n/portuguese.go`
+- `pkg/i18n/polish.go`
+- `pkg/i18n/dutch.go`
+- `pkg/i18n/turkish.go`
+- `pkg/i18n/chinese.go`
+
+Replace all "lazydocker" strings with "lazypodman".
+
+### 1.6 Update Scripts and CI/CD
+
+**Files:**
+- `scripts/install_update_linux.sh`
+- `.circleci/update_docs.sh`
+- `.github/workflows/sponsors.yml`
+- `.devcontainer/devcontainer.json`
+- `Dockerfile`
+- `docker-compose.yml`
+
+---
+
+## Phase 2: Replace Docker SDK with Libpod Bindings
+
+### 2.1 Update Dependencies
+
+**File:** `go.mod`
+
+Remove:
+```
+github.com/docker/cli v27.1.1+incompatible
+github.com/docker/docker v28.5.2+incompatible
+```
+
+Add (both needed for hybrid approach):
+```
+github.com/containers/podman/v5/pkg/bindings // Socket mode (stable API)
+github.com/containers/podman/v5/libpod // Socket-less mode (unstable API)
+```
+
+### 2.2 Create Runtime Abstraction (Hybrid Approach)
+
+Create a `ContainerRuntime` interface that supports both socket mode (`pkg/bindings`) and socket-less mode (`libpod`).
+
+**File:** `pkg/commands/runtime.go` (new file)
+
+```go
+package commands
+
+type ContainerRuntime interface {
+ ListContainers() ([]*Container, error)
+ GetContainer(id string) (*Container, error)
+ StartContainer(id string) error
+ StopContainer(id string) error
+ // ... see Phase 3.2 for full interface
+ Close() error
+}
+```
+
+**File:** `pkg/commands/podman.go` (new file, replaces docker.go)
+
+```go
+type PodmanCommand struct {
+ Runtime ContainerRuntime // Either SocketRuntime or LibpodRuntime
+ OSCommand *OSCommand
+ Config *config.AppConfig
+}
+
+func NewPodmanCommand(...) (*PodmanCommand, error) {
+ // Auto-detect: try socket first, fall back to libpod
+ // See Phase 3.5 for implementation details
+}
+```
+
+### 2.3 Two Runtime Implementations
+
+**Socket Mode:** `pkg/commands/runtime_socket.go` - Uses `pkg/bindings` (stable API)
+**Socket-less Mode:** `pkg/commands/runtime_libpod.go` - Uses `libpod` directly (unstable API)
+
+See Phase 3.3 and 3.4 for detailed implementation.
+
+### 2.4 Files to Modify
+
+**Primary changes:**
+- `pkg/commands/docker.go` → rename to `podman.go`, rewrite client
+- `pkg/commands/container.go` - Update all Docker client calls
+- `pkg/commands/image.go` - Update all Docker client calls
+- `pkg/commands/volume.go` - Update all Docker client calls
+- `pkg/commands/network.go` - Update all Docker client calls
+- `pkg/commands/container_stats.go` - Update stats streaming
+
+**Socket path updates:**
+- `pkg/commands/docker_host_unix.go` → `podman_host_unix.go`
+ - Change default: `unix:///run/podman/podman.sock` (rootful)
+ - Add rootless: `unix:///run/user/$(id -u)/podman/podman.sock`
+- `pkg/commands/docker_host_windows.go` → `podman_host_windows.go`
+
+### 2.5 Update Type References
+
+Replace Docker types with Podman equivalents:
+- `container.Summary` → Podman's `entities.ListContainer`
+- `container.InspectResponse` → Podman's `define.InspectContainerData`
+- `image.Summary` → Podman's `entities.ImageSummary`
+- `volume.Volume` → Podman's `entities.VolumeConfigResponse`
+- `network.Inspect` → Podman's network types
+
+---
+
+## Phase 3: Hybrid Implementation (Socket + Libpod)
+
+Use a hybrid approach:
+- **Socket available** → Use `pkg/bindings` (stable REST API)
+- **No socket** → Use `libpod` directly (not CLI fallback)
+
+### 3.1 Dependencies
+
+**Add (both needed):**
+```go
+github.com/containers/podman/v5/pkg/bindings // For socket mode
+github.com/containers/podman/v5/pkg/bindings/containers
+github.com/containers/podman/v5/pkg/bindings/images
+github.com/containers/podman/v5/pkg/bindings/volumes
+github.com/containers/podman/v5/pkg/bindings/networks
+
+github.com/containers/podman/v5/libpod // For socket-less mode
+github.com/containers/podman/v5/libpod/define
+```
+
+### 3.2 Runtime Interface
+
+**File:** `pkg/commands/runtime.go`
+
+```go
+package commands
+
+type ContainerRuntime interface {
+ // Container operations
+ ListContainers() ([]*Container, error)
+ GetContainer(id string) (*Container, error)
+ StartContainer(id string) error
+ StopContainer(id string) error
+ PauseContainer(id string) error
+ UnpauseContainer(id string) error
+ RestartContainer(id string) error
+ RemoveContainer(id string, force bool) error
+ PruneContainers() error
+
+ // Image operations
+ ListImages() ([]*Image, error)
+ RemoveImage(id string) error
+ PruneImages() error
+
+ // Volume operations
+ ListVolumes() ([]*Volume, error)
+ RemoveVolume(name string) error
+ PruneVolumes() error
+
+ // Network operations
+ ListNetworks() ([]*Network, error)
+ RemoveNetwork(name string) error
+ PruneNetworks() error
+
+ // Lifecycle
+ Close() error
+}
+```
+
+### 3.3 Socket Mode Implementation
+
+**File:** `pkg/commands/runtime_socket.go`
+
+```go
+type SocketRuntime struct {
+ conn context.Context
+}
+
+func NewSocketRuntime(socketPath string) (*SocketRuntime, error) {
+ conn, err := bindings.NewConnection(context.Background(), socketPath)
+ if err != nil {
+ return nil, err
+ }
+ return &SocketRuntime{conn: conn}, nil
+}
+```
+
+### 3.4 Socket-less Mode Implementation
+
+**File:** `pkg/commands/runtime_libpod.go`
+
+```go
+type LibpodRuntime struct {
+ runtime *libpod.Runtime
+}
+
+func NewLibpodRuntime() (*LibpodRuntime, error) {
+ runtime, err := libpod.NewRuntime(context.Background())
+ if err != nil {
+ return nil, err
+ }
+ return &LibpodRuntime{runtime: runtime}, nil
+}
+```
+
+### 3.5 Auto-Detection Logic
+
+**File:** `pkg/commands/podman.go`
+
+```go
+type PodmanCommand struct {
+ Runtime ContainerRuntime // Either SocketRuntime or LibpodRuntime
+ OSCommand *OSCommand
+ Config *config.AppConfig
+}
+
+func NewPodmanCommand(cfg *config.AppConfig, osCommand *OSCommand) (*PodmanCommand, error) {
+ var runtime ContainerRuntime
+
+ // Try socket first
+ socketPath := detectSocketPath()
+ if socketPath != "" && socketExists(socketPath) {
+ runtime, _ = NewSocketRuntime(socketPath)
+ }
+
+ // Fall back to libpod if socket unavailable
+ if runtime == nil {
+ runtime, _ = NewLibpodRuntime()
+ }
+
+ return &PodmanCommand{Runtime: runtime, ...}, nil
+}
+
+func detectSocketPath() string {
+ // 1. CONTAINER_HOST env var
+ // 2. Rootless: /run/user/{uid}/podman/podman.sock
+ // 3. Rootful: /run/podman/podman.sock
+}
+```
+
+### 3.6 API Method Mappings
+
+**Socket Mode (pkg/bindings):**
+
+| Docker SDK | Podman bindings |
+|------------|-----------------|
+| `Client.ContainerList()` | `containers.List(conn, opts)` |
+| `Client.ContainerStop(id)` | `containers.Stop(conn, id, opts)` |
+| `Client.ImageList()` | `images.List(conn, opts)` |
+| `Client.VolumeList()` | `volumes.List(conn, opts)` |
+
+**Socket-less Mode (libpod):**
+
+| Docker SDK | Libpod Direct |
+|------------|---------------|
+| `Client.ContainerList()` | `runtime.GetAllContainers()` |
+| `Client.ContainerStop(id)` | `ctr.Stop()` |
+| `Client.ImageList()` | `runtime.ImageRuntime().GetImages()` |
+| `Client.VolumeList()` | `runtime.GetAllVolumes()` |
+
+### 3.7 Keep Socket Detection Files (Renamed)
+
+- `pkg/commands/docker_host_unix.go` → `pkg/commands/podman_host_unix.go`
+- `pkg/commands/docker_host_windows.go` → `pkg/commands/podman_host_windows.go`
+
+Update to detect Podman socket paths instead of Docker.
+
+### 3.8 Caveats
+
+1. **API Stability**: Socket mode (pkg/bindings) is stable; libpod is unstable
+2. **Remote Podman**: Only socket mode supports remote connections
+3. **Rootless/Rootful**: Both modes handle this automatically
+
+---
+
+## Phase 4: Remove Docker-Specific Commands
+
+### 4.1 Update Command Templates
+
+**File:** `pkg/config/app_config.go`
+
+Change defaults from Docker Compose to Podman Compose:
+```go
+CommandTemplatesConfig{
+ DockerCompose: "podman-compose", // was "docker compose"
+ RestartService: "{{ .DockerCompose }} restart {{ .Service.Name }}",
+ // ... all other templates stay same, just different default
+}
+```
+
+### 4.2 Update Compose Detection
+
+**File:** `pkg/commands/docker.go` (now `podman.go`)
+
+Change compose detection:
+```go
+// Before
+err := c.OSCommand.RunCommand("docker compose version")
+
+// After
+err := c.OSCommand.RunCommand("podman-compose version")
+```
+
+### 4.3 Update Container Labels
+
+**File:** `pkg/commands/docker.go`
+
+Docker Compose labels to check for Podman Compose compatibility:
+- `"com.docker.compose.service"` - May need Podman equivalent
+- `"com.docker.compose.project"` - May need Podman equivalent
+
+### 4.4 Remove Docker-Specific Features
+
+- Remove `DOCKER_HOST` environment variable handling (replace with `CONTAINER_HOST` or Podman equivalent)
+- Remove `DOCKER_CONTEXT` handling
+- Update SSH tunneling for Podman
+
+### 4.5 Update Hardcoded Commands
+
+**File:** `pkg/gui/containers_panel.go` (line ~454)
+- Change `docker exec` template to `podman exec`
+
+---
+
+## Phase 5: Update Documentation
+
+### 5.1 Update README.md
+
+- Change project name and description
+- Add "Forked from lazydocker" attribution
+- Update installation instructions for lazypodman
+- Update usage examples with podman
+- Update screenshots if needed
+- Update badges and links
+
+### 5.2 Update Other Documentation
+
+**Files:**
+- `CONTRIBUTING.md` - Update repository references
+- `docs/Config.md` - Update configuration examples
+- `docs/keybindings/*.md` (8 files) - Update any lazydocker references
+
+### 5.3 Update CLAUDE.md
+
+- Already created, update as implementation progresses
+
+---
+
+## Phase 6: Testing and Validation
+
+### 6.1 Update Tests
+
+- Update test fixtures in `test/` directory
+- Ensure all existing tests pass with Podman
+- Add Podman-specific tests
+
+### 6.2 Integration Testing
+
+- Test with rootful Podman
+- Test with rootless Podman
+- Test socket mode
+- Test CLI fallback mode
+- Test with podman-compose
+
+### 6.3 Platform Testing
+
+- Linux (primary platform)
+- macOS (via Podman machine)
+- Windows (via Podman machine)
+
+---
+
+## File Summary
+
+### Files to Rename
+| Original | New |
+|----------|-----|
+| `pkg/commands/docker.go` | `pkg/commands/podman.go` |
+| `pkg/commands/docker_host_unix.go` | `pkg/commands/podman_host_unix.go` |
+| `pkg/commands/docker_host_windows.go` | `pkg/commands/podman_host_windows.go` |
+
+### Files with Major Changes
+- `go.mod` - Module rename + dependency swap
+- `main.go` - Binary name, description
+- `pkg/commands/podman.go` - Complete rewrite
+- `pkg/commands/container.go` - API migration
+- `pkg/commands/image.go` - API migration
+- `pkg/commands/volume.go` - API migration
+- `pkg/commands/network.go` - API migration
+- `pkg/config/app_config.go` - Config paths + new options
+- `README.md` - Complete rewrite
+
+### Files with String Replacements Only
+- All 9 i18n files
+- All GUI files (import paths)
+- All presentation files (import paths)
+- Scripts and CI files
+- Documentation files
+
+---
+
+## Estimated Scope
+
+- **~80 files** need modification
+- **~50 files** need import path updates only
+- **~10 files** need significant code changes
+- **~20 files** need content/string updates
diff --git a/README.md b/README.md
index 97967d36..af335aa0 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
Special thanks to:
-
+
- Maintenance of this project is made possible by all the contributors and sponsors. If you'd like to sponsor this project and have your avatar or company logo appear below click here. 💙 + Maintenance of this project is made possible by all the contributors and sponsors. If you'd like to sponsor this project and have your avatar or company logo appear below click here. 💙
@@ -73,16 +73,16 @@ What a headache!
Memorising docker commands is hard. Memorising aliases is slightly less hard. Keeping track of your containers across multiple terminal windows is near impossible. What if you had all the information you needed in one terminal window with every common command living one keypress away (and the ability to add custom commands as well). Lazydocker's goal is to make that dream a reality.
-- [Requirements](https://github.com/jesseduffield/lazydocker#requirements)
-- [Installation](https://github.com/jesseduffield/lazydocker#installation)
-- [Usage](https://github.com/jesseduffield/lazydocker#usage)
+- [Requirements](https://github.com/christophe-duc/lazypodman#requirements)
+- [Installation](https://github.com/christophe-duc/lazypodman#installation)
+- [Usage](https://github.com/christophe-duc/lazypodman#usage)
- [Keybindings](/docs/keybindings)
-- [Cool Features](https://github.com/jesseduffield/lazydocker#cool-features)
-- [Contributing](https://github.com/jesseduffield/lazydocker#contributing)
+- [Cool Features](https://github.com/christophe-duc/lazypodman#cool-features)
+- [Contributing](https://github.com/christophe-duc/lazypodman#contributing)
- [Video Tutorial](https://youtu.be/NICqQPxwJWw)
- [Config Docs](/docs/Config.md)
- [Twitch Stream](https://www.twitch.tv/jesseduffield)
-- [FAQ](https://github.com/jesseduffield/lazydocker#faq)
+- [FAQ](https://github.com/christophe-duc/lazypodman#faq)
## Requirements
@@ -93,55 +93,55 @@ Memorising docker commands is hard. Memorising aliases is slightly less hard. Ke
### Homebrew
-Normally `lazydocker` formula can be found in the Homebrew core but we suggest you to tap our formula to get frequently updated one. It works with Linux, too.
+Normally `lazypodman` formula can be found in the Homebrew core but we suggest you to tap our formula to get frequently updated one. It works with Linux, too.
**Tap**:
```sh
-brew install jesseduffield/lazydocker/lazydocker
+brew install christophe-duc/lazypodman/lazypodman
```
**Core**:
```sh
-brew install lazydocker
+brew install lazypodman
```
### Scoop (Windows)
-You can install `lazydocker` using [scoop](https://scoop.sh/):
+You can install `lazypodman` using [scoop](https://scoop.sh/):
```sh
-scoop install lazydocker
+scoop install lazypodman
```
### Chocolatey (Windows)
-You can install `lazydocker` using [Chocolatey](https://chocolatey.org/):
+You can install `lazypodman` using [Chocolatey](https://chocolatey.org/):
```sh
-choco install lazydocker
+choco install lazypodman
```
### asdf-vm
-You can install [asdf-lazydocker plugin](https://github.com/comdotlinux/asdf-lazydocker) using [asdf-vm](https://asdf-vm.com/):
+You can install [asdf-lazypodman plugin](https://github.com/comdotlinux/asdf-lazypodman) using [asdf-vm](https://asdf-vm.com/):
#### Setup (Once)
```sh
-asdf plugin add lazydocker https://github.com/comdotlinux/asdf-lazydocker.git
+asdf plugin add lazypodman https://github.com/comdotlinux/asdf-lazypodman.git
```
#### For Install / Upgrade
```sh
-asdf list all lazydocker
-asdf install lazydocker latest
-asdf global lazydocker latest
+asdf list all lazypodman
+asdf install lazypodman latest
+asdf global lazypodman latest
```
### Binary Release (Linux/OSX/Windows)
-You can manually download a binary release from [the release page](https://github.com/jesseduffield/lazydocker/releases).
+You can manually download a binary release from [the release page](https://github.com/christophe-duc/lazypodman/releases).
Automated install/update, don't forget to always verify what you're piping into bash:
```sh
-curl https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
+curl https://raw.githubusercontent.com/christophe-duc/lazypodman/master/scripts/install_update_linux.sh | bash
```
The script installs downloaded binary to `$HOME/.local/bin` directory by default, but it can be changed by setting `DIR` environment variable.
@@ -150,58 +150,58 @@ The script installs downloaded binary to `$HOME/.local/bin` directory by default
Required Go Version >= **1.19**
```sh
-go install github.com/jesseduffield/lazydocker@latest
+go install github.com/christophe-duc/lazypodman@latest
```
Required Go version >= **1.8**, <= **1.17**
```sh
-go get github.com/jesseduffield/lazydocker
+go get github.com/christophe-duc/lazypodman
```
### Arch Linux AUR
-You can install lazydocker using the [AUR](https://aur.archlinux.org/packages/lazydocker) by running:
+You can install lazypodman using the [AUR](https://aur.archlinux.org/packages/lazypodman) by running:
```sh
-yay -S lazydocker
+yay -S lazypodman
```
### Docker
-[](https://hub.docker.com/r/lazyteam/lazydocker)
-[](https://hub.docker.com/r/lazyteam/lazydocker)
-[](https://hub.docker.com/r/lazyteam/lazydocker)
+[](https://hub.docker.com/r/christophe-duc/lazypodman)
+[](https://hub.docker.com/r/christophe-duc/lazypodman)
+[](https://hub.docker.com/r/christophe-duc/lazypodman)
1.
- If you have a ARM 32 bit v6 architecture
```sh
- docker build -t lazyteam/lazydocker \
+ docker build -t christophe-duc/lazypodman \
--build-arg BASE_IMAGE_BUILDER=arm32v6/golang \
--build-arg GOARCH=arm \
--build-arg GOARM=6 \
- https://github.com/jesseduffield/lazydocker.git
+ https://github.com/christophe-duc/lazypodman.git
```
- If you have a ARM 32 bit v7 architecture
```sh
- docker build -t lazyteam/lazydocker \
+ docker build -t christophe-duc/lazypodman \
--build-arg BASE_IMAGE_BUILDER=arm32v7/golang \
--build-arg GOARCH=arm \
--build-arg GOARM=7 \
- https://github.com/jesseduffield/lazydocker.git
+ https://github.com/christophe-duc/lazypodman.git
```
- If you have a ARM 64 bit v8 architecture
```sh
- docker build -t lazyteam/lazydocker \
+ docker build -t christophe-duc/lazypodman \
--build-arg BASE_IMAGE_BUILDER=arm64v8/golang \
--build-arg GOARCH=arm64 \
- https://github.com/jesseduffield/lazydocker.git
+ https://github.com/christophe-duc/lazypodman.git
```
Click if you have an ARM device
- e: bearbeite lazydocker Konfiguration
- o: öffne lazydocker Konfiguration
+ e: bearbeite lazypodman Konfiguration
+ o: öffne lazypodman Konfiguration
m: zeige Protokolle
enter: fokussieren aufs Hauptpanel
[: vorheriges Tab
diff --git a/docs/keybindings/Keybindings_en.md b/docs/keybindings/Keybindings_en.md
index 13470d1d..9278aa70 100644
--- a/docs/keybindings/Keybindings_en.md
+++ b/docs/keybindings/Keybindings_en.md
@@ -5,8 +5,8 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
## Project
- e: edit lazydocker config
- o: open lazydocker config
+ e: edit lazypodman config
+ o: open lazypodman config
m: view logs
enter: focus main panel
[: previous tab
diff --git a/docs/keybindings/Keybindings_es.md b/docs/keybindings/Keybindings_es.md
index 145c7a22..627cf5f9 100644
--- a/docs/keybindings/Keybindings_es.md
+++ b/docs/keybindings/Keybindings_es.md
@@ -5,8 +5,8 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
## Proyecto
- e: editar configuración de lazydocker
- o: abrir configuración de lazydocker
+ e: editar configuración de lazypodman
+ o: abrir configuración de lazypodman
m: ver logs
enter: enfocar panel principal
[: anterior pestaña
diff --git a/docs/keybindings/Keybindings_fr.md b/docs/keybindings/Keybindings_fr.md
index 260fe0bd..404a3918 100644
--- a/docs/keybindings/Keybindings_fr.md
+++ b/docs/keybindings/Keybindings_fr.md
@@ -5,8 +5,8 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
## Projet
- e: modifier la configuration lazydocker
- o: ouvrir la configuration lazydocker
+ e: modifier la configuration lazypodman
+ o: ouvrir la configuration lazypodman
m: voir les enregistrements
enter: focus panneau principal
[: onglet précédent
diff --git a/docs/keybindings/Keybindings_nl.md b/docs/keybindings/Keybindings_nl.md
index dca57f64..5e26f9a5 100644
--- a/docs/keybindings/Keybindings_nl.md
+++ b/docs/keybindings/Keybindings_nl.md
@@ -5,8 +5,8 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
## Project
- e: verander de lazydocker configuratie
- o: open de lazydocker configuratie
+ e: verander de lazypodman configuratie
+ o: open de lazypodman configuratie
m: bekijk logs
enter: focus hoofdpaneel
[: vorige tab
diff --git a/docs/keybindings/Keybindings_pt.md b/docs/keybindings/Keybindings_pt.md
index 73544cc9..bec7229a 100644
--- a/docs/keybindings/Keybindings_pt.md
+++ b/docs/keybindings/Keybindings_pt.md
@@ -5,8 +5,8 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
## Projeto
- e: editar configuração do lazydocker
- o: abrir configuração do lazydocker
+ e: editar configuração do lazypodman
+ o: abrir configuração do lazypodman
m: ver logs
enter: focar no painel principal
[: aba anterior
diff --git a/docs/keybindings/Keybindings_tr.md b/docs/keybindings/Keybindings_tr.md
index 787d7d15..5828041f 100644
--- a/docs/keybindings/Keybindings_tr.md
+++ b/docs/keybindings/Keybindings_tr.md
@@ -6,7 +6,7 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
e: lazzydocker ayarlarını düzenle
- o: lazydocker ayarlarını aç
+ o: lazypodman ayarlarını aç
m: kayıt defterini görüntüle
enter: ana panele odaklan
[: önceki sekme
diff --git a/docs/keybindings/Keybindings_zh.md b/docs/keybindings/Keybindings_zh.md
index 0e47a44e..36e12d59 100644
--- a/docs/keybindings/Keybindings_zh.md
+++ b/docs/keybindings/Keybindings_zh.md
@@ -5,8 +5,8 @@ _This file is auto-generated. To update, make the changes in the pkg/i18n direct
## 项目
- e: 编辑lazydocker配置
- o: 打开lazydocker配置
+ e: 编辑lazypodman配置
+ o: 打开lazypodman配置
m: 查看日志
enter: 聚焦主面板
[: 上一个选项卡
diff --git a/go.mod b/go.mod
index bf2c2236..ab347d2f 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/jesseduffield/lazydocker
+module github.com/christophe-duc/lazypodman
go 1.22
diff --git a/lazypodman b/lazypodman
new file mode 100755
index 00000000..0fcce3f9
Binary files /dev/null and b/lazypodman differ
diff --git a/main.go b/main.go
index 09f37180..f1734a16 100644
--- a/main.go
+++ b/main.go
@@ -11,9 +11,9 @@ import (
"github.com/docker/docker/client"
"github.com/go-errors/errors"
"github.com/integrii/flaggy"
- "github.com/jesseduffield/lazydocker/pkg/app"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/app"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/jesseduffield/yaml"
"github.com/samber/lo"
)
@@ -44,9 +44,9 @@ func main() {
runtime.GOARCH,
)
- flaggy.SetName("lazydocker")
- flaggy.SetDescription("The lazier way to manage everything docker")
- flaggy.DefaultParser.AdditionalHelpPrepend = "https://github.com/jesseduffield/lazydocker"
+ flaggy.SetName("lazypodman")
+ flaggy.SetDescription("The lazier way to manage everything podman")
+ flaggy.DefaultParser.AdditionalHelpPrepend = "https://github.com/christophe-duc/lazypodman"
flaggy.Bool(&configFlag, "c", "config", "Print the current default config")
flaggy.Bool(&debuggingFlag, "d", "debug", "a boolean")
@@ -71,7 +71,7 @@ func main() {
log.Fatal(err.Error())
}
- appConfig, err := config.NewAppConfig("lazydocker", version, commit, date, buildSource, debuggingFlag, composeFiles, projectDir)
+ appConfig, err := config.NewAppConfig("lazypodman", version, commit, date, buildSource, debuggingFlag, composeFiles, projectDir)
if err != nil {
log.Fatal(err.Error())
}
@@ -109,7 +109,7 @@ func updateBuildInfo() {
})
if ok {
commit = revision.Value
- // if lazydocker was built from source we'll show the version as the
+ // if lazypodman was built from source we'll show the version as the
// abbreviated commit hash
version = utils.SafeTruncate(revision.Value, 7)
}
diff --git a/pkg/app/app.go b/pkg/app/app.go
index 09a49789..8e7385f3 100644
--- a/pkg/app/app.go
+++ b/pkg/app/app.go
@@ -4,12 +4,12 @@ import (
"io"
"strings"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/gui"
- "github.com/jesseduffield/lazydocker/pkg/i18n"
- "github.com/jesseduffield/lazydocker/pkg/log"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/gui"
+ "github.com/christophe-duc/lazypodman/pkg/i18n"
+ "github.com/christophe-duc/lazypodman/pkg/log"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/cheatsheet/generate.go b/pkg/cheatsheet/generate.go
index 76e9875d..e11e7c33 100644
--- a/pkg/cheatsheet/generate.go
+++ b/pkg/cheatsheet/generate.go
@@ -13,10 +13,10 @@ import (
"log"
"os"
- "github.com/jesseduffield/lazydocker/pkg/app"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/gui"
- "github.com/jesseduffield/lazydocker/pkg/i18n"
+ "github.com/christophe-duc/lazypodman/pkg/app"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/gui"
+ "github.com/christophe-duc/lazypodman/pkg/i18n"
)
const (
@@ -33,7 +33,7 @@ func Generate() {
}
func generateAtDir(dir string) {
- mConfig, err := config.NewAppConfig("lazydocker", "", "", "", "", true, nil, "")
+ mConfig, err := config.NewAppConfig("lazypodman", "", "", "", "", true, nil, "")
if err != nil {
panic(err)
}
diff --git a/pkg/cheatsheet/validate.go b/pkg/cheatsheet/validate.go
index 033c7def..d7bfca54 100644
--- a/pkg/cheatsheet/validate.go
+++ b/pkg/cheatsheet/validate.go
@@ -14,7 +14,7 @@ import (
func Check() {
dir := GetKeybindingsDir()
- tmpDir := filepath.Join(os.TempDir(), "lazydocker_cheatsheet")
+ tmpDir := filepath.Join(os.TempDir(), "lazypodman_cheatsheet")
err := os.RemoveAll(tmpDir)
if err != nil {
diff --git a/pkg/commands/container.go b/pkg/commands/container.go
index 32660190..28990cfe 100644
--- a/pkg/commands/container.go
+++ b/pkg/commands/container.go
@@ -10,8 +10,8 @@ import (
"github.com/docker/docker/api/types/filters"
"github.com/docker/docker/client"
"github.com/go-errors/errors"
- "github.com/jesseduffield/lazydocker/pkg/i18n"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/i18n"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/sasha-s/go-deadlock"
"github.com/sirupsen/logrus"
"golang.org/x/xerrors"
diff --git a/pkg/commands/docker.go b/pkg/commands/docker.go
index 35afef2f..a63355e6 100644
--- a/pkg/commands/docker.go
+++ b/pkg/commands/docker.go
@@ -19,10 +19,10 @@ import (
"github.com/docker/docker/api/types/container"
"github.com/docker/docker/client"
"github.com/imdario/mergo"
- "github.com/jesseduffield/lazydocker/pkg/commands/ssh"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/i18n"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands/ssh"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/i18n"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/sasha-s/go-deadlock"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/commands/dummies.go b/pkg/commands/dummies.go
index 552171ac..3bd64960 100644
--- a/pkg/commands/dummies.go
+++ b/pkg/commands/dummies.go
@@ -3,8 +3,8 @@ package commands
import (
"io"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/i18n"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/i18n"
"github.com/sirupsen/logrus"
)
@@ -18,7 +18,7 @@ func NewDummyOSCommand() *OSCommand {
// NewDummyAppConfig creates a new dummy AppConfig for testing
func NewDummyAppConfig() *config.AppConfig {
appConfig := &config.AppConfig{
- Name: "lazydocker",
+ Name: "lazypodman",
Version: "unversioned",
Commit: "",
BuildDate: "",
diff --git a/pkg/commands/image.go b/pkg/commands/image.go
index 789733d0..540a0639 100644
--- a/pkg/commands/image.go
+++ b/pkg/commands/image.go
@@ -8,7 +8,7 @@ import (
"github.com/docker/docker/api/types/image"
"github.com/docker/docker/client"
"github.com/fatih/color"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/samber/lo"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/commands/os.go b/pkg/commands/os.go
index b8dec4a0..bf696893 100644
--- a/pkg/commands/os.go
+++ b/pkg/commands/os.go
@@ -14,8 +14,8 @@ import (
"github.com/go-errors/errors"
"github.com/jesseduffield/kill"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/mgutz/str"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/commands/service.go b/pkg/commands/service.go
index 755b7f5f..bdeab34a 100644
--- a/pkg/commands/service.go
+++ b/pkg/commands/service.go
@@ -5,7 +5,7 @@ import (
"os/exec"
"github.com/docker/docker/api/types/container"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/commands/ssh/ssh.go b/pkg/commands/ssh/ssh.go
index ecc84045..b4df85ef 100644
--- a/pkg/commands/ssh/ssh.go
+++ b/pkg/commands/ssh/ssh.go
@@ -86,7 +86,7 @@ func (t *tunneledDockerHost) Close() error {
}
func (self *SSHHandler) createDockerHostTunnel(ctx context.Context, remoteHost string) (*tunneledDockerHost, error) {
- socketDir, err := self.tempDir("/tmp", "lazydocker-sshtunnel-")
+ socketDir, err := self.tempDir("/tmp", "lazypodman-sshtunnel-")
if err != nil {
return nil, fmt.Errorf("create ssh tunnel tmp file: %w", err)
}
diff --git a/pkg/commands/ssh/ssh_test.go b/pkg/commands/ssh/ssh_test.go
index f1ea1b90..af194c5a 100644
--- a/pkg/commands/ssh/ssh_test.go
+++ b/pkg/commands/ssh/ssh_test.go
@@ -51,20 +51,20 @@ func TestSSHHandlerHandleSSHDockerHost(t *testing.T) {
tempDir := func(dir string, pattern string) (string, error) {
assert.Equal(t, "/tmp", dir)
- assert.Equal(t, "lazydocker-sshtunnel-", pattern)
+ assert.Equal(t, "lazypodman-sshtunnel-", pattern)
- return "/tmp/lazydocker-ssh-tunnel-12345", nil
+ return "/tmp/lazypodman-ssh-tunnel-12345", nil
}
setenv := func(key, value string) error {
assert.Equal(t, "DOCKER_HOST", key)
- assert.Equal(t, "unix:///tmp/lazydocker-ssh-tunnel-12345/dockerhost.sock", value)
+ assert.Equal(t, "unix:///tmp/lazypodman-ssh-tunnel-12345/dockerhost.sock", value)
return nil
}
startCmdCount := 0
startCmd := func(cmd *exec.Cmd) error {
- assert.EqualValues(t, []string{"ssh", "-L", "/tmp/lazydocker-ssh-tunnel-12345/dockerhost.sock:/var/run/docker.sock", "192.168.5.178", "-N"}, cmd.Args)
+ assert.EqualValues(t, []string{"ssh", "-L", "/tmp/lazypodman-ssh-tunnel-12345/dockerhost.sock:/var/run/docker.sock", "192.168.5.178", "-N"}, cmd.Args)
startCmdCount++
@@ -74,7 +74,7 @@ func TestSSHHandlerHandleSSHDockerHost(t *testing.T) {
dialContextCount := 0
dialContext := func(ctx context.Context, network string, address string) (io.Closer, error) {
assert.Equal(t, "unix", network)
- assert.Equal(t, "/tmp/lazydocker-ssh-tunnel-12345/dockerhost.sock", address)
+ assert.Equal(t, "/tmp/lazypodman-ssh-tunnel-12345/dockerhost.sock", address)
dialContextCount++
diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go
index 9c0ad474..82759327 100644
--- a/pkg/config/app_config.go
+++ b/pkg/config/app_config.go
@@ -1,6 +1,6 @@
// Package config handles all the user-configuration. The fields here are
// all in PascalCase but in your actual config.yml they'll be in camelCase.
-// You can view the default config with `lazydocker --config`.
+// You can view the default config with `lazypodman --config`.
// You can open your config file by going to the status panel (using left-arrow)
// and pressing 'o'.
// You can directly edit the file (e.g. in vim) by pressing 'e' instead.
@@ -53,7 +53,7 @@ type UserConfig struct {
// OS determines what defaults are set for opening files and links
OS OSConfig `yaml:"oS,omitempty"`
- // Stats determines how long lazydocker will gather container stats for, and
+ // Stats determines how long lazypodman will gather container stats for, and
// what stat info to graph
Stats StatsConfig `yaml:"stats,omitempty"`
@@ -106,9 +106,9 @@ type GuiConfig struct {
ShowAllContainers bool `yaml:"showAllContainers,omitempty"`
// ReturnImmediately determines whether you get the 'press enter to return to
- // lazydocker' message after a subprocess has completed. You would set this to
+ // lazypodman' message after a subprocess has completed. You would set this to
// true if you often want to see the output of subprocesses before returning
- // to lazydocker. I would default this to false but then people who want it
+ // to lazypodman. I would default this to false but then people who want it
// set to true won't even know the config option exists.
ReturnImmediately bool `yaml:"returnImmediately,omitempty"`
@@ -254,7 +254,7 @@ type GraphConfig struct {
// This is the path to the stat that you want to display. It is based on the
// RecordedStats struct in container_stats.go, so feel free to look there to
- // see all the options available. Alternatively if you go into lazydocker and
+ // see all the options available. Alternatively if you go into lazypodman and
// go to the stats tab, you'll see that same struct in JSON format, so you can
// just PascalCase the path and you'll have a valid path. E.g.
// ClientStats.blkio_stats -> "ClientStats.BlkioStats"
@@ -336,7 +336,7 @@ type CustomCommand struct {
// the customCommand config.
ServiceNames []string `yaml:"serviceNames"`
- // InternalFunction is the name of a function inside lazydocker that we want to run, as opposed to a command-line command. This is only used internally and can't be configured by the user
+ // InternalFunction is the name of a function inside lazypodman that we want to run, as opposed to a command-line command. This is only used internally and can't be configured by the user
InternalFunction func() error `yaml:"-"`
}
@@ -477,13 +477,13 @@ func GetDefaultConfig() UserConfig {
}
}
-// AppConfig contains the base configuration fields required for lazydocker.
+// AppConfig contains the base configuration fields required for lazypodman.
type AppConfig struct {
Debug bool `long:"debug" env:"DEBUG" default:"false"`
Version string `long:"version" env:"VERSION" default:"unversioned"`
Commit string `long:"commit" env:"COMMIT"`
BuildDate string `long:"build-date" env:"BUILD_DATE"`
- Name string `long:"name" env:"NAME" default:"lazydocker"`
+ Name string `long:"name" env:"NAME" default:"lazypodman"`
BuildSource string `long:"build-source" env:"BUILD_SOURCE" default:""`
UserConfig *UserConfig
ConfigDir string
@@ -532,7 +532,7 @@ func configDirForVendor(vendor string, projectName string) string {
}
func configDir(projectName string) string {
- legacyConfigDirectory := configDirForVendor("jesseduffield", projectName)
+ legacyConfigDirectory := configDirForVendor("christophe-duc", projectName)
if _, err := os.Stat(legacyConfigDirectory); !os.IsNotExist(err) {
return legacyConfigDirectory
}
diff --git a/pkg/gui/app_status_manager.go b/pkg/gui/app_status_manager.go
index f806f72c..6b73227b 100644
--- a/pkg/gui/app_status_manager.go
+++ b/pkg/gui/app_status_manager.go
@@ -4,7 +4,7 @@ import (
"time"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
)
type appStatus struct {
diff --git a/pkg/gui/arrangement.go b/pkg/gui/arrangement.go
index bcd4aa1c..735d20b5 100644
--- a/pkg/gui/arrangement.go
+++ b/pkg/gui/arrangement.go
@@ -2,8 +2,8 @@ package gui
import (
"github.com/jesseduffield/lazycore/pkg/boxlayout"
- "github.com/jesseduffield/lazydocker/pkg/gui/panels"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/gui/panels"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/mattn/go-runewidth"
"github.com/samber/lo"
)
diff --git a/pkg/gui/container_logs.go b/pkg/gui/container_logs.go
index bdb81608..3635244b 100644
--- a/pkg/gui/container_logs.go
+++ b/pkg/gui/container_logs.go
@@ -11,9 +11,9 @@ import (
"github.com/docker/docker/api/types/container"
"github.com/docker/docker/pkg/stdcopy"
"github.com/fatih/color"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/tasks"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/tasks"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
)
func (gui *Gui) renderContainerLogsToMain(container *commands.Container) tasks.TaskFunc {
diff --git a/pkg/gui/containers_panel.go b/pkg/gui/containers_panel.go
index 92aa95b3..ff98bf94 100644
--- a/pkg/gui/containers_panel.go
+++ b/pkg/gui/containers_panel.go
@@ -9,13 +9,13 @@ import (
"github.com/docker/docker/api/types/container"
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/gui/panels"
- "github.com/jesseduffield/lazydocker/pkg/gui/presentation"
- "github.com/jesseduffield/lazydocker/pkg/gui/types"
- "github.com/jesseduffield/lazydocker/pkg/tasks"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/gui/panels"
+ "github.com/christophe-duc/lazypodman/pkg/gui/presentation"
+ "github.com/christophe-duc/lazypodman/pkg/gui/types"
+ "github.com/christophe-duc/lazypodman/pkg/tasks"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/samber/lo"
)
diff --git a/pkg/gui/custom_commands.go b/pkg/gui/custom_commands.go
index f9981607..3498378d 100644
--- a/pkg/gui/custom_commands.go
+++ b/pkg/gui/custom_commands.go
@@ -2,10 +2,10 @@ package gui
import (
"github.com/fatih/color"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/gui/types"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/gui/types"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/samber/lo"
)
diff --git a/pkg/gui/gocui.go b/pkg/gui/gocui.go
index e4c0b155..69181460 100644
--- a/pkg/gui/gocui.go
+++ b/pkg/gui/gocui.go
@@ -3,7 +3,7 @@ package gui
import (
"github.com/gookit/color"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
)
var gocuiColorMap = map[string]gocui.Attribute{
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index fa6199f3..0df9d9fa 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -13,12 +13,12 @@ import (
throttle "github.com/boz/go-throttle"
"github.com/jesseduffield/gocui"
lcUtils "github.com/jesseduffield/lazycore/pkg/utils"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/gui/panels"
- "github.com/jesseduffield/lazydocker/pkg/gui/types"
- "github.com/jesseduffield/lazydocker/pkg/i18n"
- "github.com/jesseduffield/lazydocker/pkg/tasks"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/gui/panels"
+ "github.com/christophe-duc/lazypodman/pkg/gui/types"
+ "github.com/christophe-duc/lazypodman/pkg/i18n"
+ "github.com/christophe-duc/lazypodman/pkg/tasks"
"github.com/sasha-s/go-deadlock"
"github.com/sirupsen/logrus"
)
@@ -182,7 +182,7 @@ func (gui *Gui) goEvery(interval time.Duration, function func() error) {
// Run setup the gui with keybindings and start the mainloop
func (gui *Gui) Run() error {
- // closing our task manager which in turn closes the current task if there is any, so we aren't leaving processes lying around after closing lazydocker
+ // closing our task manager which in turn closes the current task if there is any, so we aren't leaving processes lying around after closing lazypodman
defer gui.taskManager.Close()
g, err := gocui.NewGui(gocui.NewGuiOpts{
diff --git a/pkg/gui/images_panel.go b/pkg/gui/images_panel.go
index 7b0d5643..b80b52e1 100644
--- a/pkg/gui/images_panel.go
+++ b/pkg/gui/images_panel.go
@@ -8,13 +8,13 @@ import (
"github.com/docker/docker/api/types/image"
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/gui/panels"
- "github.com/jesseduffield/lazydocker/pkg/gui/presentation"
- "github.com/jesseduffield/lazydocker/pkg/gui/types"
- "github.com/jesseduffield/lazydocker/pkg/tasks"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/gui/panels"
+ "github.com/christophe-duc/lazypodman/pkg/gui/presentation"
+ "github.com/christophe-duc/lazypodman/pkg/gui/types"
+ "github.com/christophe-duc/lazypodman/pkg/tasks"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/samber/lo"
)
diff --git a/pkg/gui/menu_panel.go b/pkg/gui/menu_panel.go
index 99c65807..8c7998b4 100644
--- a/pkg/gui/menu_panel.go
+++ b/pkg/gui/menu_panel.go
@@ -1,10 +1,10 @@
package gui
import (
- "github.com/jesseduffield/lazydocker/pkg/gui/panels"
- "github.com/jesseduffield/lazydocker/pkg/gui/presentation"
- "github.com/jesseduffield/lazydocker/pkg/gui/types"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/gui/panels"
+ "github.com/christophe-duc/lazypodman/pkg/gui/presentation"
+ "github.com/christophe-duc/lazypodman/pkg/gui/types"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
)
type CreateMenuOptions struct {
diff --git a/pkg/gui/networks_panel.go b/pkg/gui/networks_panel.go
index 4702d35d..b758dcee 100644
--- a/pkg/gui/networks_panel.go
+++ b/pkg/gui/networks_panel.go
@@ -5,13 +5,13 @@ import (
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/gui/panels"
- "github.com/jesseduffield/lazydocker/pkg/gui/presentation"
- "github.com/jesseduffield/lazydocker/pkg/gui/types"
- "github.com/jesseduffield/lazydocker/pkg/tasks"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/gui/panels"
+ "github.com/christophe-duc/lazypodman/pkg/gui/presentation"
+ "github.com/christophe-duc/lazypodman/pkg/gui/types"
+ "github.com/christophe-duc/lazypodman/pkg/tasks"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/samber/lo"
)
diff --git a/pkg/gui/options_menu_panel.go b/pkg/gui/options_menu_panel.go
index 38ba71a5..8412c95e 100644
--- a/pkg/gui/options_menu_panel.go
+++ b/pkg/gui/options_menu_panel.go
@@ -4,7 +4,7 @@ import (
"github.com/samber/lo"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazydocker/pkg/gui/types"
+ "github.com/christophe-duc/lazypodman/pkg/gui/types"
)
func (gui *Gui) getBindings(v *gocui.View) []*Binding {
diff --git a/pkg/gui/panels.go b/pkg/gui/panels.go
index b92e44e1..c2e4c6ea 100644
--- a/pkg/gui/panels.go
+++ b/pkg/gui/panels.go
@@ -1,6 +1,6 @@
package gui
-import "github.com/jesseduffield/lazydocker/pkg/gui/panels"
+import "github.com/christophe-duc/lazypodman/pkg/gui/panels"
func (gui *Gui) intoInterface() panels.IGui {
return gui
diff --git a/pkg/gui/panels/context_state.go b/pkg/gui/panels/context_state.go
index 36610cff..193598d0 100644
--- a/pkg/gui/panels/context_state.go
+++ b/pkg/gui/panels/context_state.go
@@ -1,7 +1,7 @@
package panels
import (
- "github.com/jesseduffield/lazydocker/pkg/tasks"
+ "github.com/christophe-duc/lazypodman/pkg/tasks"
"github.com/samber/lo"
)
diff --git a/pkg/gui/panels/side_list_panel.go b/pkg/gui/panels/side_list_panel.go
index 2473e2ce..7e9c8e68 100644
--- a/pkg/gui/panels/side_list_panel.go
+++ b/pkg/gui/panels/side_list_panel.go
@@ -7,8 +7,8 @@ import (
"github.com/go-errors/errors"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazydocker/pkg/tasks"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/tasks"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/samber/lo"
)
diff --git a/pkg/gui/presentation/container_stats.go b/pkg/gui/presentation/container_stats.go
index e3a9b3dc..51606b9d 100644
--- a/pkg/gui/presentation/container_stats.go
+++ b/pkg/gui/presentation/container_stats.go
@@ -10,9 +10,9 @@ import (
"github.com/fatih/color"
"github.com/jesseduffield/asciigraph"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/mcuadros/go-lookup"
"github.com/samber/lo"
)
diff --git a/pkg/gui/presentation/containers.go b/pkg/gui/presentation/containers.go
index 173a1e8a..22b38508 100644
--- a/pkg/gui/presentation/containers.go
+++ b/pkg/gui/presentation/containers.go
@@ -8,9 +8,9 @@ import (
"github.com/docker/docker/api/types/container"
"github.com/fatih/color"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/samber/lo"
)
diff --git a/pkg/gui/presentation/images.go b/pkg/gui/presentation/images.go
index a420a85d..75363538 100644
--- a/pkg/gui/presentation/images.go
+++ b/pkg/gui/presentation/images.go
@@ -1,8 +1,8 @@
package presentation
import (
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
)
func GetImageDisplayStrings(image *commands.Image) []string {
diff --git a/pkg/gui/presentation/menu_items.go b/pkg/gui/presentation/menu_items.go
index 6febd261..4a2db095 100644
--- a/pkg/gui/presentation/menu_items.go
+++ b/pkg/gui/presentation/menu_items.go
@@ -1,6 +1,6 @@
package presentation
-import "github.com/jesseduffield/lazydocker/pkg/gui/types"
+import "github.com/christophe-duc/lazypodman/pkg/gui/types"
func GetMenuItemDisplayStrings(menuItem *types.MenuItem) []string {
return menuItem.LabelColumns
diff --git a/pkg/gui/presentation/networks.go b/pkg/gui/presentation/networks.go
index 88a29fc9..1472cc60 100644
--- a/pkg/gui/presentation/networks.go
+++ b/pkg/gui/presentation/networks.go
@@ -1,6 +1,6 @@
package presentation
-import "github.com/jesseduffield/lazydocker/pkg/commands"
+import "github.com/christophe-duc/lazypodman/pkg/commands"
func GetNetworkDisplayStrings(network *commands.Network) []string {
return []string{network.Network.Driver, network.Name}
diff --git a/pkg/gui/presentation/projects.go b/pkg/gui/presentation/projects.go
index 44d396c9..fc09f90e 100644
--- a/pkg/gui/presentation/projects.go
+++ b/pkg/gui/presentation/projects.go
@@ -1,6 +1,6 @@
package presentation
-import "github.com/jesseduffield/lazydocker/pkg/commands"
+import "github.com/christophe-duc/lazypodman/pkg/commands"
func GetProjectDisplayStrings(project *commands.Project) []string {
return []string{project.Name}
diff --git a/pkg/gui/presentation/services.go b/pkg/gui/presentation/services.go
index 7e781ec1..78641469 100644
--- a/pkg/gui/presentation/services.go
+++ b/pkg/gui/presentation/services.go
@@ -2,9 +2,9 @@ package presentation
import (
"github.com/fatih/color"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
)
func GetServiceDisplayStrings(guiConfig *config.GuiConfig, service *commands.Service) []string {
diff --git a/pkg/gui/presentation/volumes.go b/pkg/gui/presentation/volumes.go
index c6b90eb1..bcf5c3be 100644
--- a/pkg/gui/presentation/volumes.go
+++ b/pkg/gui/presentation/volumes.go
@@ -1,6 +1,6 @@
package presentation
-import "github.com/jesseduffield/lazydocker/pkg/commands"
+import "github.com/christophe-duc/lazypodman/pkg/commands"
func GetVolumeDisplayStrings(volume *commands.Volume) []string {
return []string{volume.Volume.Driver, volume.Name}
diff --git a/pkg/gui/project_panel.go b/pkg/gui/project_panel.go
index 32c5ad99..d9cba823 100644
--- a/pkg/gui/project_panel.go
+++ b/pkg/gui/project_panel.go
@@ -8,11 +8,11 @@ import (
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/gui/panels"
- "github.com/jesseduffield/lazydocker/pkg/gui/presentation"
- "github.com/jesseduffield/lazydocker/pkg/tasks"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/gui/panels"
+ "github.com/christophe-duc/lazypodman/pkg/gui/presentation"
+ "github.com/christophe-duc/lazypodman/pkg/tasks"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/jesseduffield/yaml"
)
@@ -101,13 +101,13 @@ func (gui *Gui) creditsStr() string {
return strings.Join(
[]string{
- lazydockerTitle(),
+ lazypodmanTitle(),
"Copyright (c) 2019 Jesse Duffield",
- "Keybindings: https://github.com/jesseduffield/lazydocker/blob/master/docs/keybindings",
- "Config Options: https://github.com/jesseduffield/lazydocker/blob/master/docs/Config.md",
- "Raise an Issue: https://github.com/jesseduffield/lazydocker/issues",
+ "Keybindings: https://github.com/christophe-duc/lazypodman/blob/master/docs/keybindings",
+ "Config Options: https://github.com/christophe-duc/lazypodman/blob/master/docs/Config.md",
+ "Raise an Issue: https://github.com/christophe-duc/lazypodman/issues",
utils.ColoredString("Buy Jesse a coffee: https://github.com/sponsors/jesseduffield", color.FgMagenta), // caffeine ain't free
- "Here's your lazydocker config when merged in with the defaults (you can open your config by pressing 'o'):",
+ "Here's your lazypodman config when merged in with the defaults (you can open your config by pressing 'o'):",
utils.ColoredYamlString(configBuf.String()),
}, "\n\n")
}
@@ -158,7 +158,7 @@ func (gui *Gui) handleEditConfig(g *gocui.Gui, v *gocui.View) error {
return gui.editFile(gui.Config.ConfigFilename())
}
-func lazydockerTitle() string {
+func lazypodmanTitle() string {
return `
_ _ _
| | | | | |
diff --git a/pkg/gui/services_panel.go b/pkg/gui/services_panel.go
index c9dd4d1d..ba8cf8f7 100644
--- a/pkg/gui/services_panel.go
+++ b/pkg/gui/services_panel.go
@@ -7,13 +7,13 @@ import (
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/gui/panels"
- "github.com/jesseduffield/lazydocker/pkg/gui/presentation"
- "github.com/jesseduffield/lazydocker/pkg/gui/types"
- "github.com/jesseduffield/lazydocker/pkg/tasks"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/gui/panels"
+ "github.com/christophe-duc/lazypodman/pkg/gui/presentation"
+ "github.com/christophe-duc/lazypodman/pkg/gui/types"
+ "github.com/christophe-duc/lazypodman/pkg/tasks"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/samber/lo"
)
diff --git a/pkg/gui/sort_container_test.go b/pkg/gui/sort_container_test.go
index a8af434c..58fc4f74 100644
--- a/pkg/gui/sort_container_test.go
+++ b/pkg/gui/sort_container_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"github.com/docker/docker/api/types/container"
- "github.com/jesseduffield/lazydocker/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
"github.com/stretchr/testify/assert"
)
diff --git a/pkg/gui/subprocess.go b/pkg/gui/subprocess.go
index b41ac475..b2c02e77 100644
--- a/pkg/gui/subprocess.go
+++ b/pkg/gui/subprocess.go
@@ -9,7 +9,7 @@ import (
"strings"
"github.com/fatih/color"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
)
func (gui *Gui) runSubprocess(cmd *exec.Cmd) error {
diff --git a/pkg/gui/tasks_adapter.go b/pkg/gui/tasks_adapter.go
index f85e4723..5826a5ad 100644
--- a/pkg/gui/tasks_adapter.go
+++ b/pkg/gui/tasks_adapter.go
@@ -4,7 +4,7 @@ import (
"context"
"time"
- "github.com/jesseduffield/lazydocker/pkg/tasks"
+ "github.com/christophe-duc/lazypodman/pkg/tasks"
)
func (gui *Gui) QueueTask(f func(ctx context.Context)) error {
diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go
index 6acbb18c..5024e4ec 100644
--- a/pkg/gui/view_helpers.go
+++ b/pkg/gui/view_helpers.go
@@ -6,8 +6,8 @@ import (
"strings"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazydocker/pkg/gui/panels"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/gui/panels"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/samber/lo"
"github.com/spkg/bom"
)
diff --git a/pkg/gui/volumes_panel.go b/pkg/gui/volumes_panel.go
index 96085949..01988ca1 100644
--- a/pkg/gui/volumes_panel.go
+++ b/pkg/gui/volumes_panel.go
@@ -5,13 +5,13 @@ import (
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
- "github.com/jesseduffield/lazydocker/pkg/commands"
- "github.com/jesseduffield/lazydocker/pkg/config"
- "github.com/jesseduffield/lazydocker/pkg/gui/panels"
- "github.com/jesseduffield/lazydocker/pkg/gui/presentation"
- "github.com/jesseduffield/lazydocker/pkg/gui/types"
- "github.com/jesseduffield/lazydocker/pkg/tasks"
- "github.com/jesseduffield/lazydocker/pkg/utils"
+ "github.com/christophe-duc/lazypodman/pkg/commands"
+ "github.com/christophe-duc/lazypodman/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/gui/panels"
+ "github.com/christophe-duc/lazypodman/pkg/gui/presentation"
+ "github.com/christophe-duc/lazypodman/pkg/gui/types"
+ "github.com/christophe-duc/lazypodman/pkg/tasks"
+ "github.com/christophe-duc/lazypodman/pkg/utils"
"github.com/samber/lo"
)
diff --git a/pkg/gui/window.go b/pkg/gui/window.go
index d58d132f..23026000 100644
--- a/pkg/gui/window.go
+++ b/pkg/gui/window.go
@@ -1,7 +1,7 @@
package gui
// func (gui *Gui) currentWindow() string {
-// // at the moment, we only have one view per window in lazydocker, so we
+// // at the moment, we only have one view per window in lazypodman, so we
// // are using the view name as the window name
// return gui.currentViewName()
// }
diff --git a/pkg/i18n/chinese.go b/pkg/i18n/chinese.go
index aa125f0b..3cbd6d63 100644
--- a/pkg/i18n/chinese.go
+++ b/pkg/i18n/chinese.go
@@ -16,12 +16,12 @@ func chineseSet() TranslationSet {
NoViewMachingNewLineFocusedSwitchStatement: "没有匹配 newLineFocused switch 语句的视图",
- ErrorOccurred: "发生错误!请在 https://github.com/jesseduffield/lazydocker/issues 上创建一个问题",
+ ErrorOccurred: "发生错误!请在 https://github.com/christophe-duc/lazypodman/issues 上创建一个问题",
ConnectionFailed: "无法连接到 Docker 客户端。您可能需要重新启动 Docker 客户端",
UnattachableContainerError: "容器不支持 attaching。您必须使用“-it”标志运行服务,或者在docker-compose.yml文件中使用`stdin_open: true,tty: true`",
WaitingForContainerInfo: "在 Docker 给我们更多关于容器的信息之前,无法继续。请几分钟后重试。",
CannotAttachStoppedContainerError: "您不能 attach 到已停止的容器,您需要先启动它(您可以用 'r' 键来执行此操作)(是的,我懒得为您自动执行此操作)(很酷的是,我可以通过错误消息与您进行一对一的通讯)",
- CannotAccessDockerSocketError: "无法访问 Docker 套接字:unix:///var/run/docker.sock\n请以 root 用户身份运行 lazydocker 或阅读https://docs.docker.com/install/linux/linux-postinstall/",
+ CannotAccessDockerSocketError: "无法访问 Docker 套接字:unix:///var/run/docker.sock\n请以 root 用户身份运行 lazypodman 或阅读https://docs.docker.com/install/linux/linux-postinstall/",
CannotKillChildError: "等待三秒钟以停止子进程。可能有一个孤儿进程在您的系统上继续运行。",
Donate: "捐赠",
@@ -37,8 +37,8 @@ func chineseSet() TranslationSet {
Menu: "菜单",
MenuTitle: "菜单",
Scroll: "滚动",
- OpenConfig: "打开lazydocker配置",
- EditConfig: "编辑lazydocker配置",
+ OpenConfig: "打开lazypodman配置",
+ EditConfig: "编辑lazypodman配置",
Cancel: "取消",
Remove: "移除",
HideStopped: "隐藏/显示已停止的容器",
@@ -124,7 +124,7 @@ func chineseSet() TranslationSet {
ConfirmPruneNetworks: "您确定要删除所有未使用的网络吗?",
StopService: "您确定要停止此服务的容器吗?",
StopContainer: "您确定要停止此容器吗?",
- PressEnterToReturn: "按 enter 返回 lazydocker(您可以在配置文件中设置 `gui.returnImmediately: true` 来禁用此提示)",
+ PressEnterToReturn: "按 enter 返回 lazypodman(您可以在配置文件中设置 `gui.returnImmediately: true` 来禁用此提示)",
No: "否",
Yes: "是",
diff --git a/pkg/i18n/dutch.go b/pkg/i18n/dutch.go
index 8a8601c2..33409bcb 100644
--- a/pkg/i18n/dutch.go
+++ b/pkg/i18n/dutch.go
@@ -10,11 +10,11 @@ func dutchSet() TranslationSet {
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
- ErrorOccurred: "Er is iets fout gegaan! Zou je hier een issue aan willen maken: https://github.com/jesseduffield/lazydocker/issues",
+ ErrorOccurred: "Er is iets fout gegaan! Zou je hier een issue aan willen maken: https://github.com/christophe-duc/lazypodman/issues",
ConnectionFailed: "connectie naar de docker client mislukt. Het zou kunnen dat je de docker client moet herstarten",
UnattachableContainerError: "Container heeft geen ondersteuning voor vastmaken. Je zou de service met het '-it' argument kunnen draaien of stop dit in je `stdin_open: true, tty: true` docker-compose.yml",
CannotAttachStoppedContainerError: "Je kan niet een vastgemaakte container stoppen, je moet het eerst starten (dit kan je doen met de 'r' toets) (ja ik ben te leu om dat voor je te doen automatisch)",
- CannotAccessDockerSocketError: "Kan de docker socket niet bereiken: unix:///var/run/docker.sock\nDraai lazydocker als root of lees https://docs.docker.com/install/linux/linux-postinstall/",
+ CannotAccessDockerSocketError: "Kan de docker socket niet bereiken: unix:///var/run/docker.sock\nDraai lazypodman als root of lees https://docs.docker.com/install/linux/linux-postinstall/",
Donate: "Doneer",
Confirm: "Bevestigen",
@@ -27,8 +27,8 @@ func dutchSet() TranslationSet {
Menu: "menu",
MenuTitle: "Menu",
Scroll: "scroll",
- OpenConfig: "open de lazydocker configuratie",
- EditConfig: "verander de lazydocker configuratie",
+ OpenConfig: "open de lazypodman configuratie",
+ EditConfig: "verander de lazypodman configuratie",
Cancel: "annuleren",
Remove: "verwijder",
HideStopped: "verberg gestopte containers",
@@ -92,7 +92,7 @@ func dutchSet() TranslationSet {
ConfirmPruneNetworks: "Weet je zeker dat je alle niet gebruikte networks wil vernietigen?",
StopService: "Weet je zeker dat je deze service zijn containers wil stoppen?",
StopContainer: "Weet je zeker dat je deze container wil stoppen?",
- PressEnterToReturn: "Druk op enter om terug te gaan naar lazydocker (Deze popup kan uit gezet worden door in de config dit neer te zetten `gui.returnImmediately: true`)",
+ PressEnterToReturn: "Druk op enter om terug te gaan naar lazypodman (Deze popup kan uit gezet worden door in de config dit neer te zetten `gui.returnImmediately: true`)",
DetachFromContainerShortCut: "Als u wilt loskoppelen van de container, drukt u standaard op ctrl-p en vervolgens op ctrl-q",
}
}
diff --git a/pkg/i18n/english.go b/pkg/i18n/english.go
index d1ed0320..bd1c2fec 100644
--- a/pkg/i18n/english.go
+++ b/pkg/i18n/english.go
@@ -153,12 +153,12 @@ func englishSet() TranslationSet {
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
- ErrorOccurred: "An error occurred! Please create an issue at https://github.com/jesseduffield/lazydocker/issues",
+ ErrorOccurred: "An error occurred! Please create an issue at https://github.com/christophe-duc/lazypodman/issues",
ConnectionFailed: "connection to docker client failed. You may need to restart the docker client",
UnattachableContainerError: "Container does not support attaching. You must either run the service with the '-it' flag or use `stdin_open: true, tty: true` in the docker-compose.yml file",
WaitingForContainerInfo: "Cannot proceed until docker gives us more information about the container. Please retry in a few moments.",
CannotAttachStoppedContainerError: "You cannot attach to a stopped container, you need to start it first (which you can actually do with the 'r' key) (yes I'm too lazy to do this automatically for you) (pretty cool that I get to communicate one-on-one with you in the form of an error message though)",
- CannotAccessDockerSocketError: "Can't access docker socket at: unix:///var/run/docker.sock\nRun lazydocker as root or read https://docs.docker.com/install/linux/linux-postinstall/",
+ CannotAccessDockerSocketError: "Can't access docker socket at: unix:///var/run/docker.sock\nRun lazypodman as root or read https://docs.docker.com/install/linux/linux-postinstall/",
CannotKillChildError: "Waited three seconds for child process to stop. There may be an orphan process that continues to run on your system.",
Donate: "Donate",
@@ -174,8 +174,8 @@ func englishSet() TranslationSet {
Menu: "menu",
MenuTitle: "Menu",
Scroll: "scroll",
- OpenConfig: "open lazydocker config",
- EditConfig: "edit lazydocker config",
+ OpenConfig: "open lazypodman config",
+ EditConfig: "edit lazypodman config",
Cancel: "cancel",
Remove: "remove",
HideStopped: "hide/show stopped containers",
@@ -261,7 +261,7 @@ func englishSet() TranslationSet {
ConfirmPruneNetworks: "Are you sure you want to prune all unused networks?",
StopService: "Are you sure you want to stop this service's containers?",
StopContainer: "Are you sure you want to stop this container?",
- PressEnterToReturn: "Press enter to return to lazydocker (this prompt can be disabled in your config by setting `gui.returnImmediately: true`)",
+ PressEnterToReturn: "Press enter to return to lazypodman (this prompt can be disabled in your config by setting `gui.returnImmediately: true`)",
DetachFromContainerShortCut: "By default, to detach from the container press ctrl-p then ctrl-q",
No: "no",
diff --git a/pkg/i18n/french.go b/pkg/i18n/french.go
index 29ab5be2..68499e31 100644
--- a/pkg/i18n/french.go
+++ b/pkg/i18n/french.go
@@ -13,13 +13,13 @@ func frenchSet() TranslationSet {
NoViewMachingNewLineFocusedSwitchStatement: "Aucune vue correspondant au switch newLineFocused",
- ErrorOccurred: "Une erreur s'est produite ! Veuillez créer un rapport d'erreur sur https://github.com/jesseduffield/lazydocker/issues",
+ ErrorOccurred: "Une erreur s'est produite ! Veuillez créer un rapport d'erreur sur https://github.com/christophe-duc/lazypodman/issues",
ConnectionFailed: "Erreur lors de la connexion au client Docker. Essayez de redémarrer votre client Docker",
UnattachableContainerError: "Le conteneur ne peut pas être attaché. Vous devez exécuter le service avec le drapeau 'it' ou bien utiliser `stdin_open: true, tty: true` dans votre fichier docker-compose.yml",
WaitingForContainerInfo: "Le processus ne peut pas continuer avant que Docker ne fournisse plus d'informations. Veuillez réessayer dans quelques instants.",
CannotAttachStoppedContainerError: "Vous ne pouvez pas vous attacher à un conteneur arrêté, vous devez le démarrer en amont (ce que vous pouvez faire avec la touche 'r') (oui, je suis trop paresseux pour le faire automatiquement pour vous) (plutôt cool que je puisse communiquer en tête-à-tête avec vous au travers d'un message d'erreur, cependant)",
- CannotAccessDockerSocketError: "Impossible d'accéder au socket Docker à : unix:///var/run/docker.sock\nLancez lazydocker en tant que root ou alors lisez https://docs.docker.com/install/linux/linux-postinstall/",
+ CannotAccessDockerSocketError: "Impossible d'accéder au socket Docker à : unix:///var/run/docker.sock\nLancez lazypodman en tant que root ou alors lisez https://docs.docker.com/install/linux/linux-postinstall/",
CannotKillChildError: "Trois secondes se sont écoulées depuis la demande d'arrêt des processus enfants. Il se peut qu'un processus orphelin continue à tourner sur votre système.",
Donate: "Donner",
@@ -33,8 +33,8 @@ func frenchSet() TranslationSet {
Menu: "menu",
MenuTitle: "Menu",
Scroll: "faire défiler",
- OpenConfig: "ouvrir la configuration lazydocker",
- EditConfig: "modifier la configuration lazydocker",
+ OpenConfig: "ouvrir la configuration lazypodman",
+ EditConfig: "modifier la configuration lazypodman",
Cancel: "annuler",
Remove: "supprimer",
HideStopped: "cacher/montrer les conteneurs arrêtés",
@@ -111,7 +111,7 @@ func frenchSet() TranslationSet {
ConfirmPruneNetworks: "Êtes-vous certain de vouloir détruire tous les réseaux non utilisés ?",
StopService: "Êtes-vous certain de vouloir arrêter le conteneur de ce service ?",
StopContainer: "Êtes-vous certain de vouloir arrêter ce conteneur ?",
- PressEnterToReturn: "Appuyez sur Entrée pour revenir à lazydocker (ce message peut être désactivé dans vos configurations en appliquant `gui.returnImmediately: true`)",
+ PressEnterToReturn: "Appuyez sur Entrée pour revenir à lazypodman (ce message peut être désactivé dans vos configurations en appliquant `gui.returnImmediately: true`)",
DetachFromContainerShortCut: "Par défaut, pour se détacher du conteneur appuyez sur CTRL-P puis CTRL-Q",
No: "non",
diff --git a/pkg/i18n/german.go b/pkg/i18n/german.go
index ac23d6b1..9cdc4239 100644
--- a/pkg/i18n/german.go
+++ b/pkg/i18n/german.go
@@ -10,11 +10,11 @@ func germanSet() TranslationSet {
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
- ErrorOccurred: "Es ist ein Fehler aufgetreten! Bitte erstelle ein Issue hier: https://github.com/jesseduffield/lazydocker/issues",
+ ErrorOccurred: "Es ist ein Fehler aufgetreten! Bitte erstelle ein Issue hier: https://github.com/christophe-duc/lazypodman/issues",
ConnectionFailed: "Verbindung zum Docker Client fehlgeschlagen. Du musst ggf. den Docker Client neustarten.",
UnattachableContainerError: "Der Container bietet keine Unterstützung für das Anbinden. Du musst den Dienst entweder mit der '-it' Flagge benutzen oder `stdin_open: true, tty: true` in der docker-compose.yml Datei setzen.",
CannotAttachStoppedContainerError: "Du kannst keinen angehaltenen Container anbinden. Du musst ihn erst starten (was du tun kannst, indem du 'r' drückst), (ja, ich bin zu faul um das zu automatisieren) (aber ist schon cool, dass ich so eine Konversation durch eine Fehlermeldung mit dir führen kann)",
- CannotAccessDockerSocketError: "Kann nicht auf den Socket zugreifen: unix:///var/run/docker.sock\nFühre lazydocker als root aus oder lese https://docs.docker.com/install/linux/linux-postinstall/",
+ CannotAccessDockerSocketError: "Kann nicht auf den Socket zugreifen: unix:///var/run/docker.sock\nFühre lazypodman als root aus oder lese https://docs.docker.com/install/linux/linux-postinstall/",
Donate: "Spenden",
Confirm: "Bestätigen",
@@ -27,8 +27,8 @@ func germanSet() TranslationSet {
Menu: "menü",
MenuTitle: "Menü",
Scroll: "scrollen",
- OpenConfig: "öffne lazydocker Konfiguration",
- EditConfig: "bearbeite lazydocker Konfiguration",
+ OpenConfig: "öffne lazypodman Konfiguration",
+ EditConfig: "bearbeite lazypodman Konfiguration",
Cancel: "abbrechen",
Remove: "entfernen",
ForceRemove: "Entfernen erzwingen",
@@ -91,7 +91,7 @@ func germanSet() TranslationSet {
ConfirmPruneNetworks: "Bist du dir sicher, dass du alle unbenutzen Netzwerk entfernen möchtest?",
StopService: "Bist du dir sicher, dass du den Dienst dieses Containers anhalten möchtest?",
StopContainer: "Bist du dir sicher, dass du den Container anhalten möchtest?",
- PressEnterToReturn: "Drücke Eingabe um zu lazydocker zurückzukehren. (Diese Nachfrage kann in Deiner Konfiguration deaktiviert werden, indem du folgenden Wert setzt: `gui.returnImmediately: true`)",
+ PressEnterToReturn: "Drücke Eingabe um zu lazypodman zurückzukehren. (Diese Nachfrage kann in Deiner Konfiguration deaktiviert werden, indem du folgenden Wert setzt: `gui.returnImmediately: true`)",
DetachFromContainerShortCut: "Um sich vom Container zu trennen, drücken Sie standardmäßig ctrl-p und dann ctrl-q",
}
}
diff --git a/pkg/i18n/polish.go b/pkg/i18n/polish.go
index 1025bf47..6073f0e6 100644
--- a/pkg/i18n/polish.go
+++ b/pkg/i18n/polish.go
@@ -10,7 +10,7 @@ func polishSet() TranslationSet {
NoViewMachingNewLineFocusedSwitchStatement: "Żaden widok nie odpowiada instrukcji przełączenia newLineFocused",
- ErrorOccurred: "Wystąpił błąd! Proszę go zgłosić na https://github.com/jesseduffield/lazydocker/issues",
+ ErrorOccurred: "Wystąpił błąd! Proszę go zgłosić na https://github.com/christophe-duc/lazypodman/issues",
ConnectionFailed: "Błąd połączenia z Dockerem. Być może należy go zrestartować.",
UnattachableContainerError: "Kontener nie obsługuje przyczepiania (attach). Musisz albo użyć flag '-it', albo `stdin_open: true, tty: true` w pliku docker-compose.yml.",
CannotAttachStoppedContainerError: "Nie można przyczepić się do zatrzymanego kontenera, należy go najpierw uruchomić (co można wykonać wciskając przycisk 'r')",
@@ -91,7 +91,7 @@ func polishSet() TranslationSet {
ConfirmPruneNetworks: "Na pewno wyczyścić wszystkie nieużywane sieci?",
StopService: "Na pewno zatrzymać kontenery tego serwisu?",
StopContainer: "Na pewno zatrzymać ten kontener?",
- PressEnterToReturn: "Wciśnij enter aby powrócić do lazydockera (ten komunikat może być wyłączony w konfiguracji poprzez ustawienie `gui.returnImmediately: true`)",
+ PressEnterToReturn: "Wciśnij enter aby powrócić do lazypodmana (ten komunikat może być wyłączony w konfiguracji poprzez ustawienie `gui.returnImmediately: true`)",
DetachFromContainerShortCut: "Domyślnie, aby odłączyć się od kontenera, naciśnij ctrl-p, a następnie ctrl-q",
}
}
diff --git a/pkg/i18n/portuguese.go b/pkg/i18n/portuguese.go
index 36d9bcfd..3da74eb1 100644
--- a/pkg/i18n/portuguese.go
+++ b/pkg/i18n/portuguese.go
@@ -16,12 +16,12 @@ func portugueseSet() TranslationSet {
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
- ErrorOccurred: "Um erro ocorreu! Por favor, crie uma issue em https://github.com/jesseduffield/lazydocker/issues",
+ ErrorOccurred: "Um erro ocorreu! Por favor, crie uma issue em https://github.com/christophe-duc/lazypodman/issues",
ConnectionFailed: "Falha na conexão com o cliente Docker. Você pode precisar reiniciar o seu cliente Docker",
UnattachableContainerError: "O contêiner não suporta anexação. Você deve executar o serviço com a flag '-it' ou usar `stdin_open: true, tty: true` no arquivo docker-compose.yml",
WaitingForContainerInfo: "Não é possível prosseguir até que o Docker forneça mais informações sobre o contêiner. Por favor, tente novamente em alguns momentos.",
CannotAttachStoppedContainerError: "Você não pode anexar a um contêiner parado, você precisa iniciá-lo primeiro (o que você pode fazer com a tecla 'r') (sim, sou preguiçoso demais para fazer isso automaticamente para você) (aliás, bem legal que eu posso me comunicar diretamente com você na forma de uma mensagem de erro)",
- CannotAccessDockerSocketError: "Não é possível acessar o sôquete docker em: unix:///var/run/docker.sock\nExecute o lazydocker como root ou leia https://docs.docker.com/install/linux/linux-postinstall/",
+ CannotAccessDockerSocketError: "Não é possível acessar o sôquete docker em: unix:///var/run/docker.sock\nExecute o lazypodman como root ou leia https://docs.docker.com/install/linux/linux-postinstall/",
CannotKillChildError: "Três segundos foram esperarados para que os processos filhos parassem. Pode haver um processo órfão que continua em execução em seu sistema.",
Donate: "Doar",
@@ -37,8 +37,8 @@ func portugueseSet() TranslationSet {
Menu: "menu",
MenuTitle: "Menu",
Scroll: "rolar",
- OpenConfig: "abrir configuração do lazydocker",
- EditConfig: "editar configuração do lazydocker",
+ OpenConfig: "abrir configuração do lazypodman",
+ EditConfig: "editar configuração do lazypodman",
Cancel: "cancelar",
Remove: "remover",
HideStopped: "ocultar/mostrar contêineres parados",
@@ -124,7 +124,7 @@ func portugueseSet() TranslationSet {
ConfirmPruneNetworks: "Tem certeza que deseja destruir todas as redes não utilizadas?",
StopService: "Tem certeza que deseja parar os contêineres deste serviço?",
StopContainer: "Tem certeza que deseja parar este contêiner?",
- PressEnterToReturn: "Pressione enter para retornar ao lazydocker (este prompt pode ser desativado em sua configuração definindo `gui.returnImmediately: true`)",
+ PressEnterToReturn: "Pressione enter para retornar ao lazypodman (este prompt pode ser desativado em sua configuração definindo `gui.returnImmediately: true`)",
DetachFromContainerShortCut: "Por padrão, para desanexar do contêiner, pressione ctrl-p e depois ctrl-q",
No: "não",
diff --git a/pkg/i18n/spanish.go b/pkg/i18n/spanish.go
index b9148c3a..4269ccfc 100644
--- a/pkg/i18n/spanish.go
+++ b/pkg/i18n/spanish.go
@@ -14,11 +14,11 @@ func spanishSet() TranslationSet {
RunningCustomCommandStatus: "ejecutando comando personalizado",
RunningBulkCommandStatus: "ejecutando comando masivo",
- ErrorOccurred: "¡Hubo un error! Por favor crea un issue en https://github.com/jesseduffield/lazydocker/issues",
+ ErrorOccurred: "¡Hubo un error! Por favor crea un issue en https://github.com/christophe-duc/lazypodman/issues",
ConnectionFailed: "Falló la conexión con el docker client. Quizá necesitas reiniciar tu docker client",
UnattachableContainerError: "Container does not support attaching. You must either run the service with the '-it' flag or use `stdin_open: true, tty: true` in the docker-compose.yml file",
WaitingForContainerInfo: "No podemos proceder hasta que docker nos de más información sobre el contenedor. Inténtalo otra vez en unos segundos.",
- CannotAccessDockerSocketError: "No es posible acceder al docker socket en: unix:///var/run/docker.sock\nEjecuta lazydocker como root o lee https://docs.docker.com/install/linux/linux-postinstall/",
+ CannotAccessDockerSocketError: "No es posible acceder al docker socket en: unix:///var/run/docker.sock\nEjecuta lazypodman como root o lee https://docs.docker.com/install/linux/linux-postinstall/",
CannotKillChildError: "Esperamos tres segundos a que el proceso hijo se detenga. Debe de haber un proceso huérfano que continua activo en tu sistema.",
Donate: "Donar",
@@ -33,8 +33,8 @@ func spanishSet() TranslationSet {
Quit: "salir",
Menu: "menú",
MenuTitle: "Menú",
- OpenConfig: "abrir configuración de lazydocker",
- EditConfig: "editar configuración de lazydocker",
+ OpenConfig: "abrir configuración de lazypodman",
+ EditConfig: "editar configuración de lazypodman",
Cancel: "cancelar",
Remove: "borrar",
HideStopped: "esconder/mostrar contenedores parados",
@@ -119,7 +119,7 @@ func spanishSet() TranslationSet {
ConfirmPruneNetworks: "¿Realmente quieres limpiar todas las redes sin usar?",
StopService: "¿Realmente quieres detener los contenedores de este servicio?",
StopContainer: "¿Realmente quieres detener este contenedor?",
- PressEnterToReturn: "Presionar [enter] para volver a lazydocker (este mensaje puede ser desactivado en tu configuración poniendo `gui.returnImmediately: true`)",
+ PressEnterToReturn: "Presionar [enter] para volver a lazypodman (este mensaje puede ser desactivado en tu configuración poniendo `gui.returnImmediately: true`)",
No: "no",
Yes: "sí",
diff --git a/pkg/i18n/turkish.go b/pkg/i18n/turkish.go
index fccb3d91..49665c1e 100644
--- a/pkg/i18n/turkish.go
+++ b/pkg/i18n/turkish.go
@@ -10,11 +10,11 @@ func turkishSet() TranslationSet {
NoViewMachingNewLineFocusedSwitchStatement: "NewLineFocused anahtar deyimi ile eşleşen görünüm yok",
- ErrorOccurred: "Bir hata oluştu! Lütfen https://github.com/jesseduffield/lazydocker/issues adresinden bir hataya ilişkin konu oluşturun",
+ ErrorOccurred: "Bir hata oluştu! Lütfen https://github.com/christophe-duc/lazypodman/issues adresinden bir hataya ilişkin konu oluşturun",
ConnectionFailed: "Docker bağlantısı başarısız oldu. Docker' ı yeniden başlatmanız gerekebilir",
UnattachableContainerError: "Konteyner attaching modunda çalışmayı desteklemiyor. Hizmeti '-it' opsiyonu ile çalıştırmanız veya docker-compose.yml dosyasında `stdin_open: true, tty: true` kullanmanız gerekir.",
CannotAttachStoppedContainerError: "Durdurulan konteynera bağlanamazsınız, ilk önce başlatmanız gerekir (aslında başlatmayı r tuşu ile yapabilirsiniz) (evet, senin için bunu otomatik olarak yapabilirim fakat çok tembelim) (hata mesajı ile seninle birebir iletişim kurmam çok daha güzel)",
- CannotAccessDockerSocketError: "Docker' a şu adresten erişilemiyor : unix:///var/run/docker.sock\n lazydocker' ı root(kök kullanıcı) olarak çalıştır veya şu adresteki adımları takip et : https://docs.docker.com/install/linux/linux-postinstall/",
+ CannotAccessDockerSocketError: "Docker' a şu adresten erişilemiyor : unix:///var/run/docker.sock\n lazypodman' ı root(kök kullanıcı) olarak çalıştır veya şu adresteki adımları takip et : https://docs.docker.com/install/linux/linux-postinstall/",
Donate: "Bağış",
Confirm: "Onayla",
@@ -27,7 +27,7 @@ func turkishSet() TranslationSet {
Menu: "menü",
MenuTitle: "Menü",
Scroll: "kaydır",
- OpenConfig: "lazydocker ayarlarını aç",
+ OpenConfig: "lazypodman ayarlarını aç",
EditConfig: "lazzydocker ayarlarını düzenle",
Cancel: "iptal",
Remove: "kaldır",
@@ -91,7 +91,7 @@ func turkishSet() TranslationSet {
ConfirmPruneNetworks: "Kullanılmayan tüm ağları temizlemek istediğinizden emin misiniz?",
StopService: "Bu servisin konteynerlerini durdurmak istediğinize emin misiniz?",
StopContainer: "Bu konteyneri durdurmak istediğinize emin misiniz?",
- PressEnterToReturn: "lazydocker' a geri dönmek için enter tuşuna basın ( Bu uyarı, `gui.return Immediately: true` ayarıyla devre dışı bırakılabilir)",
+ PressEnterToReturn: "lazypodman' a geri dönmek için enter tuşuna basın ( Bu uyarı, `gui.return Immediately: true` ayarıyla devre dışı bırakılabilir)",
DetachFromContainerShortCut: "Varsayılan olarak, kaptan ayırmak için ctrl-p ve ardından ctrl-q tuşlarına basın",
}
}
diff --git a/pkg/log/log.go b/pkg/log/log.go
index 232a7bb8..34fe23d9 100644
--- a/pkg/log/log.go
+++ b/pkg/log/log.go
@@ -6,7 +6,7 @@ import (
"os"
"path/filepath"
- "github.com/jesseduffield/lazydocker/pkg/config"
+ "github.com/christophe-duc/lazypodman/pkg/config"
"github.com/sirupsen/logrus"
)
diff --git a/pkg/tasks/tasks.go b/pkg/tasks/tasks.go
index 06fac38f..f79a69ed 100644
--- a/pkg/tasks/tasks.go
+++ b/pkg/tasks/tasks.go
@@ -5,7 +5,7 @@ import (
"fmt"
"time"
- "github.com/jesseduffield/lazydocker/pkg/i18n"
+ "github.com/christophe-duc/lazypodman/pkg/i18n"
"github.com/sasha-s/go-deadlock"
"github.com/sirupsen/logrus"
)
diff --git a/scripts/cheatsheet/main.go b/scripts/cheatsheet/main.go
index 53f72eda..973d254d 100644
--- a/scripts/cheatsheet/main.go
+++ b/scripts/cheatsheet/main.go
@@ -5,7 +5,7 @@ import (
"log"
"os"
- "github.com/jesseduffield/lazydocker/pkg/cheatsheet"
+ "github.com/christophe-duc/lazypodman/pkg/cheatsheet"
)
func main() {
diff --git a/scripts/install_update_linux.sh b/scripts/install_update_linux.sh
index 33003c02..29be15ce 100755
--- a/scripts/install_update_linux.sh
+++ b/scripts/install_update_linux.sh
@@ -13,12 +13,12 @@ case $ARCH in
esac
# prepare the download URL
-GITHUB_LATEST_VERSION=$(curl -L -s -H 'Accept: application/json' https://github.com/jesseduffield/lazydocker/releases/latest | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')
-GITHUB_FILE="lazydocker_${GITHUB_LATEST_VERSION//v/}_$(uname -s)_${ARCH}.tar.gz"
-GITHUB_URL="https://github.com/jesseduffield/lazydocker/releases/download/${GITHUB_LATEST_VERSION}/${GITHUB_FILE}"
+GITHUB_LATEST_VERSION=$(curl -L -s -H 'Accept: application/json' https://github.com/christophe-duc/lazypodman/releases/latest | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/')
+GITHUB_FILE="lazypodman_${GITHUB_LATEST_VERSION//v/}_$(uname -s)_${ARCH}.tar.gz"
+GITHUB_URL="https://github.com/christophe-duc/lazypodman/releases/download/${GITHUB_LATEST_VERSION}/${GITHUB_FILE}"
# install/update the local binary
-curl -L -o lazydocker.tar.gz $GITHUB_URL
-tar xzvf lazydocker.tar.gz lazydocker
-install -Dm 755 lazydocker -t "$DIR"
-rm lazydocker lazydocker.tar.gz
+curl -L -o lazypodman.tar.gz $GITHUB_URL
+tar xzvf lazypodman.tar.gz lazypodman
+install -Dm 755 lazypodman -t "$DIR"
+rm lazypodman lazypodman.tar.gz
diff --git a/scripts/translations/get_required_translations.go b/scripts/translations/get_required_translations.go
index 9e0dd400..f7015fac 100644
--- a/scripts/translations/get_required_translations.go
+++ b/scripts/translations/get_required_translations.go
@@ -4,7 +4,7 @@ import (
"fmt"
"reflect"
- "github.com/jesseduffield/lazydocker/pkg/i18n"
+ "github.com/christophe-duc/lazypodman/pkg/i18n"
)
func main() {