From 03703b223c73fe56f5d4d44c0b35fec3f354404c Mon Sep 17 00:00:00 2001 From: Jacques Nadeau Date: Thu, 12 Jan 2023 19:11:28 -0800 Subject: [PATCH] Rename rogchap to sundeck coordinates to allow usage. (#22) --- .fossa.yml | 2 +- .github/workflows/release.yml | 2 +- README.md | 8 ++++---- cgo.go | 10 +++++----- context_test.go | 2 +- cpuprofile_test.go | 2 +- cpuprofilenode_test.go | 2 +- cpuprofiler_test.go | 2 +- deps/include/vendor.go | 4 ++-- deps/upgrade_v8.py | 2 +- errors_test.go | 2 +- function_template_fetch_test.go | 2 +- function_template_test.go | 2 +- function_test.go | 2 +- go.mod | 4 ++-- intl_test.go | 2 +- isolate_test.go | 2 +- json_test.go | 2 +- leak_test.go | 2 +- object_template_test.go | 2 +- object_test.go | 2 +- promise_test.go | 2 +- unbound_script_test.go | 2 +- v8go_test.go | 2 +- value_test.go | 2 +- 25 files changed, 34 insertions(+), 34 deletions(-) diff --git a/.fossa.yml b/.fossa.yml index 89c548ef..9f288b97 100755 --- a/.fossa.yml +++ b/.fossa.yml @@ -9,5 +9,5 @@ analyze: modules: - name: v8go type: go - target: rogchap.com/v8go + target: github.com/sundeck-io/v8go path: . diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 937607fb..0f57f603 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: run: echo "::set-output name=tag::${GITHUB_REF/refs\/tags\//}" - name: Get changelog url id: changelog - run: echo "${{ steps.version.outputs.tag }}---$(date +'%Y-%m-%d')" | sed -e 's/\.//g' | awk '{print "::set-output name=url::https://github.com/rogchap/v8go/blob/master/CHANGELOG.md#" $1}' + run: echo "${{ steps.version.outputs.tag }}---$(date +'%Y-%m-%d')" | sed -e 's/\.//g' | awk '{print "::set-output name=url::https://github.com/sundeck-io/v8go/blob/master/CHANGELOG.md#" $1}' - name: Create release uses: actions/create-release@v1 env: diff --git a/README.md b/README.md index 2b10506f..5698339a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Execute JavaScript from Go Github release -[![Go Report Card](https://goreportcard.com/badge/rogchap.com/v8go)](https://goreportcard.com/report/rogchap.com/v8go) -[![Go Reference](https://pkg.go.dev/badge/rogchap.com/v8go.svg)](https://pkg.go.dev/rogchap.com/v8go) +[![Go Report Card](https://goreportcard.com/badge/github.com/sundeck-io/v8go)](https://goreportcard.com/report/github.com/sundeck-io/v8go) +[![Go Reference](https://pkg.go.dev/badge/github.com/sundeck-io/v8go.svg)](https://pkg.go.dev/github.com/sundeck-io/v8go) [![CI](https://github.com/rogchap/v8go/workflows/CI/badge.svg)](https://github.com/rogchap/v8go/actions?query=workflow%3ACI) ![V8 Build](https://github.com/rogchap/v8go/workflows/V8%20Build/badge.svg) [![codecov](https://codecov.io/gh/rogchap/v8go/branch/master/graph/badge.svg?token=VHZwzGm3dV)](https://codecov.io/gh/rogchap/v8go) @@ -14,7 +14,7 @@ ## Usage ```go -import v8 "rogchap.com/v8go" +import v8 "github.com/sundeck-io/v8go" ``` ### Running a script @@ -183,7 +183,7 @@ func printTree(nest string, node *v8.CPUProfileNode) { ## Documentation -Go Reference & more examples: https://pkg.go.dev/rogchap.com/v8go +Go Reference & more examples: https://pkg.go.dev/github.com/sundeck-io/v8go ### Support diff --git a/cgo.go b/cgo.go index 4346cbcb..381fa840 100644 --- a/cgo.go +++ b/cgo.go @@ -18,9 +18,9 @@ import "C" // contain V8 libraries and headers which otherwise would be ignored. // DO NOT REMOVE import ( - _ "rogchap.com/v8go/deps/darwin_arm64" - _ "rogchap.com/v8go/deps/darwin_x86_64" - _ "rogchap.com/v8go/deps/include" - _ "rogchap.com/v8go/deps/linux_arm64" - _ "rogchap.com/v8go/deps/linux_x86_64" + _ "github.com/sundeck-io/v8go/deps/darwin_arm64" + _ "github.com/sundeck-io/v8go/deps/darwin_x86_64" + _ "github.com/sundeck-io/v8go/deps/include" + _ "github.com/sundeck-io/v8go/deps/linux_arm64" + _ "github.com/sundeck-io/v8go/deps/linux_x86_64" ) diff --git a/context_test.go b/context_test.go index 7f9de592..1079046e 100644 --- a/context_test.go +++ b/context_test.go @@ -9,7 +9,7 @@ import ( "fmt" "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestContextExec(t *testing.T) { diff --git a/cpuprofile_test.go b/cpuprofile_test.go index e8a8895b..14206467 100644 --- a/cpuprofile_test.go +++ b/cpuprofile_test.go @@ -7,7 +7,7 @@ package v8go_test import ( "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestCPUProfile(t *testing.T) { diff --git a/cpuprofilenode_test.go b/cpuprofilenode_test.go index 7f466a37..83c95f19 100644 --- a/cpuprofilenode_test.go +++ b/cpuprofilenode_test.go @@ -7,7 +7,7 @@ package v8go_test import ( "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestCPUProfileNode(t *testing.T) { diff --git a/cpuprofiler_test.go b/cpuprofiler_test.go index 9c239354..6212ed2a 100644 --- a/cpuprofiler_test.go +++ b/cpuprofiler_test.go @@ -7,7 +7,7 @@ package v8go_test import ( "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestCPUProfiler_Dispose(t *testing.T) { diff --git a/deps/include/vendor.go b/deps/include/vendor.go index d41196bc..b4ba4985 100644 --- a/deps/include/vendor.go +++ b/deps/include/vendor.go @@ -3,6 +3,6 @@ package include import ( - _ "rogchap.com/v8go/deps/include/cppgc" - _ "rogchap.com/v8go/deps/include/libplatform" + _ "github.com/sundeck-io/v8go/deps/include/cppgc" + _ "github.com/sundeck-io/v8go/deps/include/libplatform" ) diff --git a/deps/upgrade_v8.py b/deps/upgrade_v8.py index 41d712e0..ed4a7835 100755 --- a/deps/upgrade_v8.py +++ b/deps/upgrade_v8.py @@ -41,7 +41,7 @@ def get_directories_names(path): return sorted(flist) def package_name(package, index, total): - name = f'_ "rogchap.com/v8go/deps/include/{package}"' + name = f'_ "github.com/sundeck-io/v8go/deps/include/{package}"' if (index + 1 == total): return name else: diff --git a/errors_test.go b/errors_test.go index 20aa62f6..b064ee23 100644 --- a/errors_test.go +++ b/errors_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestJSErrorFormat(t *testing.T) { diff --git a/function_template_fetch_test.go b/function_template_fetch_test.go index 601da4d7..bc269e23 100644 --- a/function_template_fetch_test.go +++ b/function_template_fetch_test.go @@ -16,7 +16,7 @@ import ( "net/http" "strings" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func ExampleFunctionTemplate_fetch() { diff --git a/function_template_test.go b/function_template_test.go index de2dd382..15468275 100644 --- a/function_template_test.go +++ b/function_template_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestFunctionTemplate(t *testing.T) { diff --git a/function_test.go b/function_test.go index 8b8e65f6..39926ebc 100644 --- a/function_test.go +++ b/function_test.go @@ -7,7 +7,7 @@ package v8go_test import ( "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestFunctionCall(t *testing.T) { diff --git a/go.mod b/go.mod index 0bacfa29..cc5ce2bb 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module rogchap.com/v8go +module github.com/sundeck-io/v8go -go 1.16 +go 1.18 diff --git a/intl_test.go b/intl_test.go index 87bf2e6e..10d45032 100644 --- a/intl_test.go +++ b/intl_test.go @@ -7,7 +7,7 @@ package v8go_test import ( "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestIntlSupport(t *testing.T) { diff --git a/isolate_test.go b/isolate_test.go index a6cca8e5..f38e4865 100644 --- a/isolate_test.go +++ b/isolate_test.go @@ -11,7 +11,7 @@ import ( "strings" "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestIsolateTerminateExecution(t *testing.T) { diff --git a/json_test.go b/json_test.go index e8857187..42ff7ad1 100644 --- a/json_test.go +++ b/json_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestJSONParse(t *testing.T) { diff --git a/leak_test.go b/leak_test.go index f58e0c6f..083a562a 100644 --- a/leak_test.go +++ b/leak_test.go @@ -11,7 +11,7 @@ import ( "os" "testing" - "rogchap.com/v8go" + "github.com/sundeck-io/v8go" ) func TestMain(m *testing.M) { diff --git a/object_template_test.go b/object_template_test.go index 76ca2f01..a050ebfe 100644 --- a/object_template_test.go +++ b/object_template_test.go @@ -9,7 +9,7 @@ import ( "runtime" "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestObjectTemplate(t *testing.T) { diff --git a/object_test.go b/object_test.go index b40d1b0d..c87d4eed 100644 --- a/object_test.go +++ b/object_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestObjectMethodCall(t *testing.T) { diff --git a/promise_test.go b/promise_test.go index 0ecf467d..b759e6c7 100644 --- a/promise_test.go +++ b/promise_test.go @@ -7,7 +7,7 @@ package v8go_test import ( "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestPromiseFulfilled(t *testing.T) { diff --git a/unbound_script_test.go b/unbound_script_test.go index e565520d..34ee5b34 100644 --- a/unbound_script_test.go +++ b/unbound_script_test.go @@ -7,7 +7,7 @@ package v8go_test import ( "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestUnboundScriptRun_OnlyInTheSameIsolate(t *testing.T) { diff --git a/v8go_test.go b/v8go_test.go index 5f970281..9e613dd9 100644 --- a/v8go_test.go +++ b/v8go_test.go @@ -8,7 +8,7 @@ import ( "regexp" "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestVersion(t *testing.T) { diff --git a/value_test.go b/value_test.go index d386a589..82628fbd 100644 --- a/value_test.go +++ b/value_test.go @@ -13,7 +13,7 @@ import ( "runtime" "testing" - v8 "rogchap.com/v8go" + v8 "github.com/sundeck-io/v8go" ) func TestValueNewBaseCases(t *testing.T) {