From 386d9e7b7f21762e712ac1a2e6fa65ca636c8a9f Mon Sep 17 00:00:00 2001 From: Toma Puljak Date: Mon, 6 May 2024 16:18:36 +0000 Subject: [PATCH] refactor: rename package to daytona-provider-docker --- CONTRIBUTING.md | 4 ++-- README.md | 4 ++-- go.mod | 2 +- main.go | 2 +- pkg/client/client.go | 4 ++-- pkg/provider/provider.go | 8 ++++---- pkg/provider/provider_test.go | 6 +++--- pkg/ssh_tunnel/util/forward_unix.go | 4 ++-- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0540cff..f683de6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ The team at Daytona welcomes contributions from the community. There are many wa ## Provide Feedback -You might find things that can be improved while you are using the Daytona Docker Provider. You can help by [submitting an issue](https://github.com/daytonaio/daytona-docker-provider/issues/new) when: +You might find things that can be improved while you are using the Daytona Docker Provider. You can help by [submitting an issue](https://github.com/daytonaio/daytona-provider-docker/issues/new) when: * When the Docker Provider crashes or you encounter a bug that can only be resolved by restarting Daytona. * An error occurs that is unrecoverable, causes workspace integrity problems or loss, or generally prevents you from using a workspace. @@ -39,7 +39,7 @@ Follow the following steps to ensure your contribution goes smoothly. 1. Read and follow the steps outlined in the [Daytona Contributing Policy](README.md#contributing). 2. Configure your development environment by either following the guide below. 3. [Fork](https://help.github.com/articles/working-with-forks/) the GitHub Repository allowing you to make the changes in your own copy of the repository. -4. Create a [GitHub issue](https://github.com/daytonaio/daytona-docker-provider/issues) if one doesn't exist already. +4. Create a [GitHub issue](https://github.com/daytonaio/daytona-provider-docker/issues) if one doesn't exist already. 5. [Prepare your changes](/PREPARING_YOUR_CHANGES.md) and ensure your commits are descriptive. The document contains an optional commit template, if desired. 6. Ensure that you sign off on all your commits to comply with the DCO v1.1. We have more details in [Prepare your changes](/PREPARING_YOUR_CHANGES.md). 7. Create a pull request on GitHub. If you're new to GitHub, read about [pull requests](https://help.github.com/articles/about-pull-requests/). You are welcome to submit your pull request for commentary or review before it is complete by creating a [draft pull request](https://help.github.com/en/articles/about-pull-requests#draft-pull-requests). Please include specific questions or items you'd like feedback on. diff --git a/README.md b/README.md index 718aed5..6da2ad8 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ This repository is the home of the - Report Bug + Report Bug · - Request Feature + Request Feature · Join Our Slack · diff --git a/go.mod b/go.mod index d27b8ab..b9ef9b4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/daytonaio/daytona-docker-provider +module github.com/daytonaio/daytona-provider-docker go 1.22.2 diff --git a/main.go b/main.go index 9fa4f97..c12fa55 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/go-hclog" hc_plugin "github.com/hashicorp/go-plugin" - p "github.com/daytonaio/daytona-docker-provider/pkg/provider" + p "github.com/daytonaio/daytona-provider-docker/pkg/provider" ) func main() { diff --git a/pkg/client/client.go b/pkg/client/client.go index 1cecd1e..04f6c20 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -8,8 +8,8 @@ import ( "runtime" "strings" - "github.com/daytonaio/daytona-docker-provider/pkg/ssh_tunnel/util" - "github.com/daytonaio/daytona-docker-provider/pkg/types" + "github.com/daytonaio/daytona-provider-docker/pkg/ssh_tunnel/util" + "github.com/daytonaio/daytona-provider-docker/pkg/types" "github.com/docker/docker/client" diff --git a/pkg/provider/provider.go b/pkg/provider/provider.go index e23baf0..1a71ee2 100644 --- a/pkg/provider/provider.go +++ b/pkg/provider/provider.go @@ -7,10 +7,10 @@ import ( "path" "runtime" - internal "github.com/daytonaio/daytona-docker-provider/internal" - log_writers "github.com/daytonaio/daytona-docker-provider/internal/log" - "github.com/daytonaio/daytona-docker-provider/pkg/client" - provider_types "github.com/daytonaio/daytona-docker-provider/pkg/types" + internal "github.com/daytonaio/daytona-provider-docker/internal" + log_writers "github.com/daytonaio/daytona-provider-docker/internal/log" + "github.com/daytonaio/daytona-provider-docker/pkg/client" + provider_types "github.com/daytonaio/daytona-provider-docker/pkg/types" "github.com/daytonaio/daytona/pkg/docker" "github.com/daytonaio/daytona/pkg/logger" diff --git a/pkg/provider/provider_test.go b/pkg/provider/provider_test.go index 9bbdf56..990cb79 100644 --- a/pkg/provider/provider_test.go +++ b/pkg/provider/provider_test.go @@ -5,15 +5,15 @@ import ( "encoding/json" "testing" - "github.com/daytonaio/daytona-docker-provider/pkg/client" + "github.com/daytonaio/daytona-provider-docker/pkg/client" "github.com/daytonaio/daytona/pkg/docker" "github.com/daytonaio/daytona/pkg/gitprovider" "github.com/daytonaio/daytona/pkg/provider" "github.com/daytonaio/daytona/pkg/workspace" - docker_provider "github.com/daytonaio/daytona-docker-provider/pkg/provider" - provider_types "github.com/daytonaio/daytona-docker-provider/pkg/types" + docker_provider "github.com/daytonaio/daytona-provider-docker/pkg/provider" + provider_types "github.com/daytonaio/daytona-provider-docker/pkg/types" docker_types "github.com/docker/docker/api/types" docker_client "github.com/docker/docker/client" diff --git a/pkg/ssh_tunnel/util/forward_unix.go b/pkg/ssh_tunnel/util/forward_unix.go index b8263ac..f349541 100644 --- a/pkg/ssh_tunnel/util/forward_unix.go +++ b/pkg/ssh_tunnel/util/forward_unix.go @@ -4,8 +4,8 @@ import ( "context" "errors" - "github.com/daytonaio/daytona-docker-provider/pkg/ssh_tunnel" - "github.com/daytonaio/daytona-docker-provider/pkg/types" + "github.com/daytonaio/daytona-provider-docker/pkg/ssh_tunnel" + "github.com/daytonaio/daytona-provider-docker/pkg/types" log "github.com/sirupsen/logrus" )