Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sling: update to v1.5.1 #504

Merged
merged 2 commits into from
Mar 10, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
27 changes: 0 additions & 27 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,33 +96,6 @@ jobs:

plugin_dirs=''

if [[ '${{ github.event_name }}' == 'pull_request' ]]
then
# Fetch and checkout branches to permit the 'git diff' below.
git fetch && git checkout ${{ github.base_ref }}

head_ref='${{ github.head_ref }}'
source_repo="${{ github.event.pull_request.head.repo.full_name }}"
# Fetch and update local head ref if the source repository is not ours.
if [[ "$source_repo" != "${{ github.repository }}" ]]
then
git remote add other-remote https://github.com/$source_repo
git fetch other-remote
head_ref="other-remote/${{ github.head_ref }}"
fi

# Restore original state
git checkout ${{ github.head_ref }}

# Collect the plugins that have changed.
plugin_dirs=$(git diff --name-only ${{ github.base_ref }} $head_ref \
| cut -d '/' -f1 \
| uniq \
| grep -v '^\.' \
| grep -v 'archived' \
| xargs -I {} find {} -maxdepth 0 -type d)
fi

# Run the tests: In the case of a 'pull_request' event only the plugins in `plugin_dirs`
# are going to be tested; otherwise ('push' event) we test all plugins.
python3 .ci/test.py $(echo "$plugin_dirs")
Expand Down
2 changes: 1 addition & 1 deletion sling
Submodule sling updated 19 files
+191 −127 Cargo.lock
+3 −3 Cargo.toml
+9 −0 coffee.yml
+137 −176 src/config.rs
+27 −10 src/dijkstra.rs
+0 −49 src/errors.rs
+0 −217 src/jobs.rs
+3 −0 src/lib.rs
+110 −164 src/main.rs
+219 −79 src/model.rs
+165 −0 src/parse.rs
+343 −0 src/response.rs
+3 −20 src/rpc_cln.rs
+493 −0 src/rpc_sling.rs
+171 −541 src/slings.rs
+181 −170 src/stats.rs
+187 −70 src/tasks.rs
+53 −492 src/util.rs
+263 −147 tests/test_sling.py