Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteOtter committed Jan 12, 2024
0 parents commit dc76e41
Show file tree
Hide file tree
Showing 14 changed files with 537 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Bug report
about: Found an issue? Please let us know!
title: "[BUG:]"
labels: ''
assignees: ''

---

# Found an issue? Please let us know!

<!-- Please provide a description of the bug you found here -->

### Please tick the applicable box(es) regarding the kind of bug you found:

<!-- Please note that bugs regarding the CLI and the core functionality of Nester receive priority. -->

- [ ] Broken feature
- [ ] Wrong documentation
- [ ] Broken dependency

### Steps to reproduce

<!-- Please provide a detailed description of steps we have to take to reproduce your issue.
Please be aware that bugs which cannot be reproduced cannot be fixed.
Use these snippets as reference:
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
-->

### Additional context

<!--
Use this section to provide us with additional context.<br>
Especially screenshots are a useful tool to let us reproduce and find issues more quickly.
-->
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Feature Request
about: You would like us to add something? Add it here!
title: "[FR:]"
labels: ''
assignees: ''

---
# You would like to suggest a new feature?

<!-- Please provide a description of what you want to be added.
Please note that requests for new languages can only be processed if they have a standardized project layout we can use as reference.
Linking to official language documentation with a diagram or description of said layout would also be very helpful. Thank you.
-->

***
## Is your feature request related to a problem you had? Please describe:

<!-- Description -->

## Additional context

<!-- Please provide additional context like drafts or screenshots here. -->
29 changes: 29 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# What does this PR change?

<!-- provide a short description what exactly your PR changes here -->

Tick the applicable box:
- [ ] Add new feature
- [ ] Security changes
- [ ] Tests
- [ ] Documentation changed
<br/>

- [ ] General Maintenance

## Links

<!-- In case your changes fix an existing issue please link it below: -->

Fixes:

- [ ] DONE

## Documentation

<!-- provide description about documentation done here or remove this line -->

- No documentation needed
<br/>

- [ ] DONE
40 changes: 40 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
rust:
- src/**/*.rs

collector:
- src/collectors/**/*

network-collector:
- src/collectors/network_collector.rs

system-collector:
- src/collectors/dmi_collector.rs

configuration:
- src/configuration/**/*.rs

publisher:
- src/publisher/*

api-client:
- src/publisher/api_client/*

dependencies:
- Cargo.toml
- Cargo.lock

documentation:
- README.md
- LICENSE
- CODE_OF_CONDUCT.md
- CONTRIBUTING

tests:
- tests/*

code-quality:
- .pre-commit-hooks/*
- .pre-commit-config.yaml

maintenance:
- .github/*
26 changes: 26 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Dependency Vulnerability Audit

on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 0 * * 0'

jobs:
vulnerability_audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
use-cross: true
command: audit
args: --color always
22 changes: 22 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Labeler
on: [pull_request_target]

jobs:
label:

runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
23 changes: 23 additions & 0 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Style checking

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
rustfmt:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run cargo fmt
run: cargo fmt -- --check

- name: Run cargo clippy
run: cargo clippy
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Execute Tests

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
cargo-test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Run Cargo test
run: cargo test --verbose
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading

0 comments on commit dc76e41

Please sign in to comment.