Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 3bf9540

Browse files
Rename PAINT to PALETTE (#4161)
* /paint to /palette * rename paint to palette * rename the modules in palette to be pallets * update Structure.adoc * bump impl * fix CI directory * Update docs/Structure.adoc Co-Authored-By: Benjamin Kampmann <[email protected]>
1 parent f88655a commit 3bf9540

File tree

206 files changed

+898
-888
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+898
-888
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ test-dependency-rules: &test-linux
155155
script:
156156
- .maintain/ensure-deps.sh
157157

158-
test-paint-staking: &test-paint-staking
158+
test-palette-staking: &test-palette-staking
159159
stage: test
160160
<<: *docker-env
161161
variables:
@@ -167,7 +167,7 @@ test-paint-staking: &test-paint-staking
167167
variables:
168168
- $DEPLOY_TAG
169169
script:
170-
- cd paint/staking/
170+
- cd palette/staking/
171171
- WASM_BUILD_NO_COLOR=1 time cargo test --release --verbose --no-default-features --features std
172172
- sccache -s
173173

.maintain/ensure-deps.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
# [top-lvl-dir]<[crate-name-prefix]
77

88
# For instance no crate within `./client` directory
9-
# is allowed to import any crate with a directory path containing `paint`.
10-
# Such rule is just: `client<paint`.
9+
# is allowed to import any crate with a directory path containing `palette`.
10+
# Such rule is just: `client<palette`.
1111

1212
# The script should be run from the main repo directory!
1313

1414
set -u
1515

1616
PLEASE_DONT=(
17-
"client<paint"
17+
"client<palette"
1818
"client<node"
19-
"paint<node"
20-
"paint<client"
21-
"primitives<paint"
19+
"palette<node"
20+
"palette<client"
21+
"primitives<palette"
2222
"primitives<client"
2323
)
2424

.maintain/gitlab/check_runtime.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
#
33
#
4-
# check for any changes in the node/src/runtime, paint/ and core/sr_* trees. if
4+
# check for any changes in the node/src/runtime, palette/ and core/sr_* trees. if
55
# there are any changes found, it should mark the PR breaksconsensus and
66
# "auto-fail" the PR if there isn't a change in the runtime/src/lib.rs file
77
# that alters the version.
@@ -32,7 +32,7 @@ github_label () {
3232

3333
# check if the wasm sources changed
3434
if ! git diff --name-only origin/master...${CI_COMMIT_SHA} \
35-
| grep -q -e '^node/src/runtime' -e '^paint/' -e '^core/sr-' | grep -v -e '^core/sr-arithmetic/fuzzer'
35+
| grep -q -e '^node/src/runtime' -e '^palette/' -e '^core/sr-' | grep -v -e '^core/sr-arithmetic/fuzzer'
3636
then
3737
cat <<-EOT
3838
@@ -102,7 +102,7 @@ else
102102
103103
source file directories:
104104
- node/src/runtime
105-
- paint
105+
- palette
106106
- core/sr-*
107107
108108
versions file: ${VERSIONS_FILE}

0 commit comments

Comments
 (0)