diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..2e9b51e --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,13 @@ +# These are supported funding model platforms +#patreon: rehlds +#ko_fi: rehlds +custom: https://rehlds.github.io + +#github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +#open_collective: # Replace with a single Open Collective username +#tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +#community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +#liberapay: # Replace with a single Liberapay username +#issuehunt: # Replace with a single IssueHunt username +#otechie: # Replace with a single Otechie username +#custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..073ed94 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,28 @@ +blank_issues_enabled: true +contact_links: + - name: "metamod-r GitHub Repo" + url: https://github.com/theAsmodai/metamod-r + about: "Official repo" + - name: metamod-r GitHub Documentation + url: https://github.com/theAsmodai/metamod-r/wiki + about: "Documentation" + - name: "metamod-r on dev-cs.ru" + url: https://dev-cs.ru/resources/208/ + about: "Thread at community forum" + - name: "metamod-r site" + url: https://metamod-r.org/ + about: "Official site" + - name: "ReHLDS GitHub Repo" + url: https://github.com/dreamstalker/ReHLDS + about: "Reverse-engineered HLDS" + - name: "ReHLDS GitHub Documentation" + url: https://github.com/dreamstalker/ReHLDS/wiki + about: "Reverse-engineered HLDS Documentation" + - name: "ReHLDS on dev-cs.ru (RU)" + url: https://dev-cs.ru/resources/64/ + about: "Thread at community forum" + - name: "ReHLDS on cs.rin.ru (EN)" + url: https://cs.rin.ru/forum/viewtopic.php?f=29&t=67651 + about: "Thread at community forum" + - name: "ReHLDS site" + url: https://rehlds.ru/ diff --git a/.github/ISSUE_TEMPLATE/template-bug.yml b/.github/ISSUE_TEMPLATE/template-bug.yml new file mode 100644 index 0000000..1a02013 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/template-bug.yml @@ -0,0 +1,151 @@ +name: Bug Report +description: A generic bug report +title: "[BUG]: " +labels: ["Type: Bug", "Status: Available"] +assignees: + - s1lentq +body: + - type: markdown + attributes: + value: Thanks for taking the time to fill out this bug report! + - type: input + id: contact + attributes: + label: Contact Details (optional) + description: How can we get in touch with you if we need more info? + placeholder: ex. email@example.com + validations: + required: false + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + placeholder: Tell us what you see! + value: A bug happened! + validations: + required: true + - type: dropdown + id: mmrversion + attributes: + label: Metamod-r Version + description: What version of Metamod-r are you running? + options: + - 1.3.0.138 (Default) + - 1.3.0.131 + - 1.3.0.128 + - 1.3.0.126 + - 1.3.0.125 + - 1.3.0.119 + - 1.3.0.107 + - 1.3.0.86 + - 1.3.0.85 + - 1.3.0.84 + default: 0 + validations: + required: true + - type: dropdown + id: amxxversion + attributes: + label: AMX Mod X Version + description: What version of AMX Mod X are you running? + options: + - 1.8.2 (Default) + - 1.9.x + - 1.10.x + - I am not use AMX Mod X + default: 0 + validations: + required: true + - type: dropdown + id: engine + attributes: + label: What engine are you seeing the problem on? + multiple: true + options: + - HLDS + - reHLDS + validations: + required: true + - type: dropdown + id: enginever + attributes: + label: What version of engine are you seeing the problem on? + multiple: true + options: + - HLDS (5758) Windows + - HLDS (5787) Linux + - HLDS (6132) Both + - HLDS (6153) Both + - HLDS (6153b) Both + - HLDS (7561) Windows + - HLDS (7559) Linux + - HLDS (7882) Linux + - HLDS (8308) Both + - HLDS (8196) Linux + - HLDS (8684) Both + - reHLDS (Nightly CI build) + - reHLDS (3.13.0.788) + - reHLDS (3.12.0.780) + - reHLDS (3.11.0.779) + - reHLDS (3.11.0.777) + - reHLDS (3.11.0.776) + - reHLDS (3.11.0.767) + - reHLDS (3.10.0.761) + - reHLDS (3.10.0.760) + - reHLDS (3.10.0.760-dev) + - reHLDS (3.10.0.759) + - reHLDS (3.9.0.752) + - reHLDS (3.8.0.739) + - reHLDS (3.8.0.723) + - reHLDS (3.8.0.715) + - reHLDS (3.8.0.711) + - reHLDS (3.8.0.702) + - reHLDS (3.7.0.698) + - reHLDS (3.7.0.697) + - reHLDS (3.7.0.696) + - reHLDS (3.7.0.695) + - reHLDS (3.7.0.694) + validations: + required: true + - type: dropdown + id: os + attributes: + label: What OS are you seeing the problem on? + multiple: true + options: + - Windows + - Linux + validations: + required: true + - type: dropdown + id: osver + attributes: + label: What OS version are you seeing the problem on? + multiple: true + options: + - Windows 7 + - Windows 8 + - Windows 8.1 + - Windows 10 + - Windows 11 + - Ubuntu 14.x + - Ubuntu 16.x + - Ubuntu 18.x + - Ubuntu 20.x + - Ubuntu 22.x + - Debian 10 + - Debian 11 + - Debian 12 + - Other Linux + validations: + required: true + - type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell + - type: markdown + attributes: + value: Thanks for completing our form! \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/template-feature.yml b/.github/ISSUE_TEMPLATE/template-feature.yml new file mode 100644 index 0000000..c9e04e9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/template-feature.yml @@ -0,0 +1,31 @@ +name: New Feature +description: Suggest an idea for this project +title: "[Feature request]: " +labels: ["Engine: Independent", "Priority: Medium", "OS: Independent", "Status: Available", "Type: Rrequest"] +assignees: + - s1lentq + - stamepicmorg +body: + - type: markdown + attributes: + value: Thanks for taking the time to fill out this Feature request! + - type: input + id: contact-task + attributes: + label: Contact Details (optional) + description: How can we get in touch with you if we need more info? + placeholder: ex. email@example.com + validations: + required: false + - type: textarea + id: have-idea + attributes: + label: Tell us more about your idea + description: Tell us what you expect from the project and the developers? + placeholder: Tell us about your idea! + value: I have an idea! + validations: + required: true + - type: markdown + attributes: + value: Thanks for completing our form! \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/template-question.yml b/.github/ISSUE_TEMPLATE/template-question.yml new file mode 100644 index 0000000..f64cadb --- /dev/null +++ b/.github/ISSUE_TEMPLATE/template-question.yml @@ -0,0 +1,28 @@ +name: Question +description: Create some Question for this project +title: "[Question]: " +labels: ["Engine: Independent", "Priority: Medium", "OS: Independent", "Status: Available", "Type: Question"] +body: + - type: markdown + attributes: + value: Thanks for taking the time to fill out this Question! + - type: input + id: contact + attributes: + label: Contact Details (optional) + description: How can we get in touch with you if we need more info? + placeholder: ex. email@example.com + validations: + required: false + - type: textarea + id: have-question + attributes: + label: Tell us more about your Question + description: What happened? + placeholder: Tell us about your Question! + value: I have an Question! + validations: + required: true + - type: markdown + attributes: + value: Thanks for completing our form! \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/template-task.yml b/.github/ISSUE_TEMPLATE/template-task.yml new file mode 100644 index 0000000..654a1e6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/template-task.yml @@ -0,0 +1,28 @@ +name: Task +description: Create some generic task for this project +title: "[TASK]: " +labels: ["Engine: Independent", "Priority: Medium", "OS: Independent", "Status: Available", "Type: Task"] +body: + - type: markdown + attributes: + value: Thanks for taking the time to fill out this Task! + - type: input + id: contact-feature + attributes: + label: Contact Details (optional) + description: How can we get in touch with you if we need more info? + placeholder: ex. email@example.com + validations: + required: false + - type: textarea + id: have-task + attributes: + label: Tell us more about your task + description: Tell us what you want from the project and the developers? + placeholder: Tell us about your task! + value: I have an task! + validations: + required: true + - type: markdown + attributes: + value: Thanks for completing our form! \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..c7f8007 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,13 @@ +## Purpose +_Describe the problem or feature in addition to a link to the issues._ + +## Approach +_How does this change address the problem?_ + +#### Open Questions and Pre-Merge TODOs +- [ ] Use github checklists. When solved, check the box and explain the answer. + +## Learning +_Describe the research stage_ + +_Links to blog posts, patterns, libraries or addons used to solve this problem_ diff --git a/.github/workflows/sync-with-gitlab.yml b/.github/workflows/sync-with-gitlab.yml new file mode 100644 index 0000000..15cc4a9 --- /dev/null +++ b/.github/workflows/sync-with-gitlab.yml @@ -0,0 +1,31 @@ +name: Automatic sync with Gitlab's read-only mirror + +on: [workflow_dispatch, push] + +jobs: + mirror: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up SSH key for Runner + env: + SSH_KEY: ${{ secrets.GITLAB_DEPLOY_KEY }} + run: | + mkdir -p ~/.ssh + echo "$SSH_KEY" > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 + ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts + ssh-keyscan -t rsa gitlab.com >> ~/.ssh/known_hosts + + - name: Clone repository from GitHub as mirror and push to Gitlab + env: + REPO_ORIGINAL: "https://github.com/rehlds/.github.git" + REPO_TARGET: "git@gitlab.com:rehlds/dot-github.git" + run: | + git clone --mirror "$REPO_ORIGINAL" repo-mirror + cd repo-mirror + git remote set-url origin "$REPO_TARGET" + git push --mirror --force diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..e9d878b --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016 reHLDS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..c28ef0f --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +## [.github](https://github.com/rehlds/.github) [![Percentage of issues still open](http://isitmaintained.com/badge/open/rehlds/.github.svg)](http://isitmaintained.com/project/rehlds/.github "Percentage of issues still open") [![GitHub license](https://img.shields.io/github/license/rehlds/.github.svg?longCache=true&style=flat-square)](https://github.com/rehlds/.github/blob/master/LICENSE.md) [![Deprecated](https://img.shields.io/badge/status-Deprecated-red.svg?style=flat-square)](https://github.com/rehlds/.github/) [![GitHub issues](https://img.shields.io/github/issues/rehlds/.github.svg?longCache=true&style=flat-square)](https://github.com/rehlds/.github/issues) [![GitHub forks](https://img.shields.io/github/forks/rehlds/.github.svg?longCache=true&style=flat-square)](https://github.com/rehlds/.github/network) [![GitHub stars](https://img.shields.io/github/stars/rehlds/.github.svg?longCache=true&style=flat-square)](https://github.com/rehlds/.github/stargazers) + +> [!WARNING] +> About outdating some project + +### Description +Some sescription here + +> [!IMPORTANT] +> Some inportant info. diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..08005a9 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,15 @@ +# Security Policy + +## Supported <...> Versions + +| Version | Supported | Notes | +| ------- | ------- | ------- | +| 1.2.3.4 | :white_check_mark: | - | +| 3.3.3.3 | :white_check_mark: | x86_64 only | +| 2.3.3.0 | :warning: | x86_64 only, partially | + +## Reporting a Vulnerability +1. Open `Issues` tab [here](https://github.com/rehlds/.github/issues). +2. Select `CVE Report`. +3. Publish `CVE Report`. +4. Thank you :heart: diff --git a/profile/README.md b/profile/README.md index 1f07f33..11f366e 100644 --- a/profile/README.md +++ b/profile/README.md @@ -38,27 +38,27 @@ Welcome to the official ReHLDS GitHub organization! We maintain and develop a fa