Skip to content

Commit 9d7bbab

Browse files
authored
Merge pull request #281 from oasisprotocol/tjanez/rename
Rename project to Oasis Rosetta Gateway
2 parents c4be1fc + 0e31695 commit 9d7bbab

File tree

29 files changed

+121
-115
lines changed

29 files changed

+121
-115
lines changed

.changelog/281.breaking.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Rename project to Oasis Rosetta Gateway
2+
3+
Previous name was quite long and we were already shortening it in some places.
4+
Take the opportunity of doing a breaking 2.0.0 release to shorten the name to
5+
Oasis Rosetta Gateway.

.github/workflows/docker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ jobs:
6464
- name: Set up Docker Buildx
6565
uses: docker/setup-buildx-action@v1
6666

67-
- name: "Rebuild oasisprotocol/oasis-core-rosetta-gateway:${{ steps.branch_tag.outputs.tag }}"
67+
- name: "Rebuild oasisprotocol/oasis-rosetta-gateway:${{ steps.branch_tag.outputs.tag }}"
6868
uses: docker/build-push-action@v2.6.1
6969
with:
7070
context: docker
7171
file: docker/Dockerfile
7272
build-args: |
7373
GATEWAY_BRANCH=${{ steps.branch_tag.outputs.branch }}
74-
tags: oasisprotocol/oasis-core-rosetta-gateway:${{ steps.branch_tag.outputs.tag }}
74+
tags: oasisprotocol/oasis-rosetta-gateway:${{ steps.branch_tag.outputs.tag }}
7575
pull: true
7676
labels: |
7777
org.opencontainers.image.source=${{ github.event.repository.html_url }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
# A push occurs to one of the matched tags.
77
push:
88
tags:
9-
# Pattern that roughly matches Oasis Core Rosetta Gateway's version tags.
9+
# Pattern that roughly matches Oasis Rosetta Gateway's version tags.
1010
# For more details on GitHub Actions' pattern match syntax, see:
1111
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#patterns-to-match-branches-and-tags.
1212
- 'v[0-9]+.[0-9]+*'
@@ -59,7 +59,7 @@ jobs:
5959
make release-build
6060
env:
6161
# Instruct Make to create a real release.
62-
OASIS_CORE_ROSETTA_GATEWAY_REAL_RELEASE: "true"
62+
OASIS_ROSETTA_GATEWAY_REAL_RELEASE: "true"
6363
# Pass automatically created GitHub App installation token to the action.
6464
# For more info, see:
6565
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*.a
44
*.o
55
*.so
6-
oasis-core-rosetta-gateway
6+
oasis-rosetta-gateway
77
tests/oasis-net-runner
88
tests/oasis-node
99
tests/oasis_core_release.tar.gz

.goreleaser.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,23 @@
55
# NOTE: The GoReleaser is not meant to be run directly, but rather through
66
# Make's release-build target.
77

8-
project_name: Oasis Core Rosetta Gateway
8+
project_name: Oasis Rosetta Gateway
99

1010
env:
1111
# Require use of Go modules.
1212
- GO111MODULE=on
1313

1414
builds:
15-
- id: oasis-core-rosetta-gateway
16-
binary: oasis-core-rosetta-gateway
15+
- id: oasis-rosetta-gateway
16+
binary: oasis-rosetta-gateway
1717
flags:
1818
- -trimpath
1919
ldflags:
2020
# NOTE: At the moment, GoReleaser produces different binaries when
2121
# releases are built from different git paths, unless -buildid= is added
2222
# to ldflags.
23-
# For more details, see: https://github.com/oasislabs/goreleaser/issues/1.
23+
# For more details, see:
24+
# https://github.com/oasisprotocol/oasis-core/issues/4124.
2425
- -buildid=
2526
- "{{.Env.GOLDFLAGS_VERSION}}"
2627
goos:

CHANGELOG.md

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ The format is inspired by [Keep a Changelog].
3131
### Features
3232

3333
- Bump Oasis Core to 21.3.5
34-
([#241](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/241))
34+
([#241](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/241))
3535

3636
### Internal Changes
3737

3838
- go: bump github.com/ethereum/go-ethereum to 1.10.9
39-
([#241](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/241))
39+
([#241](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/241))
4040

4141
It fixes a DoS issue via a maliciously crafted p2p message.
4242
For more details, see [GHSA-59hh-656j-3p7v].
@@ -53,47 +53,47 @@ The format is inspired by [Keep a Changelog].
5353
### Features
5454

5555
- Bump Oasis Core to 21.2.8
56-
([#217](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/217),
57-
[#232](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/232))
56+
([#217](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/217),
57+
[#232](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/232))
5858

5959
### Bug Fixes
6060

6161
- Fix possible `nil` pointer dereference in `GetStatus`
62-
([#196](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/196))
62+
([#196](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/196))
6363

6464
### Documentation Improvements
6565

6666
- Note that `RELEASE_BRANCH` variable needs to be exported in [Release Process]
67-
([#198](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/198),
68-
[#200](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/200))
67+
([#198](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/198),
68+
[#200](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/200))
6969

7070
[Release Process]: docs/release-process.md
7171

7272
### Internal Changes
7373

7474
- changelog: Automatically add important versions table
75-
([#198](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/198))
75+
([#198](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/198))
7676

7777
- go: bump github.com/vmihailenco/msgpack/v5 from 5.0.0-beta.1 to 5.3.4
78-
([#210](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/210))
78+
([#210](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/210))
7979

8080
- docker: Improve build steps and ignore everything in .dockerignore
81-
([#222](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/222))
81+
([#222](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/222))
8282

8383
- github: Add [docker workflow] for testing building Docker images
84-
([#222](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/222))
84+
([#222](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/222))
8585

8686
[docker workflow]:
87-
https://github.com/oasisprotocol/oasis-core/actions?query=workflow:docker
87+
https://github.com/oasisprotocol/oasis-rosetta-gateway/actions?query=workflow:docker
8888

8989
- ci: bump docker/build-push-action from 2.5.0 to 2.6.1
90-
([#223](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/223))
90+
([#223](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/223))
9191

9292
- ci: bump actions/setup-node from 2.1.5 to 2.4.0
93-
([#229](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/229))
93+
([#229](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/229))
9494

9595
- go: bump google.golang.org/grpc from 1.38.0 to 1.39.1
96-
([#230](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/230))
96+
([#230](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/230))
9797

9898
## 1.1.0 (2021-04-22)
9999

@@ -105,39 +105,39 @@ The format is inspired by [Keep a Changelog].
105105
### Features
106106

107107
- Add epoch number to block metadata
108-
([#188](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/188))
108+
([#188](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/188))
109109

110110
### Documentation Improvements
111111

112112
- Add Oasis Core version to important versions listed in the Change Log
113-
([#191](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/191))
113+
([#191](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/191))
114114

115115
### Internal Changes
116116

117117
- ci: bump actions/setup-node from v2.1.2 to v2.1.3
118-
([#139](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/139))
118+
([#139](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/139))
119119

120120
- ci: bump actions/setup-node from v2.1.3 to v2.1.5
121-
([#166](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/166))
121+
([#166](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/166))
122122

123123
- oasis: Use GetChainContext method instead of fetching genesis document
124-
([#180](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/180))
124+
([#180](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/180))
125125

126126
- ci: bump golangci/golangci-lint-action from v2.3.0 to v2.5.2
127-
([#183](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/183))
127+
([#183](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/183))
128128

129129
- go: bump google.golang.org/grpc from 1.36.0 to 1.37.0
130-
([#185](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/185))
130+
([#185](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/185))
131131

132132
- ci: bump actions/setup-python from v2.1.4 to v2.2.2
133-
([#186](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/186))
133+
([#186](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/186))
134134

135135
- Bump Oasis Core version to 21.1
136-
([#175](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/175),
137-
[#187](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/187))
136+
([#175](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/175),
137+
[#187](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/187))
138138

139139
- ci: Bump golangci-lint version in *ci-lint* GitHub Actions workflow to 1.39
140-
([#190](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/190))
140+
([#190](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/190))
141141

142142
## 1.0.0 (2020-12-14)
143143

@@ -148,15 +148,15 @@ The format is inspired by [Keep a Changelog].
148148
### Process
149149

150150
- Define project's release process
151-
([#55](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/55))
151+
([#55](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/55))
152152

153153
For more details, see [Release Process]
154154

155155
[Release Process]: docs/release-process.md
156156

157157
- Add Change Log and the Change Log fragments process for assembling it
158-
([#120](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/120),
159-
[#140](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/140))
158+
([#120](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/120),
159+
[#140](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/140))
160160

161161
This follows the same Change Log fragments process as is used by [Oasis Core].
162162

@@ -166,7 +166,7 @@ The format is inspired by [Keep a Changelog].
166166
[Change Log fragments]: .changelog/README.md
167167

168168
- Define project's versioning
169-
([#122](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/122))
169+
([#122](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/122))
170170

171171
Adopt a [Semantic Versioning 2.0.0].
172172

@@ -178,60 +178,60 @@ The format is inspired by [Keep a Changelog].
178178
### Features
179179

180180
- common: Add package implementing common things for Oasis Core Rosetta Gateway
181-
([#128](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/128))
181+
([#128](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/128))
182182

183183
Initially, it stores the versions of the Rosetta API, Go toolchain and the
184184
Oasis Core Rosetta Gateway itself.
185185

186186
- cli: Add `-version` flag to `oasis-core-rosetta-gateway` binary
187-
([#128](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/128),
188-
[#134](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/134))
187+
([#128](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/128),
188+
[#134](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/134))
189189

190190
- common: Add `GetOasisCoreVersion()` helper for obtaining Oasis Core's version
191-
([#134](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/134))
191+
([#134](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/134))
192192

193193
### Internal Changes
194194

195195
- ci: bump golangci/golangci-lint-action from v2.2.0 to v2.3.0
196-
([#90](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/90))
196+
([#90](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/90))
197197

198198
- Add linting for Change Log fragments
199-
([#120](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/120))
199+
([#120](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/120))
200200

201201
Add `lint-changelog` Make target and *Lint Change Log fragments* step to the
202202
*ci-lint* GitHub Actions workflow.
203203

204204
- Use [Punch] tool for tracking and bumping project's version
205-
([#122](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/122))
205+
([#122](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/122))
206206

207207
[Punch]: https://github.com/lgiordani/punch
208208

209209
- Make: Add `changelog` target for assembling the Change Log
210-
([#122](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/122))
210+
([#122](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/122))
211211

212212
- Make: Add `fetch-git` target for fetching changes from the canonical git repo
213-
([#122](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/122))
213+
([#122](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/122))
214214

215215
- go: bump google.golang.org/grpc from 1.32.0 to 1.34.0
216-
([#126](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/126))
216+
([#126](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/126))
217217

218218
- cli: Extract port setting steps to `getPortOrExit()` function
219-
([#128](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/128))
219+
([#128](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/128))
220220

221221
- Make: Add reproducibility and version info flags to Go builds
222-
([#128](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/128))
222+
([#128](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/128))
223223

224224
- go: Bump Oasis Core dependency to 20.12.3
225-
([#131](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/131))
225+
([#131](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/131))
226226

227227
- github: Add [*release* GitHub Actions workflow]
228-
([#138](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/138))
228+
([#138](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/138))
229229

230230
[*release* GitHub Actions workflow]:
231-
https://github.com/oasisprotocol/oasis-core-rosetta-gateway/actions?query=workflow:release
231+
https://github.com/oasisprotocol/oasis-rosetta-gateway/actions?query=workflow:release
232232

233233
- Make: Add `release-tag`, `release-stable-branch` and `release-build` targets
234-
([#138](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/138))
234+
([#138](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/138))
235235

236236
They can be used for:
237237

@@ -241,6 +241,6 @@ The format is inspired by [Keep a Changelog].
241241
- `release-build`: building and publishing a release.
242242

243243
- Use [GoReleaser] tool for building and publishing releases
244-
([#138](https://github.com/oasisprotocol/oasis-core-rosetta-gateway/issues/138))
244+
([#138](https://github.com/oasisprotocol/oasis-rosetta-gateway/issues/138))
245245

246246
[GoReleaser]: https://goreleaser.com/

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ test: build build-tests tests/oasis-net-runner tests/oasis-node tests/rosetta-cl
6464
fmt:
6565
@$(ECHO) "$(CYAN)*** Running Go formatters...$(OFF)"
6666
@gofumpt -s -w .
67-
@gofumports -w -local github.com/oasisprotocol/oasis-core-rosetta-gateway .
67+
@gofumports -w -local github.com/oasisprotocol/oasis-rosetta-gateway .
6868

6969
# Lint code, commits and documentation.
7070
lint-targets := lint-go lint-docs lint-changelog lint-git lint-go-mod-tidy
@@ -159,7 +159,7 @@ release-stable-branch: fetch-git
159159
# Build and publish the next release.
160160
release-build:
161161
@$(ENSURE_VALID_RELEASE_BRANCH_NAME)
162-
ifeq ($(OASIS_CORE_ROSETTA_GATEWAY_REAL_RELEASE), true)
162+
ifeq ($(OASIS_ROSETTA_GATEWAY_REAL_RELEASE), true)
163163
@$(ENSURE_GIT_VERSION_EQUALS_PUNCH_VERSION)
164164
endif
165165
@$(ECHO) "$(CYAN)*** Creating release for version $(PUNCH_VERSION)...$(OFF)"

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Oasis Core Rosetta Gateway
1+
# Oasis Rosetta Gateway
22

33
[![CI test status][github-ci-tests-badge]][github-ci-tests-link]
44
[![CI lint status][github-ci-lint-badge]][github-ci-lint-link]
55
[![Docker status][github-docker-badge]][github-docker-link]
66
[![Release status][github-release-badge]][github-release-link]
77

88
<!-- markdownlint-disable line-length -->
9-
[github-ci-tests-badge]: https://github.com/oasisprotocol/oasis-core-rosetta-gateway/workflows/ci-tests/badge.svg
10-
[github-ci-tests-link]: https://github.com/oasisprotocol/oasis-core-rosetta-gateway/actions?query=workflow:ci-tests+branch:master
11-
[github-ci-lint-badge]: https://github.com/oasisprotocol/oasis-core-rosetta-gateway/workflows/ci-lint/badge.svg
12-
[github-ci-lint-link]: https://github.com/oasisprotocol/oasis-core-rosetta-gateway/actions?query=workflow:ci-lint+branch:master
13-
[github-docker-badge]: https://github.com/oasisprotocol/oasis-core-rosetta-gateway/workflows/docker/badge.svg
14-
[github-docker-link]: https://github.com/oasisprotocol/oasis-core-rosetta-gateway/actions?query=workflow:docker
15-
[github-release-badge]: https://github.com/oasisprotocol/oasis-core-rosetta-gateway/workflows/release/badge.svg
16-
[github-release-link]: https://github.com/oasisprotocol/oasis-core-rosetta-gateway/actions?query=workflow:release
9+
[github-ci-tests-badge]: https://github.com/oasisprotocol/oasis-rosetta-gateway/workflows/ci-tests/badge.svg
10+
[github-ci-tests-link]: https://github.com/oasisprotocol/oasis-rosetta-gateway/actions?query=workflow:ci-tests+branch:master
11+
[github-ci-lint-badge]: https://github.com/oasisprotocol/oasis-rosetta-gateway/workflows/ci-lint/badge.svg
12+
[github-ci-lint-link]: https://github.com/oasisprotocol/oasis-rosetta-gateway/actions?query=workflow:ci-lint+branch:master
13+
[github-docker-badge]: https://github.com/oasisprotocol/oasis-rosetta-gateway/workflows/docker/badge.svg
14+
[github-docker-link]: https://github.com/oasisprotocol/oasis-rosetta-gateway/actions?query=workflow:docker
15+
[github-release-badge]: https://github.com/oasisprotocol/oasis-rosetta-gateway/workflows/release/badge.svg
16+
[github-release-link]: https://github.com/oasisprotocol/oasis-rosetta-gateway/actions?query=workflow:release
1717
<!-- markdownlint-enable line-length -->
1818

1919
This repository implements the [Rosetta] server for the [Oasis Network].
@@ -80,7 +80,7 @@ address (e.g. `unix:/path/to/node/internal.sock`).
8080
Optionally, set the `OASIS_ROSETTA_GATEWAY_PORT` environment variable to the
8181
port that you want the gateway to listen on (default is 8080).
8282

83-
Start the gateway simply by running the executable `oasis-core-rosetta-gateway`.
83+
Start the gateway simply by running the executable `oasis-rosetta-gateway`.
8484

8585
<!-- markdownlint-disable line-length -->
8686
[Run a Non-validator Node]:

0 commit comments

Comments
 (0)