From 7dad8160a19ef5c7a411abaf6881d0f093f08fd6 Mon Sep 17 00:00:00 2001 From: STAM Date: Sat, 2 Nov 2024 21:48:46 +0300 Subject: [PATCH 01/10] a lot of meta features --- .github/FUNDING.yml | 13 ++ .github/ISSUE_TEMPLATE/config.yml | 28 ++++ .github/ISSUE_TEMPLATE/template-bug.yml | 151 +++++++++++++++++++ .github/ISSUE_TEMPLATE/template-feature.yml | 31 ++++ .github/ISSUE_TEMPLATE/template-question.yml | 28 ++++ .github/ISSUE_TEMPLATE/template-task.yml | 28 ++++ .github/pull_request_template.md | 13 ++ .github/workflows/sync-with-gitlab.yml | 31 ++++ LICENSE.md | 21 +++ README.md | 10 ++ SECURITY.md | 15 ++ profile/README.md | 14 +- 12 files changed, 376 insertions(+), 7 deletions(-) create mode 100644 .github/FUNDING.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/template-bug.yml create mode 100644 .github/ISSUE_TEMPLATE/template-feature.yml create mode 100644 .github/ISSUE_TEMPLATE/template-question.yml create mode 100644 .github/ISSUE_TEMPLATE/template-task.yml create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/sync-with-gitlab.yml create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 SECURITY.md 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 More stable (than official) version of Counter-Strike 1.6 (also Counter-Strike: Condition Zero) game library (mp.dll) with extended API for mods and plugins, enhanced (and fixed). - ReAPI
GitHub Release
GitHub Releases + ReAPI
GitHub Release
GitHub Releases AMXModX module that provides ReHLDS, ReGameDLL, ReChecker, ReUnion, VoiceTranscoder APIs for use in AMXModX plugins development. - ReSemiclip
GitHub Release
GitHub Releases + ReSemiclip
GitHub Release
GitHub Releases Metamod plugin controls the ability to pass through players. The module Semiclip by joaquimandrade was used as a reference. - ReUnion
GitHub Release
GitHub Releases + ReUnion
GitHub Release
GitHub Releases Metamod plugin created to support compatibility with older versions of the game client protocol (protocol 47). It is an idea sequel of DProto with new functionality for server protection. - ReChecker
GitHub Release
GitHub Releases + ReChecker
GitHub Release
GitHub Releases Metamod plugin that gives the ability to check client files by their md5 hash. - ReVoice
GitHub Release
GitHub Releases + ReVoice
GitHub Release
GitHub Releases Metamod plugin that allows voice chat between non-steam and steam clients (for ReHLDS). - ReFreeLook
GitHub Release
GitHub Releases + ReFreeLook
GitHub Release
GitHub Releases AMXModX module allows spectator admins to use any camera modes, regardless of the value of `mp_forcecamera` or `mp_forcechasecam` (for ReGameDLL). It is an idea sequel of Admin Free Look by jim_yang. @@ -74,7 +74,7 @@ Welcome to the official ReHLDS GitHub organization! We maintain and develop a fa An extension of LocalizeBugFix for ReHLDS, aimed at addressing localization-related bugs in the server, deprecated since 2015. - HitBox Tracker
GitHub Release
GitHub Releases + HitBox Tracker
GitHub Release
GitHub Releases A development tool that aimed to demonstrate the true position of hitboxes calculated by the server in CS 1.6. However, it is now outdated (thanks to @Garey27 Hitbox Fixer module) due to inaccuracies in the hitbox position calculations within the display code. From 712849a763c06eee7736192bea2fee4776df992e Mon Sep 17 00:00:00 2001 From: STAM Date: Sun, 3 Nov 2024 18:47:50 +0300 Subject: [PATCH 02/10] [WIP] Template rework --- .github/ISSUE_TEMPLATE/template-bug.yml | 34 ++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/template-bug.yml b/.github/ISSUE_TEMPLATE/template-bug.yml index 1a02013..ed62983 100644 --- a/.github/ISSUE_TEMPLATE/template-bug.yml +++ b/.github/ISSUE_TEMPLATE/template-bug.yml @@ -31,7 +31,8 @@ body: label: Metamod-r Version description: What version of Metamod-r are you running? options: - - 1.3.0.138 (Default) + - I am not use Metamod-R + - 1.3.0.138 - 1.3.0.131 - 1.3.0.128 - 1.3.0.126 @@ -44,16 +45,43 @@ body: default: 0 validations: required: true + - type: dropdown + id: reunionrversion + attributes: + label: ReUnion Version + description: What version of ReUnion are you running? + options: + - I am not use reUnion + - 0.2.0.13 + - 0.2.0.6 + - 0.1.0.92d + - 0.1.0.92c + - 0.1.0.92 + - 0.1.0.89 + - 0.1.75.0 (beta) + - 0.1.0.137 (beta) + - 0.1.0.135 (beta) + - 0.1.0.133 (beta) + - 0.1.0.130 (beta) + - 0.1.0.129 (beta) + - 0.1.0.127 (beta) + - 0.1.0.125 (beta) + - 0.1.0.123 (beta) + - 0.1.0.113 (beta) + - 0.1.0.112 (beta) + 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) + - I am not use AMX Mod X + - 1.8.2 - 1.9.x - 1.10.x - - I am not use AMX Mod X default: 0 validations: required: true From 19af0216f806abf8f14090112bca8ed9ebb27882 Mon Sep 17 00:00:00 2001 From: STAM Date: Wed, 6 Nov 2024 13:39:47 +0300 Subject: [PATCH 03/10] Update .github/ISSUE_TEMPLATE/template-question.yml Co-authored-by: Sergey Shorokhov --- .github/ISSUE_TEMPLATE/template-question.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/template-question.yml b/.github/ISSUE_TEMPLATE/template-question.yml index f64cadb..df37214 100644 --- a/.github/ISSUE_TEMPLATE/template-question.yml +++ b/.github/ISSUE_TEMPLATE/template-question.yml @@ -25,4 +25,4 @@ body: required: true - type: markdown attributes: - value: Thanks for completing our form! \ No newline at end of file + value: Thanks for completing our form! From 717b8291daa6dc31d35e5bd4b5d18ece1bc1cb85 Mon Sep 17 00:00:00 2001 From: STAM Date: Wed, 6 Nov 2024 13:39:52 +0300 Subject: [PATCH 04/10] Update .github/ISSUE_TEMPLATE/template-task.yml Co-authored-by: Sergey Shorokhov --- .github/ISSUE_TEMPLATE/template-task.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/template-task.yml b/.github/ISSUE_TEMPLATE/template-task.yml index 654a1e6..7226806 100644 --- a/.github/ISSUE_TEMPLATE/template-task.yml +++ b/.github/ISSUE_TEMPLATE/template-task.yml @@ -25,4 +25,4 @@ body: required: true - type: markdown attributes: - value: Thanks for completing our form! \ No newline at end of file + value: Thanks for completing our form! From 3c6e0addc1cb516c816fde39bac39c8f188e6f68 Mon Sep 17 00:00:00 2001 From: STAM Date: Wed, 6 Nov 2024 13:40:02 +0300 Subject: [PATCH 05/10] Update .github/ISSUE_TEMPLATE/config.yml Co-authored-by: Sergey Shorokhov --- .github/ISSUE_TEMPLATE/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 073ed94..0673f05 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -24,5 +24,3 @@ contact_links: - 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/ From 37c7cdd2232985fc2d78fb1659004ae63387913d Mon Sep 17 00:00:00 2001 From: STAM Date: Fri, 15 Nov 2024 17:32:41 +0300 Subject: [PATCH 06/10] WIP LICENSE.md -> LICENSE --- LICENSE.md => LICENSE | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename LICENSE.md => LICENSE (97%) diff --git a/LICENSE.md b/LICENSE similarity index 97% rename from LICENSE.md rename to LICENSE index e9d878b..3bdf502 100644 --- a/LICENSE.md +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2016 reHLDS +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 diff --git a/README.md b/README.md index c28ef0f..3e519da 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## [.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) +## [.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) [![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 From 5a26eae2a030ace0b28d411852635a359d562268 Mon Sep 17 00:00:00 2001 From: STAM Date: Tue, 19 Nov 2024 23:27:03 +0300 Subject: [PATCH 07/10] issue template + lable edit --- .github/ISSUE_TEMPLATE/template-bug.yml | 270 +++++++++++++++--- .github/ISSUE_TEMPLATE/template-feature.yml | 2 +- .github/ISSUE_TEMPLATE/template-question.yml | 28 -- .../template-question.yml.disabled | 28 ++ .github/ISSUE_TEMPLATE/template-task.yml | 2 +- .github/labels.yml | 2 +- 6 files changed, 258 insertions(+), 74 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/template-question.yml create mode 100644 .github/ISSUE_TEMPLATE/template-question.yml.disabled diff --git a/.github/ISSUE_TEMPLATE/template-bug.yml b/.github/ISSUE_TEMPLATE/template-bug.yml index ed62983..5c0441f 100644 --- a/.github/ISSUE_TEMPLATE/template-bug.yml +++ b/.github/ISSUE_TEMPLATE/template-bug.yml @@ -1,7 +1,7 @@ name: Bug Report description: A generic bug report title: "[BUG]: " -labels: ["Type: Bug", "Status: Available"] +labels: ["Type: 🐞 bug", "Status: 🖐 available"] assignees: - s1lentq body: @@ -26,12 +26,166 @@ body: validations: required: true - type: dropdown - id: mmrversion + 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, I will provide version or commit) + - 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.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: regamedllcsversion + attributes: + label: ReGameDLL_CS Version + multiple: true + options: + - I am not use ReGameDLL_CS + - Custom version from CI (I will provide version or commit) + - 5.26.0.668 + - 5.22.0.593 + - 5.21.0.593 + - 5.21.0.576 + - 5.21.0.575 + - 5.21.0.547 + - 5.21.0.556 + - 5.21.0.546 + - 5.21.0.540 + - 5.21.0.534 + - 5.20.0.525 + - 5.20.0.516 + - 5.20.0.505 + - 5.20.0.498 + - 5.20.0.496 + - 5.20.0.492 + - 5.19.0.486 + - 5.19.0.485 + - 5.19.0.484 + - 5.18.0.482 + - 5.18.0.481 + - 5.18.0.480 + - 5.18.0.479 + - 5.18.0.475 + - 5.18.0.474 + - 5.18.0.473 + - 5.18.0.472 + - 5.18.0.470 + - 5.18.0.469 + - 5.18.0.467 + - 5.18.0.468 + - 5.17.0.466 + - 5.16.0.465 + - 5.16.0.460 + - 5.15.0.459 + - 5.15.0.457 + default: 0 + validations: + required: true + - type: dropdown + id: reapiversion + attributes: + label: ReAPI Version + description: What version of ReAPI are you running? + options: + - I am not use ReAPI + - Custom version from CI (I will provide version or commit) + - 5.24.0.300 + - 5.22.0.253 + - 5.22.0.254 + - 5.21.0.252 + - 5.21.0.248 + - 5.20.0.236 + - 5.20.0.231 + - 5.19.0.217 + - 5.19.0.211 + - 5.19.0.210 + - 5.18.0.205 + - 5.18.0.203 + - 5.18.0.202 + - 5.17.0.200 + - 5.15.0.197 + - 5.16.0.198 + - 5.14.0.195 + - 5.13.0.194 + - 5.12.0.192 + - 5.11.0.191 + - 5.11.0.190 + - 5.11.0.189 + - 5.10.0.188 + - 5.10.0.187 + - 5.10.0.186 + - 5.9.0.178 + - 5.9.0.177 + - 5.9.0.171 + - 5.9.0.172 + - 5.9.0.167 + - 5.8.0.166 + - 5.8.0.165 + - 5.8.0.163 + - 5.7.0.162 + - 5.6.0.161 + - 5.6.0.160 + - 5.6.0.158 + - 5.6.0.157 + - 5.6.0.156 + - 5.6.0.155 + - 5.5.0.150 + - 5.5.0.148 + - 5.2.0.145 + - 5.2.0.143 + - 5.2.0.142 + default: 0 + validations: + required: true + - type: dropdown + id: metamodrversion attributes: label: Metamod-r Version description: What version of Metamod-r are you running? options: - I am not use Metamod-R + - Custom version from CI (I will provide version or commit) - 1.3.0.138 - 1.3.0.131 - 1.3.0.128 @@ -82,58 +236,88 @@ body: - 1.8.2 - 1.9.x - 1.10.x + - reAmxX (deprecated and outdated) default: 0 validations: required: true - type: dropdown - id: engine + id: resemiclipversion attributes: - label: What engine are you seeing the problem on? - multiple: true + label: ReSemiclip Version + description: What version of ReSemiclip are you running? options: - - HLDS - - reHLDS + - I am not use ReSemiclip + - 2.4.3 + - 2.3.9 + - 2.3.8 + default: 0 validations: required: true - type: dropdown - id: enginever + id: recheckerversion attributes: - label: What version of engine are you seeing the problem on? - multiple: true + label: ReChecker Version + description: What version of ReChecker are you running? 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) + - "I am not use ReChecker" + - "2.7" + - "2.4" + - "2.5" + - "2.3" + default: 0 + validations: + required: true + - type: dropdown + id: revoiceversion + attributes: + label: ReVoice Version + description: What version of ReVoice are you running? + options: + - "I am not use ReVoice" + - 0.1.0.34 + - 0.1.0.33 + - 0.1.0.32 + - 0.1.0.31 + - 0.1.0.30 + - 0.1.0.29 + - 0.1.0.26 + default: 0 + validations: + required: true + - type: dropdown + id: refreelookeversion + attributes: + label: ReFreeLook Version + description: What version of ReFreeLook are you running? + options: + - "I am not use ReFreeLook" + - 0.1.8 + - 0.1.7 + - 0.1.6 + default: 0 + validations: + required: true + - type: dropdown + id: relocalizebugfixversion + attributes: + label: ReLocalizeBugFix Version + description: What version of ReLocalizeBugFix are you running? + options: + - "I am not use ReLocalizeBugFix" + - "2.8" + default: 0 + validations: + required: true + - type: dropdown + id: hitboxtrackerversion + attributes: + label: hitboxtracker Version + description: What version of hitboxtracker are you running? + options: + - "I am not use hitboxtracker" + - "1.1" + - "1.0" + default: 0 validations: required: true - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/template-feature.yml b/.github/ISSUE_TEMPLATE/template-feature.yml index c9e04e9..b10d2dd 100644 --- a/.github/ISSUE_TEMPLATE/template-feature.yml +++ b/.github/ISSUE_TEMPLATE/template-feature.yml @@ -1,7 +1,7 @@ name: New Feature description: Suggest an idea for this project title: "[Feature request]: " -labels: ["Engine: Independent", "Priority: Medium", "OS: Independent", "Status: Available", "Type: Rrequest"] +labels: ["Engine: ⚙️ Independent", "Priority: ⚠️ medium", "OS: 💻 Independent", "Status: 🖐 available", "Type: 💡 feature request"] assignees: - s1lentq - stamepicmorg diff --git a/.github/ISSUE_TEMPLATE/template-question.yml b/.github/ISSUE_TEMPLATE/template-question.yml deleted file mode 100644 index df37214..0000000 --- a/.github/ISSUE_TEMPLATE/template-question.yml +++ /dev/null @@ -1,28 +0,0 @@ -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! diff --git a/.github/ISSUE_TEMPLATE/template-question.yml.disabled b/.github/ISSUE_TEMPLATE/template-question.yml.disabled new file mode 100644 index 0000000..216c8e3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/template-question.yml.disabled @@ -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! diff --git a/.github/ISSUE_TEMPLATE/template-task.yml b/.github/ISSUE_TEMPLATE/template-task.yml index 7226806..584a1c8 100644 --- a/.github/ISSUE_TEMPLATE/template-task.yml +++ b/.github/ISSUE_TEMPLATE/template-task.yml @@ -1,7 +1,7 @@ name: Task description: Create some generic task for this project title: "[TASK]: " -labels: ["Engine: Independent", "Priority: Medium", "OS: Independent", "Status: Available", "Type: Task"] +labels: ["Engine: ⚙️ Independent", "Priority: ⚠️ medium", "OS: 💻 Independent", "Status: 🖐 available", "Type: ⚗️ task"] body: - type: markdown attributes: diff --git a/.github/labels.yml b/.github/labels.yml index 35f676f..5abda80 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -66,7 +66,7 @@ # color: "C7FAD8" # Status -- name: "Status: 🖐 opened" +- name: "Status: 🖐 available" description: "Task currently opened." color: "45DC35" - name: "Status: 🚧 in progress" From 139a203c98caa4ca38935140257d419b860db704 Mon Sep 17 00:00:00 2001 From: STAM Date: Tue, 19 Nov 2024 23:27:28 +0300 Subject: [PATCH 08/10] funding button: changed domain --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 2e9b51e..ad80fe2 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,7 +1,7 @@ # These are supported funding model platforms #patreon: rehlds #ko_fi: rehlds -custom: https://rehlds.github.io +custom: https://rehlds.dev #github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] #open_collective: # Replace with a single Open Collective username From 33e1e848011a33a6522470a5df51169cb60ff55d Mon Sep 17 00:00:00 2001 From: STAM Date: Tue, 19 Nov 2024 23:30:37 +0300 Subject: [PATCH 09/10] contacts update for issue template --- .github/ISSUE_TEMPLATE/config.yml | 52 +++++++++++++++++-------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 0673f05..1c86888 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,26 +1,30 @@ 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 Documentation" + about: Contain ALL documentation for ReHLDS, Metamod-R and other addons. + url: https://rehlds.dev/ +#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/ReHLDS/ReHLDS +# about: "Reverse-engineered HLDS" +# - name: "ReHLDS GitHub Documentation" +# url: https://github.com/ReHLDS/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" From f77abba43eb23a910414afbb53f1a49901ae5827 Mon Sep 17 00:00:00 2001 From: STAM Date: Tue, 19 Nov 2024 23:39:45 +0300 Subject: [PATCH 10/10] gitlab sync matrix --- .github/workflows/sync-with-gitlab.yml | 43 ++++++++++++++++---------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/.github/workflows/sync-with-gitlab.yml b/.github/workflows/sync-with-gitlab.yml index 15cc4a9..c7e6e62 100644 --- a/.github/workflows/sync-with-gitlab.yml +++ b/.github/workflows/sync-with-gitlab.yml @@ -1,31 +1,40 @@ -name: Automatic sync with Gitlab's read-only mirror +name: Automatic sync with GitLab's read-only mirror -on: [workflow_dispatch, push] +on: + push: + branches: + - main + schedule: + - cron: '42 0 * * 0' + workflow_dispatch: jobs: mirror: runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 + strategy: + matrix: + repo: + - {github: "https://github.com/rehlds/.github.git", gitlab: "git@gitlab.com:rehlds/dot-github.git"} + - {github: "https://github.com/rehlds/rehlds.git", gitlab: "git@gitlab.com:rehlds/rehlds.git"} - - name: Set up SSH key for Runner + steps: + - name: Set up SSH key env: - SSH_KEY: ${{ secrets.GITLAB_DEPLOY_KEY }} + SSH_PRIVATE_KEY: ${{ secrets.GITLAB_DEPLOY_KEY }} run: | mkdir -p ~/.ssh - echo "$SSH_KEY" > ~/.ssh/id_ed25519 + echo "$SSH_PRIVATE_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 + ssh-keyscan -t rsa,ed25519 github.com >> ~/.ssh/known_hosts + ssh-keyscan -t rsa,ed25519 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" + - name: Clone repository as mirror + run: | + git clone --mirror ${{ matrix.repo.github }} repo-mirror + + - name: Push to GitLab run: | - git clone --mirror "$REPO_ORIGINAL" repo-mirror cd repo-mirror - git remote set-url origin "$REPO_TARGET" - git push --mirror --force + git remote set-url origin ${{ matrix.repo.gitlab }} + git push --mirror