Skip to content

Commit 1d081ed

Browse files
authored
Merge branch 'develop' into Faster-SelectFromList.xaml
2 parents f370ede + 9e1ccbc commit 1d081ed

File tree

1,144 files changed

+82272
-7797
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,144 files changed

+82272
-7797
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# These are supported funding model platforms
22

33
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4-
patreon: pyrevit
5-
open_collective: # Replace with a single Open Collective username
4+
patreon: # pyrevit
5+
open_collective: pyrevitlabs
66
ko_fi: # Replace with a single Ko-fi username
77
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
88
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry

.github/ISSUE_TEMPLATE/BUG_REPORT.md

Lines changed: 0 additions & 59 deletions
This file was deleted.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
name: Bug report
3+
description: Thanks for taking the time to report a bug!
4+
title: "[Bug]: "
5+
labels: [Bug]
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
## Please fill this form properly! 🙏🙏🙏
11+
We're running on limited resources, so we don't have much time to get back to you if you don't provide enough info.
12+
Please make a little effort, do your research and [ask questions the smart way](http://www.catb.org/~esr/faqs/smart-questions.html#beprecise).
13+
**If you didn't fill the form properly or lie about the pre-flight checks, the issue could be closed without any explanation!**
14+
## 🚧🚧 Revit 2025 🚧🚧
15+
pyRevit 4.8.x is not compatible with Revit 2025. If you really need it, you can try (**at your own risk!**) the WIP version that you can find at [this page](https://www.pyrevitlabs.io/)
16+
## 🚧 SentinelOne 🚧
17+
If you have SentinelOne installed as an antivirus, **look no further**.
18+
**You will need to create exceptions for Revit and pyRevit**, both on the software and the %appdata% folders. ask your IT guy to do that.
19+
- type: checkboxes
20+
id: preflight
21+
attributes:
22+
label: ✈ Pre-Flight checks
23+
description: before submitting an issue, make sure you've checked the following.
24+
options:
25+
- label: I **don't have SentinelOne** antivirus installed (see above for the solution)
26+
- label: I have **searched in the issues** (open and closed) but couldn't find a similar issue
27+
- label: I have **searched in the [pyRevit Forum](https://discourse.pyrevitlabs.io)** for similar issues
28+
- label: I already **followed the [installation troubleshooting guide](https://pyrevitlabs.notion.site/Installation-issues-f6495adb56254e9e8021f8a68e3b2ab7) thoroughly**
29+
- label: I am using the **latest pyRevit Version**
30+
- type: textarea
31+
id: description
32+
attributes:
33+
label: 🐞 Describe the bug
34+
description: Be **as specific as possible**. see "how to ask questions the smart way" above
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: error-message
39+
attributes:
40+
label: ⌨ Error/Debug Message
41+
description: |
42+
Post the text (preferred) or screenshot of the error, if any.
43+
For issues related to tools/scripts, run them in debug mode (CTRL+click on the button) and copy over the contents of the output window (use the copy button in the title bar and paste it here).
44+
render: shell
45+
validations:
46+
required: true
47+
- type: textarea
48+
id: reproduce-steps
49+
attributes:
50+
label: ♻️ To Reproduce
51+
description: Steps to reproduce the behavior. Tell us exactly what you did so that we can try to reproduce on our own computers.
52+
placeholder: |
53+
1. Go to '...'
54+
2. Click on '....'
55+
3. Select '....'
56+
4. Type '...'
57+
5. See error
58+
- type: textarea
59+
id: expected-behavior
60+
attributes:
61+
label: ⏲️ Expected behavior
62+
description: A clear and concise description of what you expected to happen.
63+
- type: textarea
64+
id: env
65+
attributes:
66+
label: 🖥️ Hardware and Software Setup (please complete the following information)
67+
description: |
68+
Open a command prompt 🖥 and run the command `pyrevit env`. Paste the output here.
69+
**This is super important for us to know if there's something wrong/specific in your setup!**
70+
Not filling this may result in the issue to be closed without explanation.
71+
render: shell
72+
validations:
73+
required: true
74+
- type: textarea
75+
id: context
76+
attributes:
77+
label: Additional context
78+
description: Add any other context about the problem here. If you have any suggestions for the solution, please list that as well.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
# Name of your PR
3+
4+
## Description
5+
6+
Please provide a brief description of the changes introduced in this pull request. Explain the purpose of these changes and their intended effect on the project.
7+
8+
---
9+
10+
## Checklist
11+
12+
Before submitting your pull request, ensure the following requirements are met:
13+
14+
- [ ] Code follows the [PEP 8](https://peps.python.org/pep-0008/) style guide.
15+
- [ ] Code has been formatted with [Black](https://github.com/psf/black) using the command:
16+
```bash
17+
pipenv run black {source_file_or_directory}
18+
```
19+
- [ ] Changes are tested and verified to work as expected.
20+
21+
---
22+
23+
## Related Issues
24+
25+
If applicable, link the issues resolved by this pull request:
26+
27+
- Resolves #[issue number]
28+
29+
---
30+
31+
## Additional Notes
32+
33+
Include any additional context, screenshots, or considerations for reviewers.
34+
35+
---
36+
37+
Thank you for contributing to pyRevit! 🎉

.github/dependabot.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,22 @@ updates:
33
- package-ecosystem: "pip"
44
directory: "/"
55
schedule:
6-
interval: "weekly"
6+
interval: "monthly"
77
# Check for npm updates on Sundays
88
day: "sunday"
99
# Raise pull requests for version updates
1010
# to pip against the `develop` branch
11-
target-branch: "develop-4"
11+
target-branch: "develop"
1212
- package-ecosystem: "gomod"
1313
# directory required https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#vendor
1414
directory: "/"
15-
target-branch: "develop-4"
15+
target-branch: "develop"
1616
schedule:
17-
interval: "weekly"
17+
interval: "monthly"
18+
# Set update schedule for GitHub Actions
19+
- package-ecosystem: "github-actions"
20+
directory: "/"
21+
schedule:
22+
# Check for updates to GitHub Actions every week
23+
interval: "monthly"
24+
target-branch: "develop"

.github/slash-commands.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
issues:
2+
more-info:
3+
label:
4+
- needs-more-info
5+
6+
install-fix:
7+
comment: >
8+
Hi @{{ author }}, Try these steps:
9+
10+
1. Uninstall pyRevit
11+
12+
2. Delete C:\ProgramData and %AppData%\ pyRevit and pyrevit-master folders
13+
14+
3. Move all Revit addins to a temporary location. Usual addins locations include:
15+
- %AppData%\Autodesk\Revit\Addins<year>
16+
- %AppData%\Autodesk\ApplicationPlugins
17+
- %ProgramData%\Autodesk\Revit\Addins<year>
18+
- %ProgramData%\Autodesk\ApplicationPlugins
19+
20+
4. [Reboot computer]
21+
22+
5. Reinstall pyRevit
23+
24+
6. Started each version of Revit confirming pyRevit successfully compiled at startup.
25+
26+
7. Move all Revit addins that were moved in step 3 back to their original location.
27+
You may want to add them one at a time and start a revit session everytime to figure out which ones are causing the issue.

.github/workflows/docs.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,37 @@ on:
44
push:
55
branches:
66
- docs
7+
paths:
8+
- 'mkdocs.yml'
9+
- 'docs/**'
10+
- 'pyrevitlib/**'
11+
- '*.md'
712
# when PR from develop->master is created
813
pull_request:
914
branches:
1015
- master
16+
paths:
17+
- 'mkdocs.yml'
18+
- 'docs/**'
19+
- 'pyrevitlib/**'
20+
- '*.md'
1121
# manual run
1222
workflow_dispatch:
1323

1424
jobs:
1525
docs:
1626
runs-on: ubuntu-latest
1727
steps:
18-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
1929

2030
- name: Prepare Python 3.10
21-
uses: actions/setup-python@v4
31+
uses: actions/setup-python@v5
2232
with:
2333
python-version: '3.10'
2434

2535
- name: Prepare pipenv
2636
run: |
2737
pip install pipenv
28-
pipenv install
38+
pipenv sync
2939
3040
- run: pipenv run mkdocs gh-deploy --force
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: issues-manager
2+
on:
3+
issue_comment:
4+
types: [created]
5+
6+
jobs:
7+
issue_commented:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Custom Slash Commands
11+
uses: wow-actions/[email protected]
12+
with:
13+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14+
CONFIG_FILE: .github/slash-commands.yml
15+
16+
- name: Pending Response Follow Up
17+
uses: siegerts/[email protected]
18+
with:
19+
github-token: ${{ secrets.GITHUB_TOKEN }}
20+
pending-response-label: needs-more-info

0 commit comments

Comments
 (0)