From 56972c2e3649680833de7c8d9c32f48ebbdb195a Mon Sep 17 00:00:00 2001 From: eirannejad Date: Mon, 12 Feb 2024 10:36:45 -0600 Subject: [PATCH 1/7] switching to develop-4 for pyRevit 4 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 06379707a..69412d3ee 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ on: # when PRs from forked repos are merged push: branches: - - develop + - develop-4 # when PR from develop->master is created pull_request: branches: From ff6190ba040b9d495e8aeef655e722ce67de9a13 Mon Sep 17 00:00:00 2001 From: Jean-Marc Couffin Date: Tue, 13 Feb 2024 11:26:21 +0100 Subject: [PATCH 2/7] Create stale-issues.yml --- .github/workflows/stale-issues.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/stale-issues.yml diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml new file mode 100644 index 000000000..83cbbc3f5 --- /dev/null +++ b/.github/workflows/stale-issues.yml @@ -0,0 +1,21 @@ +name: Close inactive issues +on: + schedule: + - cron: "30 1 * * *" + +jobs: + close-issues: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/stale@v9.0.0 + with: + days-before-issue-stale: 60 + days-before-issue-close: 14 + stale-issue-message: "This issue is stale because it has been open for 60 days with no activity." + close-issue-message: "This issue was closed because it has been inactive for 14 days since being marked as stale." + days-before-pr-stale: -1 + days-before-pr-close: -1 + From 6f72bb9b3b5389d281a2ad1eba2995e94be32d9b Mon Sep 17 00:00:00 2001 From: Jean-Marc Couffin Date: Sun, 18 Feb 2024 17:43:24 +0100 Subject: [PATCH 3/7] Update dependabot.yml Setup to work against develop-4 branch --- .github/dependabot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 97d086637..b9696e696 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,10 +8,10 @@ updates: day: "sunday" # Raise pull requests for version updates # to pip against the `develop` branch - target-branch: "develop" + target-branch: "develop-4" - package-ecosystem: "gomod" # directory required https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#vendor directory: "/" - target-branch: "develop" + target-branch: "develop-4" schedule: interval: "weekly" From b72f27e059c6e27c8ff9dda5cd694354de88ecac Mon Sep 17 00:00:00 2001 From: Jean-Marc Couffin Date: Sat, 24 Feb 2024 15:39:53 +0100 Subject: [PATCH 4/7] Update BUG_REPORT.md Following commit on dev4 branch by @sanzoghenzo --- .github/ISSUE_TEMPLATE/BUG_REPORT.md | 54 ++++++++++++++++------------ 1 file changed, 32 insertions(+), 22 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md index 646b2d216..870e71b3e 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.md +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.md @@ -1,49 +1,59 @@ --- name: Bug report about: Create a report to help us improve +labels: Bug --- ---- - -**🚧 If you have SentinelOne installed as an antivirus, look no further. You will need to create exceptions for Revit and pyRevit, both on the software and the %appdata% folders.** ---- +> **🚧 If you have SentinelOne installed as an antivirus, look no further.** +> **You will need to create exceptions for Revit and pyRevit, both on the software and the %appdata% folders.** -**🙏 Please use the search in the issue section before filing a new issue** +# ✈ Pre-Flight checks ---- +- [ ] I **don't have SentinelOne** antivirus installed (see above for the solution) +- [ ] I have **searched in the issues** (open and closed) but couldn't find a similar issue +- [ ] I have **searched in the [pyRevit Forum](https://discourse.pyrevitlabs.io)** for similar issues +- [ ] I already **followed the [installation troubleshooting guide](https://pyrevitlabs.notion.site/Installation-issues-f6495adb56254e9e8021f8a68e3b2ab7) thoroughly** +- [ ] I am using the **latest pyRevit Version** # 🐞 Describe the bug -Replace these lines with your description. Be as specific as possible and list steps to reproduce the issue. If you have any suggestions for the solution please list that as well. - -If you have installed pyRevit, and the installation completed with no errors but pyRevit doesn't load, please run the command below in terminal / command line. This should fix the issue on your machine, however, please continue filing the issue with instructions below. - -👉 `pyrevit attach master 2711 --installed` - -If it does not work, try to disable your revit addins, all of them. Then, one at a time, reactivate them and restart Revit to figure out which one is interacting badly with pyRevit and Report. - + # ♻️ To Reproduce + Steps to reproduce the behavior: + 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error # ⏲️ Expected behavior -A clear and concise description of what you expected to happen. + + # 🖼 Screenshots of the issue -If applicable, add screenshots to help explain your problem. -# 🖥️ Hardware and Software Setup (please complete the following information): - - OS: [e.g. iOS] - - pyRevit Version [e.g. 22] - - pyRevit Environment: Open a command prompt 🖥 and run the command below. Replace these lines with the results. Take a look at this markdown guide and wrap the command results in ``` when pasting here for correct formatting. + + +# 🖥️ Hardware and Software Setup (please complete the following information) + +- Windows version [e.g. 10 or 11] +- pyRevit Version [e.g. 22] +- pyRevit Environment: + + + +``` -👉 `pyrevit env` +``` # Additional context -Add any other context about the problem here. + From 6d7db7ab3b08a3d9790454ea87334da07afd3d16 Mon Sep 17 00:00:00 2001 From: Jean-Marc Couffin Date: Sat, 24 Feb 2024 15:42:19 +0100 Subject: [PATCH 5/7] Update FEATURE_REQUEST.md After commit on dev4 branch by @sanzoghenzo --- .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md index 066b2d920..d700a8c4f 100644 --- a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md +++ b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md @@ -1,17 +1,21 @@ --- name: Feature request about: Suggest an idea for this project - +labels: "New Feature" --- -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] +## Is your feature request related to a problem? Please describe + + + +## Describe the solution you'd like + + + +## Describe alternatives you've considered -**Describe the solution you'd like** -A clear and concise description of what you want to happen. + -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. +## Additional context -**Additional context** -Add any other context or screenshots about the feature request here. + From ae9935ec22b821428ab0a50b1b94cc223816613b Mon Sep 17 00:00:00 2001 From: Jean-Marc Couffin Date: Mon, 4 Mar 2024 11:49:27 +0100 Subject: [PATCH 6/7] Update and rename BUG_REPORT.md to BUG_REPORT.yml --- .github/ISSUE_TEMPLATE/BUG_REPORT.md | 59 ------------------------- .github/ISSUE_TEMPLATE/BUG_REPORT.yml | 62 +++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 59 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/BUG_REPORT.md create mode 100644 .github/ISSUE_TEMPLATE/BUG_REPORT.yml diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md deleted file mode 100644 index 870e71b3e..000000000 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -labels: Bug - ---- - -> **🚧 If you have SentinelOne installed as an antivirus, look no further.** -> **You will need to create exceptions for Revit and pyRevit, both on the software and the %appdata% folders.** - -# ✈ Pre-Flight checks - -- [ ] I **don't have SentinelOne** antivirus installed (see above for the solution) -- [ ] I have **searched in the issues** (open and closed) but couldn't find a similar issue -- [ ] I have **searched in the [pyRevit Forum](https://discourse.pyrevitlabs.io)** for similar issues -- [ ] I already **followed the [installation troubleshooting guide](https://pyrevitlabs.notion.site/Installation-issues-f6495adb56254e9e8021f8a68e3b2ab7) thoroughly** -- [ ] I am using the **latest pyRevit Version** - -# 🐞 Describe the bug - - - -# ♻️ To Reproduce - -Steps to reproduce the behavior: - -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -# ⏲️ Expected behavior - - - -# 🖼 Screenshots of the issue - - - -# 🖥️ Hardware and Software Setup (please complete the following information) - -- Windows version [e.g. 10 or 11] -- pyRevit Version [e.g. 22] -- pyRevit Environment: - - - -``` - -``` - -# Additional context - - diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml new file mode 100644 index 000000000..6d6b5664a --- /dev/null +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml @@ -0,0 +1,62 @@ +--- +name: Bug report +description: Thanks for taking the time to report a bug! +title: "[Bug]: " +labels: [Bug] +body: + - type: markdown + attributes: + value: | + > **🚧 If you have SentinelOne installed as an antivirus, look no further.** + > **You will need to create exceptions for Revit and pyRevit, both on the software and the %appdata% folders.** + - type: checkboxes + id: preflight + attributes: + label: ✈ Pre-Flight checks + description: before submitting an issue, make sure you've checked the following + options: + - label: I **don't have SentinelOne** antivirus installed (see above for the solution) + required: true + - label: I have **searched in the issues** (open and closed) but couldn't find a similar issue + required: true + - label: I have **searched in the [pyRevit Forum](https://discourse.pyrevitlabs.io)** for similar issues + required: true + - label: I already **followed the [installation troubleshooting guide](https://pyrevitlabs.notion.site/Installation-issues-f6495adb56254e9e8021f8a68e3b2ab7) thoroughly** + required: true + - label: I am using the **latest pyRevit Version** + required: true + - type: textarea + id: description + attributes: + label: 🐞 Describe the bug + description: Be as specific as possible and list steps to reproduce the issue. If you have any suggestions for the solution, please list that as well. + validations: + required: true + - type: textarea + id: reproduce-steps + attributes: + label: ♻️ To Reproduce + description: Steps to reproduce the behavior + placeholder: | + 1. Go to '...' + 2. Click on '....' + 3. Scroll down to '....' + 4. See error + - type: textarea + id: expected-behavior + attributes: + label: ⏲️ Expected behavior + description: A clear and concise description of what you expected to happen. + - type: textarea + id: env + attributes: + label: 🖥️ Hardware and Software Setup (please complete the following information) + description: Open a command prompt 🖥 and run the command `pyrevit env`. Paste the output here. + render: shell + validations: + required: true + - type: textarea + id: context + attributes: + label: Additional context + description: Add any other context about the problem here. From 37710c7838a98a30ec0dde41e7537e447982ae7b Mon Sep 17 00:00:00 2001 From: Jean-Marc Couffin Date: Mon, 4 Mar 2024 11:50:55 +0100 Subject: [PATCH 7/7] Create config.yml no blank issues allowed --- .github/ISSUE_TEMPLATE/config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..3ba13e0ce --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1 @@ +blank_issues_enabled: false