Skip to content

Commit

Permalink
update package path
Browse files Browse the repository at this point in the history
  • Loading branch information
yohamta committed Aug 30, 2023
1 parent cfce1d9 commit 4504b4f
Show file tree
Hide file tree
Showing 105 changed files with 290 additions and 290 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
<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>
<a href="https://github.com/yohamta/dagu/releases">
<a href="https://github.com/dagu-dev/dagu/releases">
<img src="https://img.shields.io/github/release/yohamta/dagu.svg" />
</a>
<a href="https://godoc.org/github.com/yohamta/dagu">
<img src="https://godoc.org/github.com/yohamta/dagu?status.svg" />
</a>
<img src="https://github.com/yohamta/dagu/actions/workflows/test.yaml/badge.svg" />
<img src="https://github.com/dagu-dev/dagu/actions/workflows/test.yaml/badge.svg" />
</p>

<div align="center">
Expand Down Expand Up @@ -161,7 +161,7 @@ yohamta/dagu:latest

### Via GitHub Release Page

Download the latest binary from the [Releases page](https://github.com/yohamta/dagu/releases) and place it in your `$PATH` (e.g. `/usr/local/bin`).
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`).

## **Quick Start Guide**

Expand Down Expand Up @@ -326,7 +326,7 @@ Dagu is a single command line tool that uses the local file system to store data
- Allow calling DAGs from other DAGs
## **Contributors**
<a href="https://github.com/yohamta/dagu/graphs/contributors">
<a href="https://github.com/dagu-dev/dagu/graphs/contributors">
<img src="https://contrib.rocks/image?repo=yohamta/dagu" />
</a>
Expand Down
6 changes: 3 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package app

import (
"github.com/yohamta/dagu/internal/config"
"github.com/yohamta/dagu/internal/logger"
"github.com/yohamta/dagu/service/frontend"
"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/dagu-dev/dagu/service/frontend"
"go.uber.org/fx"
"os"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cmd
import (
"context"
"github.com/spf13/cobra"
"github.com/yohamta/dagu/internal/agent"
"github.com/yohamta/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/agent"
"github.com/dagu-dev/dagu/internal/dag"
"log"
"os"
"os/signal"
Expand Down
10 changes: 5 additions & 5 deletions cmd/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cmd
import (
"bytes"
"context"
"github.com/yohamta/dagu/internal/config"
"github.com/yohamta/dagu/internal/persistence/jsondb"
"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/persistence/jsondb"
"io"
"log"
"os"
Expand All @@ -14,9 +14,9 @@ import (

"github.com/spf13/cobra"
"github.com/stretchr/testify/require"
"github.com/yohamta/dagu/internal/controller"
"github.com/yohamta/dagu/internal/scheduler"
"github.com/yohamta/dagu/internal/utils"
"github.com/dagu-dev/dagu/internal/controller"
"github.com/dagu-dev/dagu/internal/scheduler"
"github.com/dagu-dev/dagu/internal/utils"
)

func TestMain(m *testing.M) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/restart.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/yohamta/dagu/internal/controller"
"github.com/yohamta/dagu/internal/persistence/jsondb"
"github.com/yohamta/dagu/internal/scheduler"
"github.com/dagu-dev/dagu/internal/controller"
"github.com/dagu-dev/dagu/internal/persistence/jsondb"
"github.com/dagu-dev/dagu/internal/scheduler"
"log"
"time"
)
Expand Down
6 changes: 3 additions & 3 deletions cmd/restart_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package cmd

import (
"github.com/stretchr/testify/require"
"github.com/yohamta/dagu/internal/controller"
"github.com/yohamta/dagu/internal/persistence/jsondb"
"github.com/yohamta/dagu/internal/scheduler"
"github.com/dagu-dev/dagu/internal/controller"
"github.com/dagu-dev/dagu/internal/persistence/jsondb"
"github.com/dagu-dev/dagu/internal/scheduler"
"testing"
"time"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/yohamta/dagu/internal/agent"
"github.com/yohamta/dagu/internal/persistence/jsondb"
"github.com/dagu-dev/dagu/internal/agent"
"github.com/dagu-dev/dagu/internal/persistence/jsondb"
"path/filepath"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/retry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package cmd
import (
"fmt"
"github.com/stretchr/testify/require"
"github.com/yohamta/dagu/internal/controller"
"github.com/yohamta/dagu/internal/persistence/jsondb"
"github.com/yohamta/dagu/internal/scheduler"
"github.com/dagu-dev/dagu/internal/controller"
"github.com/dagu-dev/dagu/internal/persistence/jsondb"
"github.com/dagu-dev/dagu/internal/scheduler"
"testing"
)

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

"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/yohamta/dagu/internal/config"
"github.com/yohamta/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/dag"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions cmd/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package cmd
import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/yohamta/dagu/internal/config"
"github.com/yohamta/dagu/internal/runner"
"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/runner"
)

func createSchedulerCommand() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package cmd
import (
"github.com/spf13/cobra"
"github.com/spf13/viper"
"github.com/yohamta/dagu/app"
"github.com/dagu-dev/dagu/app"
)

func serverCmd() *cobra.Command {
Expand Down
6 changes: 3 additions & 3 deletions cmd/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/yohamta/dagu/internal/controller"
"github.com/yohamta/dagu/internal/models"
"github.com/yohamta/dagu/internal/persistence/jsondb"
"github.com/dagu-dev/dagu/internal/controller"
"github.com/dagu-dev/dagu/internal/models"
"github.com/dagu-dev/dagu/internal/persistence/jsondb"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/status_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"github.com/yohamta/dagu/internal/scheduler"
"github.com/dagu-dev/dagu/internal/scheduler"
"testing"
"time"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package cmd

import (
"github.com/spf13/cobra"
"github.com/yohamta/dagu/internal/controller"
"github.com/yohamta/dagu/internal/persistence/jsondb"
"github.com/dagu-dev/dagu/internal/controller"
"github.com/dagu-dev/dagu/internal/persistence/jsondb"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/stop_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"github.com/yohamta/dagu/internal/scheduler"
"github.com/dagu-dev/dagu/internal/scheduler"
"testing"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package cmd

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

func versionCmd() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion cmd/version_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"github.com/yohamta/dagu/internal/constants"
"github.com/dagu-dev/dagu/internal/constants"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion docs/source/docker.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Create the ``Dockerfile`` and you can build an image.
ARG TARGETARCH
ARG VERSION=
ARG RELEASES_URL="https://github.com/yohamta/dagu/releases"
ARG RELEASES_URL="https://github.com/dagu-dev/dagu/releases"
ARG USER="dagu"
ARG USER_UID=1000
Expand Down
2 changes: 1 addition & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ Via Docker
Via GitHub Release Page
-----------------------

Download the latest binary from the `Releases page <https://github.com/yohamta/dagu/releases>`_ and place it in your ``$PATH`` (e.g. ``/usr/local/bin``).
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``).
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/yohamta/dagu
module github.com/dagu-dev/dagu

go 1.19

Expand Down
26 changes: 13 additions & 13 deletions internal/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"errors"
"fmt"
"github.com/yohamta/dagu/internal/persistence"
"github.com/yohamta/dagu/internal/persistence/jsondb"
"github.com/dagu-dev/dagu/internal/persistence"
"github.com/dagu-dev/dagu/internal/persistence/jsondb"
"log"
"net/http"
"os"
Expand All @@ -16,17 +16,17 @@ import (
"time"

"github.com/google/uuid"
"github.com/yohamta/dagu/internal/constants"
"github.com/yohamta/dagu/internal/controller"
"github.com/yohamta/dagu/internal/dag"
"github.com/yohamta/dagu/internal/logger"
"github.com/yohamta/dagu/internal/mailer"
"github.com/yohamta/dagu/internal/models"
"github.com/yohamta/dagu/internal/pb"
"github.com/yohamta/dagu/internal/reporter"
"github.com/yohamta/dagu/internal/scheduler"
"github.com/yohamta/dagu/internal/sock"
"github.com/yohamta/dagu/internal/utils"
"github.com/dagu-dev/dagu/internal/constants"
"github.com/dagu-dev/dagu/internal/controller"
"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/logger"
"github.com/dagu-dev/dagu/internal/mailer"
"github.com/dagu-dev/dagu/internal/models"
"github.com/dagu-dev/dagu/internal/pb"
"github.com/dagu-dev/dagu/internal/reporter"
"github.com/dagu-dev/dagu/internal/scheduler"
"github.com/dagu-dev/dagu/internal/sock"
"github.com/dagu-dev/dagu/internal/utils"
)

// Agent is the interface to run / cancel / signal / status / etc.
Expand Down
16 changes: 8 additions & 8 deletions internal/agent/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package agent

import (
"context"
"github.com/yohamta/dagu/internal/persistence"
"github.com/yohamta/dagu/internal/persistence/jsondb"
"github.com/dagu-dev/dagu/internal/persistence"
"github.com/dagu-dev/dagu/internal/persistence/jsondb"
"net/http"
"net/url"
"os"
Expand All @@ -13,12 +13,12 @@ import (
"time"

"github.com/stretchr/testify/require"
"github.com/yohamta/dagu/internal/config"
"github.com/yohamta/dagu/internal/controller"
"github.com/yohamta/dagu/internal/dag"
"github.com/yohamta/dagu/internal/models"
"github.com/yohamta/dagu/internal/scheduler"
"github.com/yohamta/dagu/internal/utils"
"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/controller"
"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/models"
"github.com/dagu-dev/dagu/internal/scheduler"
"github.com/dagu-dev/dagu/internal/utils"
)

var testdataDir = path.Join(utils.MustGetwd(), "testdata")
Expand Down
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"strconv"
"strings"

"github.com/dagu-dev/dagu/internal/utils"
"github.com/spf13/viper"
"github.com/yohamta/dagu/internal/utils"
)

type Config struct {
Expand Down
14 changes: 7 additions & 7 deletions internal/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package controller
import (
"errors"
"fmt"
"github.com/yohamta/dagu/internal/persistence"
"github.com/dagu-dev/dagu/internal/persistence"
"os"
"os/exec"
"path"
Expand All @@ -12,12 +12,12 @@ import (
"syscall"
"time"

"github.com/yohamta/dagu/internal/dag"
"github.com/yohamta/dagu/internal/grep"
"github.com/yohamta/dagu/internal/models"
"github.com/yohamta/dagu/internal/scheduler"
"github.com/yohamta/dagu/internal/sock"
"github.com/yohamta/dagu/internal/utils"
"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/grep"
"github.com/dagu-dev/dagu/internal/models"
"github.com/dagu-dev/dagu/internal/scheduler"
"github.com/dagu-dev/dagu/internal/sock"
"github.com/dagu-dev/dagu/internal/utils"
)

// GrepResult is a result of grep.
Expand Down
16 changes: 8 additions & 8 deletions internal/controller/controller_test.go
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
package controller_test

import (
"github.com/yohamta/dagu/internal/persistence/jsondb"
"github.com/dagu-dev/dagu/internal/persistence/jsondb"
"io"
"net/http"
"os"
"path"
"testing"
"time"

"github.com/dagu-dev/dagu/internal/config"
"github.com/dagu-dev/dagu/internal/controller"
"github.com/dagu-dev/dagu/internal/dag"
"github.com/dagu-dev/dagu/internal/models"
"github.com/dagu-dev/dagu/internal/scheduler"
"github.com/dagu-dev/dagu/internal/sock"
"github.com/dagu-dev/dagu/internal/utils"
"github.com/stretchr/testify/require"
"github.com/yohamta/dagu/internal/config"
"github.com/yohamta/dagu/internal/controller"
"github.com/yohamta/dagu/internal/dag"
"github.com/yohamta/dagu/internal/models"
"github.com/yohamta/dagu/internal/scheduler"
"github.com/yohamta/dagu/internal/sock"
"github.com/yohamta/dagu/internal/utils"
)

var (
Expand Down
Loading

0 comments on commit 4504b4f

Please sign in to comment.