Skip to content

Commit 06484a3

Browse files
committed
all: change references from cuelang/cue to cue-lang/cue
Signed-off-by: cueckoo <[email protected]>
1 parent 20ed9ab commit 06484a3

File tree

21 files changed

+446
-1043
lines changed

21 files changed

+446
-1043
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @cueckoo

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ If possible, provide a recipe for reproducing the error.
3434
3535
For advice on how to create a good reproducer, please see:
3636
37-
https://github.com/cuelang/cue/wiki/Creating-test-or-performance-reproducers
37+
https://github.com/cue-lang/cue/wiki/Creating-test-or-performance-reproducers
3838
-->
3939

4040

.github/workflows/mirror.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/new_version_triggers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Rebuild tip.cuelang.org
1616
run: 'curl -f -s -H "Content-Type: application/json" -u cueckoo:${{ secrets.CUECKOO_GITHUB_PAT
1717
}} --request POST --data-binary "{\"event_type\": \"Re-test post release of
18-
${GITHUB_REF##refs/tags/}\"}" https://api.github.com/repos/cuelang/cuelang.org/dispatches'
18+
${GITHUB_REF##refs/tags/}\"}" https://api.github.com/repos/cue-lang/cuelang.org/dispatches'
1919
- name: Trigger unity build
2020
run: 'curl -f -s -H "Content-Type: application/json" -u cueckoo:${{ secrets.CUECKOO_GITHUB_PAT
2121
}} --request POST --data-binary "{\"event_type\": \"Check against CUE ${GITHUB_REF##refs/tags/}\",

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
args: release --rm-dist
2929
version: v0.155.1
3030
env:
31-
GITHUB_TOKEN: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
31+
GITHUB_TOKEN: ${{ secrets.CUECKOO_GITHUB_PAT }}
3232
docker:
3333
name: docker
3434
runs-on: ubuntu-18.04
@@ -47,7 +47,7 @@ jobs:
4747
uses: docker/build-push-action@v1
4848
with:
4949
tags: ${{ env.CUE_VERSION }},latest
50-
repository: cuelang/cue
50+
repository: cue-lang/cue
5151
username: ${{ secrets.DOCKER_USERNAME }}
5252
password: ${{ secrets.DOCKER_PASSWORD }}
5353
tag_with_ref: false

.github/workflows/repository_dispatch.yml

Lines changed: 10 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ jobs:
1111
shell: bash
1212
if: ${{ github.event.client_payload.type == 'runtrybot' }}
1313
steps:
14+
- name: Write netrc file for cueckoo Gerrithub
15+
run: |-
16+
cat <<EOD > ~/.netrc
17+
machine review.gerrithub.io
18+
login cueckoo
19+
password ${{ secrets.CUECKOO_GERRITHUB_PASSWORD }}
20+
EOD
21+
chmod 600 ~/.netrc
1422
- name: Trigger trybot
1523
run: |-
1624
mkdir tmpgit
@@ -19,52 +27,6 @@ jobs:
1927
git config user.name cueckoo
2028
git config user.email [email protected]
2129
git config http.https://github.com/.extraheader "AUTHORIZATION: basic $(echo -n cueckoo:${{ secrets.CUECKOO_GITHUB_PAT }} | base64)"
22-
git fetch https://cue-review.googlesource.com/cue ${{ github.event.client_payload.payload.ref }}
30+
git fetch https://review.gerrithub.io/a/cue-lang/cue ${{ github.event.client_payload.payload.ref }}
2331
git checkout -b ci/${{ github.event.client_payload.payload.changeID }}/${{ github.event.client_payload.payload.commit }} FETCH_HEAD
24-
git push https://github.com/cuelang/cue ci/${{ github.event.client_payload.payload.changeID }}/${{ github.event.client_payload.payload.commit }}
25-
mirror:
26-
runs-on: ubuntu-18.04
27-
defaults:
28-
run:
29-
shell: bash
30-
if: ${{ github.event.client_payload.type == 'mirror' }}
31-
steps:
32-
- name: Checkout code
33-
uses: actions/checkout@v2
34-
- name: Mirror Gerrit to GitHub
35-
run: |-
36-
cd _scripts
37-
docker run --rm -v $PWD/cache:/root/copybara/cache -v $PWD:/usr/src/app --entrypoint="" cueckoo/copybara:afc4ae03eed00b0c9d7415141cd1b5dfa583da7c bash -c " \
38-
set -eu; \
39-
echo \"${{ secrets.gerritCookie }}\" > ~/.gitcookies; \
40-
chmod 600 ~/.gitcookies; \
41-
git config --global user.name cueckoo; \
42-
git config --global user.email [email protected]; \
43-
git config --global http.cookiefile \$HOME/.gitcookies; \
44-
echo https://cueckoo:${{ secrets.CUECKOO_GITHUB_PAT }}@github.com > ~/.git-credentials; \
45-
chmod 600 ~/.git-credentials; \
46-
java -jar /opt/copybara/copybara_deploy.jar migrate copy.bara.sky github; \
47-
"
48-
importpr:
49-
runs-on: ubuntu-18.04
50-
defaults:
51-
run:
52-
shell: bash
53-
if: ${{ github.event.client_payload.type == 'importpr' }}
54-
steps:
55-
- name: Checkout code
56-
uses: actions/checkout@v2
57-
- name: 'Import PR #${{ github.event.client_payload.commit }} from GitHub to Gerrit'
58-
run: |-
59-
cd _scripts
60-
docker run --rm -v $PWD/cache:/root/copybara/cache -v $PWD:/usr/src/app --entrypoint="" cueckoo/copybara:afc4ae03eed00b0c9d7415141cd1b5dfa583da7c bash -c " \
61-
set -eu; \
62-
echo \"${{ secrets.gerritCookie }}\" > ~/.gitcookies; \
63-
chmod 600 ~/.gitcookies; \
64-
git config --global user.name cueckoo; \
65-
git config --global user.email [email protected]; \
66-
git config --global http.cookiefile \$HOME/.gitcookies; \
67-
echo https://cueckoo:${{ secrets.CUECKOO_GITHUB_PAT }}@github.com > ~/.git-credentials; \
68-
chmod 600 ~/.git-credentials; \
69-
java -jar /opt/copybara/copybara_deploy.jar migrate copy.bara.sky github-pr ${{ github.event.client_payload.payload.pr }}; \
70-
"
32+
git push https://github.com/cue-lang/cue ci/${{ github.event.client_payload.payload.changeID }}/${{ github.event.client_payload.payload.commit }}

.github/workflows/test.yml

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- '**'
88
tags-ignore:
99
- v*
10+
pull_request: {}
1011
jobs:
1112
start:
1213
runs-on: ubuntu-18.04
@@ -15,34 +16,42 @@ jobs:
1516
shell: bash
1617
steps:
1718
- if: ${{ startsWith(github.ref, 'refs/heads/ci/') }}
18-
name: Write the gitcookies file
19-
run: echo "${{ secrets.gerritCookie }}" > ~/.gitcookies
19+
name: Write netrc file for cueckoo Gerrithub
20+
run: |-
21+
cat <<EOD > ~/.netrc
22+
machine review.gerrithub.io
23+
login cueckoo
24+
password ${{ secrets.CUECKOO_GERRITHUB_PASSWORD }}
25+
EOD
26+
chmod 600 ~/.netrc
2027
- if: ${{ startsWith(github.ref, 'refs/heads/ci/') }}
2128
name: Update Gerrit CL message with starting message
22-
run: 'curl -f -s -H "Content-Type: application/json" --request POST --data ''{"tag":"trybot","message":"Started
23-
the build... see progress at ${{ github.event.repository.html_url }}/actions/runs/${{
24-
github.run_id }}"}'' -b ~/.gitcookies https://cue-review.googlesource.com/a/changes/$(basename
29+
run: 'curl -f -s -n -H "Content-Type: application/json" --request POST --data
30+
''{"tag":"trybot","message":"Started the build... see progress at ${{ github.event.repository.html_url
31+
}}/actions/runs/${{ github.run_id }}"}'' https://review.gerrithub.io/a/changes/$(basename
2532
$(dirname $GITHUB_REF))/revisions/$(basename $GITHUB_REF)/review'
2633
test:
2734
needs: start
2835
strategy:
2936
fail-fast: false
3037
matrix:
3138
go-version:
32-
- 1.14.14
33-
- 1.15.8
3439
- "1.16"
3540
os:
3641
- ubuntu-18.04
37-
- macos-10.15
38-
- windows-2019
3942
runs-on: ${{ matrix.os }}
4043
defaults:
4144
run:
4245
shell: bash
4346
steps:
44-
- name: Write the gitcookies file
45-
run: echo "${{ secrets.gerritCookie }}" > ~/.gitcookies
47+
- name: Write netrc file for cueckoo Gerrithub
48+
run: |-
49+
cat <<EOD > ~/.netrc
50+
machine review.gerrithub.io
51+
login cueckoo
52+
password ${{ secrets.CUECKOO_GERRITHUB_PASSWORD }}
53+
EOD
54+
chmod 600 ~/.netrc
4655
- name: Install Go
4756
uses: actions/setup-go@v2
4857
with:
@@ -65,27 +74,16 @@ jobs:
6574
run: go generate ./...
6675
- name: Test
6776
run: go test ./...
68-
- if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/ci/')
69-
&& matrix.go-version == '1.15.8' && matrix.os == 'ubuntu-18.04' }}
70-
name: Test with -race
71-
run: go test -race ./...
7277
- name: gorelease check
7378
run: go run golang.org/x/exp/cmd/gorelease
7479
- name: Check that git is clean post generate and tests
7580
run: test -z "$(git status --porcelain)" || (git status; git diff; false)
76-
- if: ${{ github.ref == 'refs/heads/master' }}
77-
name: Pull this commit through the proxy on master
78-
run: |-
79-
v=$(git rev-parse HEAD)
80-
cd $(mktemp -d)
81-
go mod init mod.com
82-
GOPROXY=https://proxy.golang.org go get -d cuelang.org/go/cmd/cue@$v
8381
- if: ${{ startsWith(github.ref, 'refs/heads/ci/') && failure() }}
8482
name: Post any failures for this matrix entry
85-
run: 'curl -f -s -H "Content-Type: application/json" --request POST --data ''{"tag":"trybot","message":"Build
86-
failed for ${{ runner.os }}-${{ matrix.go-version }}; see ${{ github.event.repository.html_url
87-
}}/actions/runs/${{ github.run_id }} for more details","labels":{"Code-Review":-1}}''
88-
-b ~/.gitcookies https://cue-review.googlesource.com/a/changes/$(basename
83+
run: 'curl -f -s -n -H "Content-Type: application/json" --request POST --data
84+
''{"tag":"trybot","message":"Build failed for ${{ runner.os }}-${{ matrix.go-version
85+
}}; see ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id
86+
}} for more details","labels":{"TryBot-Result":-1}}'' https://review.gerrithub.io/a/changes/$(basename
8987
$(dirname $GITHUB_REF))/revisions/$(basename $GITHUB_REF)/review'
9088
mark_ci_success:
9189
runs-on: ubuntu-18.04
@@ -95,12 +93,18 @@ jobs:
9593
run:
9694
shell: bash
9795
steps:
98-
- name: Write the gitcookies file
99-
run: echo "${{ secrets.gerritCookie }}" > ~/.gitcookies
96+
- name: Write netrc file for cueckoo Gerrithub
97+
run: |-
98+
cat <<EOD > ~/.netrc
99+
machine review.gerrithub.io
100+
login cueckoo
101+
password ${{ secrets.CUECKOO_GERRITHUB_PASSWORD }}
102+
EOD
103+
chmod 600 ~/.netrc
100104
- name: Update Gerrit CL message with success message
101-
run: 'curl -f -s -H "Content-Type: application/json" --request POST --data ''{"tag":"trybot","message":"Build
102-
succeeded for ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id
103-
}}","labels":{"Code-Review":1}}'' -b ~/.gitcookies https://cue-review.googlesource.com/a/changes/$(basename
105+
run: 'curl -f -s -n -H "Content-Type: application/json" --request POST --data
106+
''{"tag":"trybot","message":"Build succeeded for ${{ github.event.repository.html_url
107+
}}/actions/runs/${{ github.run_id }}","labels":{"TryBot-Result":1}}'' https://review.gerrithub.io/a/changes/$(basename
104108
$(dirname $GITHUB_REF))/revisions/$(basename $GITHUB_REF)/review'
105109
delete_build_branch:
106110
runs-on: ubuntu-18.04
@@ -117,4 +121,4 @@ jobs:
117121
git config user.name cueckoo
118122
git config user.email [email protected]
119123
git config http.https://github.com/.extraheader "AUTHORIZATION: basic $(echo -n cueckoo:${{ secrets.CUECKOO_GITHUB_PAT }} | base64)"
120-
git push https://github.com/cuelang/cue :${GITHUB_REF#refs/heads/}
124+
git push https://github.com/cue-lang/cue :${GITHUB_REF#refs/heads/}

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ brews:
5959
commit_author:
6060
name: cue-bot
6161
62-
homepage: "https://github.com/cuelang/cue"
62+
homepage: "https://cuelang.org"
6363
description: "CUE is an open source data constraint language which aims to simplify tasks involving defining and using data."
6464
test: |
6565
system "#{bin}/cue version"

CONTRIBUTING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ again.
2020
## Code reviews
2121

2222
All submissions, including submissions by project members, require review. We
23-
use Gerrit code reviews at https://cue-review.googlesource.com for this purpose.
24-
Please read the [Contributing Guide](./doc/contribute.md)
25-
before reading patches.
23+
use [Gerrit code
24+
reviews](https://review.gerrithub.io/q/project:cue-lang%252Fcue) for this
25+
purpose. Please read the [Contributing Guide](./doc/contribute.md) before
26+
reading patches.
2627

2728
## Code of Conduct
2829

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
limitations under the License.
1515
-->
1616
[![Go Reference](https://pkg.go.dev/badge/cuelang.org/go.svg)](https://pkg.go.dev/cuelang.org/go)
17-
[![Github](https://github.com/cuelang/cue/workflows/Test/badge.svg)](https://github.com/cuelang/cue/actions)
18-
[![GolangCI](https://golangci.com/badges/github.com/cuelang/cue.svg)](https://golangci.com/r/github.com/cuelang/cue)
17+
[![Github](https://github.com/cue-lang/cue/workflows/Test/badge.svg)](https://github.com/cue-lang/cue/actions)
18+
[![GolangCI](https://golangci.com/badges/github.com/cue-lang/cue.svg)](https://golangci.com/r/github.com/cue-lang/cue)
1919
[![Go 1.14+](https://img.shields.io/badge/go-1.14-9cf.svg)](https://golang.org/dl/)
2020
[![platforms](https://img.shields.io/badge/platforms-linux|windows|macos-inactive.svg)]()
2121

@@ -95,7 +95,7 @@ Some aspects of this are:
9595

9696
#### Release builds
9797

98-
[Download](https://github.com/cuelang/cue/releases) the latest release from GitHub.
98+
[Download](https://github.com/cue-lang/cue/releases) the latest release from GitHub.
9999

100100
#### Install using Homebrew
101101

@@ -146,12 +146,13 @@ an existing set of Kubernetes configurations is available in
146146

147147
### Contributing
148148

149-
Our canonical Git repository is located at https://cue.googlesource.com.
149+
Our canonical Git repository is located at
150+
https://review.gerrithub.io/q/project:cue-lang%252Fcue.
150151

151152
To contribute, please read the [Contribution Guide](./doc/contribute.md).
152153

153154
To report issues or make a feature request, use the
154-
[issue tracker](https://github.com/cuelang/cue/issues).
155+
[issue tracker](https://github.com/cue-lang/cue/issues).
155156

156157
Changes can be contributed using Gerrit or Github pull requests.
157158

@@ -160,7 +161,7 @@ Changes can be contributed using Gerrit or Github pull requests.
160161

161162
You can get in touch with the cuelang community in the following ways:
162163

163-
- Ask questions via [GitHub Discussions](https://github.com/cuelang/cue/discussions)
164+
- Ask questions via [GitHub Discussions](https://github.com/cue-lang/cue/discussions)
164165
- Chat with us on our
165166
[Slack workspace](https://join.slack.com/t/cuelang/shared_invite/enQtNzQwODc3NzYzNTA0LTAxNWQwZGU2YWFiOWFiOWQ4MjVjNGQ2ZTNlMmIxODc4MDVjMDg5YmIyOTMyMjQ2MTkzMTU5ZjA1OGE0OGE1NmE).
166167

0 commit comments

Comments
 (0)