Skip to content

Commit

Permalink
feat(wip): icmp caller support (#1)
Browse files Browse the repository at this point in the history
* feat(wip): icmp caller support

* feat(wip): another attempt at fixing the mess

* fix: switch to blocking reqwest

* chore: formatting

* fix: lint issues

* test: monitor_url to monitor_target
  • Loading branch information
aldy505 authored Sep 17, 2023
1 parent 446403d commit 3f879b7
Show file tree
Hide file tree
Showing 18 changed files with 649 additions and 186 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
override: true
components: rustfmt, clippy

Expand All @@ -49,15 +49,3 @@ jobs:
with:
command: test
args: --workspace --no-fail-fast
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'

- name: Generate coverage
id: coverage
uses: actions-rs/grcov@v0.1

- uses: codecov/codecov-action@v3
with:
files: ${{ steps.coverage.outputs.report }}
14 changes: 1 addition & 13 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
toolchain: stable
override: true
components: rustfmt, clippy

Expand All @@ -46,15 +46,3 @@ jobs:
with:
command: test
args: --workspace --no-fail-fast
env:
CARGO_INCREMENTAL: '0'
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'

- name: Generate coverage
id: coverage
uses: actions-rs/grcov@v0.1

- uses: codecov/codecov-action@v3
with:
files: ${{ steps.coverage.outputs.report }}
7 changes: 7 additions & 0 deletions .idea/discord.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ Bear in mind to keep your contributions under the [Code of Conduct](./.github/CO

## Bug report, ideas, and suggestion

The [issues](https://github.com/teknologi-umum/polarite/issues) page is a great way to communicate to us.
Other than that, we have a [Telegram group](https://t.me/teknologi_umum_v2) that you can discuss your ideas into.
The [issues](https://github.com/teknologi-umum/polarite/issues) page is a great way to communicate to us.
Other than that, we have a [Telegram group](https://t.me/teknologi_umum_v2) that you can discuss your ideas into.
If you're not an Indonesian speaker, it's 100% fine to talk in English there.

Please make sure that the issue you're creating is in as much detail as possible. Poor communication might lead to a big mistake, we're trying to avoid that.
Please make sure that the issue you're creating is in as much detail as possible. Poor communication might lead to a big
mistake, we're trying to avoid that.

## Pull request

**A big heads up before you're writing a breaking change code or a new feature: Please open up an
[issue](https://github.com/teknologi-umum/polarite/issues) regarding what you're working on, or just talk in the
**A big heads up before you're writing a breaking change code or a new feature: Please open up an
[issue](https://github.com/teknologi-umum/polarite/issues) regarding what you're working on, or just talk in the
[Telegram group](https://t.me/teknologi_umum_v2).**

### Prerequisites
Expand All @@ -29,12 +30,13 @@ You will need a few things to get things working:

### Getting Started

1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own Github account and [clone](https://help.github.com/articles/cloning-a-repository/) it to your local machine.
1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own Github account
and [clone](https://help.github.com/articles/cloning-a-repository/) it to your local machine.
2. Run `cargo update` to install the dependencies needed.
3. Run `cargo run` to start the development application.
4. Have fun!

You are encouraged to use [Conventional Commit](https://www.conventionalcommits.org/en/v1.0.0-beta.2/)
You are encouraged to use [Conventional Commit](https://www.conventionalcommits.org/en/v1.0.0-beta.2/)
for your commit message. But it's not really compulsory.

### Testing your change
Expand Down
Loading

0 comments on commit 3f879b7

Please sign in to comment.