Skip to content

Commit f8efef7

Browse files
committed
templates, installiaton and listing
1 parent 937d1a7 commit f8efef7

8 files changed

Lines changed: 284 additions & 45 deletions

File tree

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
name: Bug report
2+
description: Report a reproducible problem in dev-tools-ps
3+
title: "[Bug]: "
4+
labels:
5+
- bug
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for taking the time to report a bug.
11+
Please provide as much detail as possible so we can reproduce and fix it.
12+
13+
- type: textarea
14+
id: summary
15+
attributes:
16+
label: Bug summary
17+
description: What went wrong?
18+
placeholder: A clear and concise description of the issue.
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: steps
24+
attributes:
25+
label: Steps to reproduce
26+
description: Provide exact steps and command examples.
27+
placeholder: |
28+
1. Run `dev ...`
29+
2. Open ...
30+
3. Observe ...
31+
validations:
32+
required: true
33+
34+
- type: textarea
35+
id: expected
36+
attributes:
37+
label: Expected behavior
38+
placeholder: What did you expect to happen?
39+
validations:
40+
required: true
41+
42+
- type: textarea
43+
id: actual
44+
attributes:
45+
label: Actual behavior
46+
placeholder: What actually happened?
47+
validations:
48+
required: true
49+
50+
- type: textarea
51+
id: logs
52+
attributes:
53+
label: Error output / logs
54+
description: Paste any terminal errors, stack traces, or screenshots.
55+
render: shell
56+
57+
- type: input
58+
id: version
59+
attributes:
60+
label: Version
61+
description: Which release are you using?
62+
placeholder: v1.2.1
63+
validations:
64+
required: true
65+
66+
- type: input
67+
id: powershell
68+
attributes:
69+
label: PowerShell version
70+
description: Output of `$PSVersionTable.PSVersion`
71+
placeholder: 7.5.0
72+
validations:
73+
required: true
74+
75+
- type: input
76+
id: os
77+
attributes:
78+
label: Operating system
79+
description: Windows version/build
80+
placeholder: Windows 11 24H2
81+
validations:
82+
required: true
83+
84+
- type: dropdown
85+
id: components
86+
attributes:
87+
label: Affected component
88+
description: Which area is impacted?
89+
multiple: true
90+
options:
91+
- PowerShell core (`src/`)
92+
- Command scripts (`src/commands/`)
93+
- Chrome extension (`chrome-extension/`)
94+
- Native host scripts (`chrome-extension/native-host/`)
95+
- Web docs (`web/`)
96+
- Installer / packaging (`inno/`, `chocolatey/`)
97+
98+
- type: checkboxes
99+
id: checks
100+
attributes:
101+
label: Pre-flight checklist
102+
options:
103+
- label: I searched existing issues and did not find a duplicate.
104+
required: true
105+
- label: I can reproduce this on the latest release.
106+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Security vulnerability report
4+
url: https://github.com/SzaBee13/dev-tools-ps/security/advisories/new
5+
about: Report sensitive security issues privately through GitHub Security Advisories.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Feature request
2+
description: Suggest an improvement for dev-tools-ps
3+
title: "[Feature]: "
4+
labels:
5+
- enhancement
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for suggesting an improvement.
11+
Clear use-cases help prioritize and design better features.
12+
13+
- type: textarea
14+
id: problem
15+
attributes:
16+
label: Problem statement
17+
description: What problem are you trying to solve?
18+
placeholder: I want to ... because ...
19+
validations:
20+
required: true
21+
22+
- type: textarea
23+
id: proposal
24+
attributes:
25+
label: Proposed solution
26+
description: Describe your ideal behavior or command syntax.
27+
placeholder: Add `dev ...` support for ...
28+
validations:
29+
required: true
30+
31+
- type: textarea
32+
id: alternatives
33+
attributes:
34+
label: Alternatives considered
35+
description: Workarounds or different approaches you tried.
36+
37+
- type: textarea
38+
id: examples
39+
attributes:
40+
label: Example usage
41+
description: Optional CLI examples, config snippets, or screenshots.
42+
render: shell
43+
44+
- type: dropdown
45+
id: scope
46+
attributes:
47+
label: Area
48+
options:
49+
- CLI / command UX
50+
- Project creation templates
51+
- Git workflow helpers
52+
- Configuration and defaults
53+
- Chrome extension
54+
- Documentation site
55+
- Packaging / installer
56+
validations:
57+
required: true
58+
59+
- type: checkboxes
60+
id: checks
61+
attributes:
62+
label: Checklist
63+
options:
64+
- label: I searched existing issues and did not find a duplicate request.
65+
required: true
66+
- label: This request is specific and actionable.
67+
required: true

.github/SECURITY.md

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,38 @@
55
Security fixes are applied to the latest stable release only.
66

77
| Version | Supported |
8-
|---------|-----------|
9-
| Latest | Yes |
10-
| Older | No |
8+
| --- | --- |
9+
| Latest | Yes |
10+
| Older | No |
1111

1212
## Reporting a Vulnerability
1313

14-
If you discover a security vulnerability, **please do not open a public issue**.
14+
If you discover a security vulnerability, do not open a public issue.
1515

16-
Instead, report it privately by:
16+
Report it privately by using GitHub Security Advisories:
1717

18-
1. Going to the [Security Advisories](https://github.com/SzaBee13/dev-tools-ps/security/advisories/new) page and submitting a private advisory, **or**
19-
2. Contacting the maintainer directly through GitHub.
18+
- https://github.com/SzaBee13/dev-tools-ps/security/advisories/new
19+
20+
If that is not possible, contact the maintainer through GitHub and share details privately.
2021

2122
Please include:
2223

23-
- A description of the vulnerability and its potential impact
24-
- Steps to reproduce or a proof-of-concept
25-
- Any suggested mitigations if known
24+
- A clear description of the vulnerability and impact
25+
- Steps to reproduce (or a proof-of-concept)
26+
- Any suggested mitigations or patches
27+
28+
Response target:
2629

27-
You can expect an acknowledgement within **72 hours** and a resolution or status update within **14 days**.
30+
- Acknowledgement within 72 hours
31+
- Status update or remediation plan within 14 days
2832

2933
## Scope
3034

31-
This policy covers the PowerShell source files in `src/`, the Chrome extension in `chrome-extension/`, and the native host scripts. The documentation website (`web/`) is a static site with no user authentication or data storage.
35+
This policy covers:
36+
37+
- PowerShell source files in `src/`
38+
- Chrome extension code in `chrome-extension/`
39+
- Native host scripts in `chrome-extension/native-host/`
40+
- Packaging scripts in `chocolatey/` and `inno/`
41+
42+
The documentation website in `web/` is static and has no user authentication or server-side data storage.

.github/pull_request_template.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## Summary
2+
3+
Briefly describe what this PR changes and why.
4+
5+
## Related Issues
6+
7+
Closes #
8+
9+
## Type of Change
10+
11+
- [ ] Bug fix
12+
- [ ] New feature
13+
- [ ] Refactor
14+
- [ ] Documentation update
15+
- [ ] Build/release/packaging change
16+
17+
## What Changed
18+
19+
-
20+
21+
## Testing
22+
23+
- [ ] Tested manually in PowerShell
24+
- [ ] Added or updated automated tests (if applicable)
25+
- [ ] Verified no breaking changes for existing commands
26+
27+
Test notes:
28+
29+
```powershell
30+
# Example commands used for verification
31+
dev help
32+
dev status
33+
```
34+
35+
## Checklist
36+
37+
- [ ] I reviewed my own changes.
38+
- [ ] I updated docs/examples where needed.
39+
- [ ] I kept the scope focused.
40+
- [ ] I considered security impact (especially for scripts and extension/native-host changes).

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
# Ignore files that are not relevant to the project
12
*.lnk
23
*.tmp
34
*.pem
45

56
# Ide
67
.vscode/
7-
.idea
8+
.idea

src/commands/List.ps1

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,16 @@ function Invoke-DevList {
3636
Get-ChildItem -Path $roots[$typeOrName] -Directory -ErrorAction SilentlyContinue | Select-Object Name
3737
}
3838
else {
39-
Write-Host "Please specify a valid type or use --json flag" -ForegroundColor Red
39+
# Clean list of repos by removing those that no longer exist on disk
40+
$repos = Get-DevRepositories
41+
$updatedRepos = @{}
42+
foreach ($key in $repos.Keys) {
43+
$repo = $repos[$key]
44+
if (Test-Path $repo.path) {
45+
$updatedRepos[$key] = $repo
46+
}
47+
}
48+
return $updatedRepos.Values | Select-Object localName, url, path, platform, lastPulled
4049
}
4150
}
4251

0 commit comments

Comments
 (0)