Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add Cargo.lock to .gitignore

Update all GitHub workflows

Update Cargo.tomls to point to upstream ibc-proto

Add root level README.md

Add CONTRIBUTING.md

Rename branch master -> main in CONTRIBUTING.md

Add ADR dir

Fix links to point to cosmos/ibc-rs

Add license file

Fix workflow triggers to use main branch

Fix links

Fix workflow trigger paths

Remove references to hermes in docs

Update README.md

Removed Requirements section. I don't think it adds much value, and it would always fall behind (e.g. it was saying the latest Rust version is 1.60).
Update README.md

Remove the term "IBC module"
Update README.md
Update README.md
Update README.md
Fix dependabot.yml ibc crate directory

Bump tendermint-rs dependencies to v0.25.0
  • Loading branch information
hu55a1n1 committed Sep 29, 2022
1 parent b620dd8 commit 0db0412
Show file tree
Hide file tree
Showing 20 changed files with 679 additions and 140 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ v Please also ensure that this is not a duplicate issue :)

## Version

<!-- `hermes version`, ibc-rs release version, or git commit hash -->
<!-- ibc-rs release version or git commit hash -->

## Steps to Reproduce

Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/release-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ v without deliberation
- If doing a release candidate (`rc`) version, then skip the `unclog release` step.
- [ ] Bump all crate versions to the new version.
- [ ] Reassign unfinished issues of previous milestone to the next milestone.
- [ ] Update Cargo.lock file (if re-publishing `ibc-relayer-cli`)
5 changes: 1 addition & 4 deletions .github/ISSUE_TEMPLATE/rust-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ Rust version:
- [ ] Update the `rust-version` fields in all `Cargo.toml` files.
- [ ] Update the `msrv` field in `clippy.toml` and fix all lints reported by
`cargo clippy --all-features`.
- [ ] Update the MSRV shields in README files:
- `README.md`
- `relayer-rest/README.md`
- [ ] Update the MSRV in the guide: `guide/src/pre_requisites.md`
- [ ] Update the MSRV shields in `README.md` file.
- [ ] Add a `.changelog` entry to the `breaking-changes` section,
announcing the new MSRV.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ______

### PR author checklist:
- [ ] Added changelog entry, using [`unclog`](https://github.com/informalsystems/unclog).
- [ ] Added tests: integration (for Hermes) or unit/mock tests (for modules).
- [ ] Added tests.
- [ ] Linked to GitHub issue.
- [ ] Updated code comments and documentation (e.g., `docs/`).
- [ ] Tagged *one* reviewer who will be the one responsible for shepherding this PR.
Expand Down
35 changes: 1 addition & 34 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,8 @@

version: 2
updates:
# Enable version updates for npm
- package-ecosystem: "cargo"
# Look for Cargo `.toml` and `.lock` files in the `root` directory
directory: "/"
# Check the cargo registry for updates every day (weekdays)
schedule:
interval: "weekly"

- package-ecosystem: "cargo"
directory: "modules"
schedule:
interval: "weekly"

- package-ecosystem: "cargo"
directory: "proto"
schedule:
interval: "weekly"

## Disable dependabot for `proto-compiler`.
## Rationale: we maintain the dependencies for proto-compiler
## manually, so that we update the proto-compiler binary
## (and the Cargo.lock file) only when we regenerate
## Rust types from the .proto files.
# - package-ecosystem: "cargo"
# directory: "proto-compiler"
# schedule:
# interval: "weekly"

- package-ecosystem: "cargo"
directory: "relayer"
schedule:
interval: "weekly"

- package-ecosystem: "cargo"
directory: "relayer-cli"
directory: "crates/ibc"
schedule:
interval: "weekly"

Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/no-std.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@ on:
- Cargo.toml
- Cargo.lock
- ci/**
- proto/**
- modules/**
- crates/**
push:
branches: master
branches: main
paths:
- .github/workflows/no-std.yml
- Cargo.toml
- Cargo.lock
- ci/**
- proto/**
- modules/**
- crates/**

jobs:
check-no-std-panic-conflict:
Expand Down
28 changes: 6 additions & 22 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,15 @@ on:
paths:
- .github/workflows/rust.yml
- Cargo.toml
- Cargo.lock
- ci/**
- e2e/**
- proto/**
- modules/**
- relayer/**
- relayer-cli/**
- relayer-rest/**
- telemetry/**
- tools/**
- crates/**
push:
branches: master
branches: main
paths:
- .github/workflows/rust.yml
- Cargo.toml
- Cargo.lock
- ci/**
- e2e/**
- proto/**
- modules/**
- relayer/**
- relayer-cli/**
- relayer-rest/**
- telemetry/**
- tools/**
- crates/**

env:
CARGO_INCREMENTAL: 0
Expand All @@ -45,7 +29,7 @@ jobs:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"

fmt:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -88,7 +72,7 @@ jobs:
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --no-default-features --all-targets
args: --no-default-features

test-stable:
runs-on: ubuntu-latest
Expand All @@ -107,7 +91,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --no-fail-fast --workspace --exclude ibc-integration-test -- --nocapture
args: --all-features --no-fail-fast --workspace -- --nocapture

# test-coverage:
# runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ mc.log

# Ignore OSX .DS_Store file
.DS_Store

Cargo.lock
Loading

0 comments on commit 0db0412

Please sign in to comment.