Skip to content

Commit df0a4f3

Browse files
committed
relax: Allow flexible plugin naming and PR template
- Accept any langextract-* package names (not just langextract-provider-*) - Add Related to option in PR template for doc-only changes
1 parent 11b4ab0 commit df0a4f3

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/PULL_REQUEST_TEMPLATE/pull_request_template.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ Replace this with a clear and concise change description
99
alternatives considered, risks (such as breaking backwards compatibility), and
1010
any new dependencies. --->
1111

12-
Fixes #[issue number]
12+
<!--- Use "Fixes #123" to auto-close the issue when merged (for bug fixes/implementations) -->
13+
<!--- Use "Related to #123" or "Addresses #123" for documentation updates or partial solutions -->
14+
Fixes/Related to #[issue number]
1315

1416
Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Other)
1517

COMMUNITY_PROVIDERS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ Copy this row template, replace placeholders, and insert **above** the marker li
2323
```
2424

2525
**Before submitting your PR:**
26-
- [ ] Plugin name follows `langextract-provider-<name>` convention
26+
- [ ] PyPI package name starts with `langextract-` (recommended: `langextract-provider-<name>`)
2727
- [ ] PyPI package is published (or will be soon) and listed in backticks
2828
- [ ] Maintainer(s) listed as GitHub profile links (comma-separated if multiple)
2929
- [ ] Repository link points to public GitHub repo
3030
- [ ] Description clearly explains what your provider does
31-
- [ ] Issue Link points to a tracking issue in the LangExtract repository
31+
- [ ] Issue Link points to a tracking issue in the LangExtract repository for integration and usage feedback (plugin-specific features and discussions can optionally happen in the plugin's repository)
3232
- [ ] Entries are sorted alphabetically by Plugin Name
3333

3434
## Documentation

scripts/validate_community_providers.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ def validate(filepath: Path) -> bool:
117117
f'Line {i+1}: PyPI package must be backticked and normalized (e.g.,'
118118
' `langextract-provider-foo`).'
119119
)
120+
elif pypi and not pypi.strip('`').lower().startswith('langextract-'):
121+
errors.append(
122+
f'Line {i+1}: PyPI package should start with `langextract-` for'
123+
' discoverability.'
124+
)
120125

121126
if not re.fullmatch(GH_MULTI_USER, maint):
122127
errors.append(

0 commit comments

Comments
 (0)