Add Team Assign extension to community catalog#2642
Merged
Conversation
Add team-assign extension submitted by @tarunkumarbhati to: - extensions/catalog.community.json (alphabetical order) - docs/community/extensions.md community extensions table Closes github#2597
8ca14cf to
4ba9693
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the community extension catalog/documentation to include the new Team Assign extension, and (separately) introduces security hardening + regression tests for specify extension add --from to prevent path traversal/symlink/TOCTOU file write/delete escapes.
Changes:
- Add
team-assigntoextensions/catalog.community.jsonand add a corresponding row todocs/community/extensions.md. - Add path traversal / symlink / ancestor-escape / TOCTOU defenses to the
--fromdownload-cache handling insrc/specify_cli/__init__.py. - Add a new pytest suite validating the new guard behavior.
Show a summary per file
| File | Description |
|---|---|
extensions/catalog.community.json |
Adds team-assign entry and bumps catalog updated_at. |
docs/community/extensions.md |
Adds “Team Assign” to the community extensions table. |
src/specify_cli/__init__.py |
Adds safe cache validation + symlink-safe open/unlink for URL-installed extension ZIPs. |
tests/test_extension_add_path_traversal.py |
New regression tests for path traversal, symlinked cache, ancestor escape, and TOCTOU scenarios. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 0
Collaborator
Author
|
Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add the Team Assign community extension submitted by @tarunkumarbhati in #2597.
Validation
extension.ymlmanifest presentREADME.mdpresentLICENSEfile present (MIT)v1.0.0exists; download URL followsarchive/refs/tags/v1.0.0.zippatternteam-assignmatches^[a-z][a-z0-9-]*$1.0.0follows semverteam-setup.md,team-assign.md,team-board.md)Changes
extensions/catalog.community.json— addedteam-assignentry in alphabetical order (aftersync), updated top-levelupdated_atdocs/community/extensions.md— added table row in alphabetical order (after "Superpowers Bridge (WangX0111)")Closes #2597
cc @tarunkumarbhati