diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 1106474..0000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,34 +0,0 @@ -**Note: for support questions, please use stackoverflow**. This repository's issues are reserved for feature requests and bug reports. - -* **I'm submitting a ...** - - [ ] bug report - - [ ] feature request - - [ ] support request => Please do not submit support request here, see note at the top of this template. - - -* **Do you want to request a *feature* or report a *bug*?** - - - -* **What is the current behavior?** - - - -* **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem** - - - -* **What is the expected behavior?** - - - -* **What is the motivation / use case for changing the behavior?** - - - -* **Please tell us about your environment:** - - - Version: v1.0.0 - - OS: [Windows | Linux | Mac] - -* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc) diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 155a1eb..0000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -name: Bug Report -about: Create a report to help us improve -title: "Bug: " -labels: bug -assignees: Xanthus58 ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Command to reproduce this behaviour: -`` - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. Fedora Linux] - - Version [e.g. 6.0.0] - -**Additional context** -Add any other context about the problem here. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..e373e93 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,62 @@ +name: Bug report +description: Create a report to help us improve +labels: [bug] +assignees: Xanthus58 +body: + - type: markdown + attributes: + value: > + **Thanks for filing a ๐Ÿ› bug report ๐Ÿ˜„!** + + - type: textarea + id: problem + attributes: + label: Problem + description: > + A clear and concise description of what the bug is, + including what currently happens and what you expected to happen. + validations: + required: true + + - type: textarea + id: steps + attributes: + label: Steps + description: The steps to reproduce the bug. + placeholder: | + 1. + 2. + 3. + validations: + required: true + + - type: textarea + id: solutions + attributes: + label: Possible Solution(s) + description: > + Not obligatory, but suggest a fix/reason for the bug, + or ideas how to implement the addition or change. + + - type: textarea + id: notes + attributes: + label: Notes + + - type: textarea + id: version + attributes: + label: Rustup version + description: Output of `rustup --version` + render: console + validations: + required: true + + - type: textarea + id: toolchains + attributes: + label: Installed toolchains + description: Output of `rustup show` + render: console + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/enhancement_request.yml b/.github/ISSUE_TEMPLATE/enhancement_request.yml new file mode 100644 index 0000000..75d772c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/enhancement_request.yml @@ -0,0 +1,34 @@ +name: Enhancement request +description: Suggest an enhancement for this project +labels: [enhancement] +assignees: Xanthus58 +body: + - type: markdown + attributes: + value: > + **Thanks for filing an ๐Ÿ™‹ enhancement request ๐Ÿ˜„!** + + - type: textarea + id: problem + attributes: + label: Problem you are trying to solve + description: > + A clear and concise description of the problem this enhancement request is trying to solve. + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Solution you'd like + description: > + A clear and concise description of what you want to happen. + validations: + required: true + + - type: textarea + id: notes + attributes: + label: Notes + description: > + Any additional context or information you feel may be relevant to the issue. diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md deleted file mode 100644 index edec139..0000000 Binary files a/.github/ISSUE_TEMPLATE/feature-request.md and /dev/null differ diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index e0da0d5..5c45cf9 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -3,7 +3,6 @@ name: Pull Request about: Create a PR and assist the development team title: " " assignees: Xanthus58 - --- * **Please check if the PR fulfills these requirements** diff --git a/.github/workflows/artifacts.yaml b/.github/workflows/artifacts.yaml deleted file mode 100644 index 1230ca5..0000000 --- a/.github/workflows/artifacts.yaml +++ /dev/null @@ -1,28 +0,0 @@ -on: - release: - types: [created] - -name: Build-Artifacts -jobs: - release: - name: release ${{ matrix.target }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - include: - - target: x86_64-pc-windows-gnu - archive: zip - - target: x86_64-unknown-linux-musl - archive: tar.gz tar.xz tar.zst - - target: x86_64-apple-darwin - archive: zip - steps: - - uses: actions/checkout@master - - name: Compile and release - uses: rust-build/rust-build.action@v1.4.3 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - RUSTTARGET: ${{ matrix.target }} - ARCHIVE_TYPES: ${{ matrix.archive }} \ No newline at end of file diff --git a/.github/workflows/rust-core.yaml b/.github/workflows/rust-core.yaml deleted file mode 100644 index 30f96af..0000000 --- a/.github/workflows/rust-core.yaml +++ /dev/null @@ -1,97 +0,0 @@ -# A custom github action for all of the core jobs i want done across all of my repos -# Made by @Xanthus58 - -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support. - -name: Rust-Core - -on: - push: - branches: [ "*" ] - -jobs: -# Ensure the application can be built and run successfully - build: - name: Run Cargo build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose - -# Ensures theres no security vulnerabilities in the programs dependencies - security_audit: - name: Run Security-audit - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions-rs/audit-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - -# Runs rust clippy for any and all suggestions - rust-clippy-analyze: - name: Run rust-clippy analyzing - runs-on: ubuntu-latest - permissions: - contents: read - security-events: write - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Install Rust toolchain - uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af #@v1 - with: - profile: minimal - toolchain: stable - components: clippy - override: true - - - name: Install required cargo - run: cargo install clippy-sarif sarif-fmt - - - name: Run rust-clippy - run: - cargo clippy - --all-features - --message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt - continue-on-error: true - - - name: Upload analysis results to GitHub - uses: github/codeql-action/upload-sarif@v1 - with: - sarif_file: rust-clippy-results.sarif - wait-for-processing: true - -# Runs cargo fmt and pushes any changes to the github repo - update: - name: Run Cargo FMT - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: - -# Runs cargo update to update the cargo.lock file - update: - name: Run Cargo update - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - - uses: actions-rs/cargo@v1 - with: - command: update - args: \ No newline at end of file diff --git a/README.md b/README.md index d18769d..5c34820 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,9 @@ Easycompile is a small script for windows, linux, and macos that'll fetch the mo winget install Git.Git; winget install Rustlang.Rustup; cd ~; git clone https://github.com/Xanthus58/vault_gui; cd vault_gui; cargo build --release; cd .\target\release; mv vault_gui.exe ..\..\; cd ..\..\; rm -r .\target\; .\vault_gui.exe ``` -### ๐ŸงLinux (Debian+) (Untested) +### ๐ŸงLinux (Debian+) ``` +sudo su; apt install git; curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh; cd ~; git clone https://github.com/Xanthus58/vault_gui; cd vault_gui; cargo build --release; cd ./target/release; mv vault_gui.exe ../../; cd ../../; rm -r ./target/; ./vault_gui.exe ``` ### ๐ŸŽMacos diff --git a/config.toml b/config.toml deleted file mode 100644 index 9e3c0ab..0000000 --- a/config.toml +++ /dev/null @@ -1,5 +0,0 @@ -#Enter your MySQL information below for caching -ip = '' -port = '3306' -username = '' -password = '' \ No newline at end of file