Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename org dagu-dev to daguflow #632

Merged
merged 2 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ changelog:
- "^docs:"
- "^test:"
brews:
# DEPRECATED: prefer using dagu-dev/dagu for brew formula
# DEPRECATED: prefer using daguflow/dagu for brew formula
- repository:
owner: yohamta
name: homebrew-tap
directory: Formula
homepage: "https://github.com/dagu-dev/dagu"
homepage: "https://github.com/daguflow/dagu"
description: "A No-code workflow executor that runs DAGs defined in a simple YAML format"
license: "GNU General Public License v3.0"
custom_block: |
Expand All @@ -46,10 +46,10 @@ brews:
working_dir var
end
- repository:
owner: dagu-dev
owner: daguflow
name: homebrew-brew
directory: Formula
homepage: "https://github.com/dagu-dev/dagu"
homepage: "https://github.com/daguflow/dagu"
description: "A No-code workflow executor that runs DAGs defined in a simple YAML format"
license: "GNU General Public License v3.0"
custom_block: |
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ ifeq ($(VERSION),)
$(error "VERSION is not set")
endif
echo "${COLOR_GREEN}Building the docker image with the version $(VERSION)...${COLOR_RESET}"
$(DOCKER_CMD) -t ghcr.io/dagu-dev/${APP_NAME}:$(VERSION) .
$(DOCKER_CMD) -t ghcr.io/daguflow/${APP_NAME}:$(VERSION) .

# build-image-latest build the docker image with the latest tag and push to
# the registry.
build-image-latest:
@echo "${COLOR_GREEN}Building the docker image...${COLOR_RESET}"
$(DOCKER_CMD) -t ghcr.io/dagu-dev/${APP_NAME}:latest .
$(DOCKER_CMD) -t ghcr.io/daguflow/${APP_NAME}:latest .

gomerger: ${LOCAL_DIR}/merged
@echo "${COLOR_GREEN}Merging Go files...${COLOR_RESET}"
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
</p>

<p align="center">
<a href="https://goreportcard.com/report/github.com/dagu-dev/dagu">
<img src="https://goreportcard.com/badge/github.com/dagu-dev/dagu" />
<a href="https://goreportcard.com/report/github.com/daguflow/dagu">
<img src="https://goreportcard.com/badge/github.com/daguflow/dagu" />
</a>
<a href="https://codecov.io/gh/dagu-dev/dagu">
<img src="https://codecov.io/gh/dagu-dev/dagu/branch/main/graph/badge.svg?token=CODZQP61J2" />
<a href="https://codecov.io/gh/daguflow/dagu">
<img src="https://codecov.io/gh/daguflow/dagu/branch/main/graph/badge.svg?token=CODZQP61J2" />
</a>
<a href="https://github.com/dagu-dev/dagu/releases">
<img src="https://img.shields.io/github/release/dagu-dev/dagu.svg" />
<a href="https://github.com/daguflow/dagu/releases">
<img src="https://img.shields.io/github/release/daguflow/dagu.svg" />
</a>
<a href="https://godoc.org/github.com/dagu-dev/dagu">
<img src="https://godoc.org/github.com/dagu-dev/dagu?status.svg" />
<a href="https://godoc.org/github.com/daguflow/dagu">
<img src="https://godoc.org/github.com/daguflow/dagu?status.svg" />
</a>
<img src="https://github.com/dagu-dev/dagu/actions/workflows/ci.yaml/badge.svg" />
<img src="https://github.com/daguflow/dagu/actions/workflows/ci.yaml/badge.svg" />
</p>

<div align="center">
Expand Down Expand Up @@ -151,23 +151,23 @@ You can install Dagu quickly using Homebrew or by downloading the latest binary
### Via Bash script

```sh
curl -L https://raw.githubusercontent.com/dagu-dev/dagu/main/scripts/installer.sh | bash
curl -L https://raw.githubusercontent.com/daguflow/dagu/main/scripts/installer.sh | bash
```

### Via GitHub Releases Page

Download the latest binary from the [Releases page](https://github.com/dagu-dev/dagu/releases) and place it in your `$PATH` (e.g. `/usr/local/bin`).
Download the latest binary from the [Releases page](https://github.com/daguflow/dagu/releases) and place it in your `$PATH` (e.g. `/usr/local/bin`).

### Via Homebrew (macOS)

```sh
brew install dagu-dev/brew/dagu
brew install daguflow/brew/dagu
```

Upgrade to the latest version:

```sh
brew upgrade dagu-dev/brew/dagu
brew upgrade daguflow/brew/dagu
```

### Via Docker
Expand All @@ -178,7 +178,7 @@ docker run \
-p 8080:8080 \
-v $HOME/.config/dagu/dags:/home/dagu/.config/dagu/dags \
-v $HOME/.local/share/dagu:/home/dagu/.local/share/dagu \
ghcr.io/dagu-dev/dagu:latest dagu start-all
ghcr.io/daguflow/dagu:latest dagu start-all
```

See [Environment variables](https://dagu.readthedocs.io/en/latest/config.html#environment-variables) to configure those default directories.
Expand Down
12 changes: 6 additions & 6 deletions cmd/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import (
"testing"
"time"

"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/persistence"
"github.com/daguflow/dagu/internal/config"
"github.com/daguflow/dagu/internal/dag"
"github.com/daguflow/dagu/internal/persistence"

"github.com/dagu-dev/dagu/internal/client"
"github.com/dagu-dev/dagu/internal/dag/scheduler"
"github.com/dagu-dev/dagu/internal/util"
"github.com/daguflow/dagu/internal/client"
"github.com/daguflow/dagu/internal/dag/scheduler"
"github.com/daguflow/dagu/internal/util"
"github.com/spf13/cobra"
"github.com/stretchr/testify/require"
)
Expand Down
8 changes: 4 additions & 4 deletions cmd/dry.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"os"
"path/filepath"

"github.com/dagu-dev/dagu/internal/agent"
"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/daguflow/dagu/internal/agent"
"github.com/daguflow/dagu/internal/config"
"github.com/daguflow/dagu/internal/dag"
"github.com/daguflow/dagu/internal/logger"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/dry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"testing"

"github.com/dagu-dev/dagu/internal/test"
"github.com/daguflow/dagu/internal/test"
)

func TestDryCommand(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"path/filepath"
"time"

"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/util"
"github.com/daguflow/dagu/internal/dag"
"github.com/daguflow/dagu/internal/util"
)

// openLogFile opens a log file for the workflow.
Expand Down
10 changes: 5 additions & 5 deletions cmd/modules.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package cmd

import (
"github.com/dagu-dev/dagu/internal/client"
"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/dagu-dev/dagu/internal/persistence"
dsclient "github.com/dagu-dev/dagu/internal/persistence/client"
"github.com/daguflow/dagu/internal/client"
"github.com/daguflow/dagu/internal/config"
"github.com/daguflow/dagu/internal/logger"
"github.com/daguflow/dagu/internal/persistence"
dsclient "github.com/daguflow/dagu/internal/persistence/client"
)

func newClient(cfg *config.Config, ds persistence.DataStores, lg logger.Logger) client.Client {
Expand Down
12 changes: 6 additions & 6 deletions cmd/restart.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"path/filepath"
"time"

"github.com/dagu-dev/dagu/internal/agent"
"github.com/dagu-dev/dagu/internal/client"
"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/dag/scheduler"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/daguflow/dagu/internal/agent"
"github.com/daguflow/dagu/internal/client"
"github.com/daguflow/dagu/internal/config"
"github.com/daguflow/dagu/internal/dag"
"github.com/daguflow/dagu/internal/dag/scheduler"
"github.com/daguflow/dagu/internal/logger"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/restart_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"testing"
"time"

"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/dag/scheduler"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/dagu-dev/dagu/internal/test"
"github.com/daguflow/dagu/internal/dag"
"github.com/daguflow/dagu/internal/dag/scheduler"
"github.com/daguflow/dagu/internal/logger"
"github.com/daguflow/dagu/internal/test"
"github.com/stretchr/testify/require"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"os"
"path/filepath"

"github.com/dagu-dev/dagu/internal/agent"
"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/daguflow/dagu/internal/agent"
"github.com/daguflow/dagu/internal/config"
"github.com/daguflow/dagu/internal/dag"
"github.com/daguflow/dagu/internal/logger"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/retry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"testing"

"github.com/dagu-dev/dagu/internal/dag/scheduler"
"github.com/dagu-dev/dagu/internal/test"
"github.com/daguflow/dagu/internal/dag/scheduler"
"github.com/daguflow/dagu/internal/test"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright © 2023 NAME HERE <EMAIL ADDRESS>
package cmd

import (
"github.com/dagu-dev/dagu/internal/config"
"github.com/daguflow/dagu/internal/config"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
6 changes: 3 additions & 3 deletions cmd/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"log"
"os"

"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/dagu-dev/dagu/internal/scheduler"
"github.com/daguflow/dagu/internal/config"
"github.com/daguflow/dagu/internal/logger"
"github.com/daguflow/dagu/internal/scheduler"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/dagu-dev/dagu/internal/test"
"github.com/daguflow/dagu/internal/test"
)

func TestSchedulerCommand(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"log"
"os"

"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/frontend"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/daguflow/dagu/internal/config"
"github.com/daguflow/dagu/internal/frontend"
"github.com/daguflow/dagu/internal/logger"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/dagu-dev/dagu/internal/test"
"github.com/daguflow/dagu/internal/test"
"github.com/stretchr/testify/require"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"os"
"path/filepath"

"github.com/dagu-dev/dagu/internal/agent"
"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/daguflow/dagu/internal/agent"
"github.com/daguflow/dagu/internal/config"
"github.com/daguflow/dagu/internal/dag"
"github.com/daguflow/dagu/internal/logger"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions cmd/start_all.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"log"
"os"

"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/frontend"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/dagu-dev/dagu/internal/scheduler"
"github.com/daguflow/dagu/internal/config"
"github.com/daguflow/dagu/internal/frontend"
"github.com/daguflow/dagu/internal/logger"
"github.com/daguflow/dagu/internal/scheduler"
"github.com/spf13/cobra"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/start_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"testing"

"github.com/dagu-dev/dagu/internal/test"
"github.com/daguflow/dagu/internal/test"
)

func TestStartCommand(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"log"
"os"

"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/daguflow/dagu/internal/config"
"github.com/daguflow/dagu/internal/dag"
"github.com/daguflow/dagu/internal/logger"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cmd
import (
"testing"

"github.com/dagu-dev/dagu/internal/dag/scheduler"
"github.com/dagu-dev/dagu/internal/test"
"github.com/daguflow/dagu/internal/dag/scheduler"
"github.com/daguflow/dagu/internal/test"
)

func TestStatusCommand(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"log"
"os"

"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/daguflow/dagu/internal/config"
"github.com/daguflow/dagu/internal/dag"
"github.com/daguflow/dagu/internal/logger"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/stop_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"testing"
"time"

"github.com/dagu-dev/dagu/internal/dag/scheduler"
"github.com/dagu-dev/dagu/internal/test"
"github.com/daguflow/dagu/internal/dag/scheduler"
"github.com/daguflow/dagu/internal/test"
)

func TestStopCommand(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"github.com/dagu-dev/dagu/internal/constants"
"github.com/daguflow/dagu/internal/constants"
"github.com/spf13/cobra"
)

Expand Down
Loading
Loading