Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .maintain/ensure-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
# [top-lvl-dir]<[crate-name-prefix]

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

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

set -u

PLEASE_DONT=(
"client<paint"
"client<palette"
"client<node"
"paint<node"
"paint<client"
"primitives<paint"
"palette<node"
"palette<client"
"primitives<palette"
"primitives<client"
)

Expand Down
6 changes: 3 additions & 3 deletions .maintain/gitlab/check_runtime.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
#
#
# check for any changes in the node/src/runtime, paint/ and core/sr_* trees. if
# check for any changes in the node/src/runtime, palette/ and core/sr_* trees. if
# there are any changes found, it should mark the PR breaksconsensus and
# "auto-fail" the PR if there isn't a change in the runtime/src/lib.rs file
# that alters the version.
Expand Down Expand Up @@ -32,7 +32,7 @@ github_label () {

# check if the wasm sources changed
if ! git diff --name-only origin/master...${CI_COMMIT_SHA} \
| grep -q -e '^node/src/runtime' -e '^paint/' -e '^core/sr-' | grep -v -e '^core/sr-arithmetic/fuzzer'
| grep -q -e '^node/src/runtime' -e '^palette/' -e '^core/sr-' | grep -v -e '^core/sr-arithmetic/fuzzer'
then
cat <<-EOT

Expand Down Expand Up @@ -102,7 +102,7 @@ else

source file directories:
- node/src/runtime
- paint
- palette
- core/sr-*

versions file: ${VERSIONS_FILE}
Expand Down
Loading