Skip to content

Add Clone Site feature to Actions Hub#1545

Open
priyanshu92 wants to merge 3 commits intomainfrom
users/priyanshuag/actions-hub-clone-site
Open

Add Clone Site feature to Actions Hub#1545
priyanshu92 wants to merge 3 commits intomainfrom
users/priyanshuag/actions-hub-clone-site

Conversation

@priyanshu92
Copy link
Copy Markdown
Contributor

  • Add CloneSiteHandler with download, clone, and upload workflow
  • Add cloneSiteWithProgress, uploadSiteWithProgress, and uploadCodeSiteWithProgress methods to PacWrapper
  • Register cloneSite command in ActionsHubTreeDataProvider
  • Add command and menu contributions in package.json
  • Add localized strings, progress messages, and telemetry events
  • Add unit tests for CloneSiteHandler and PacWrapper methods

@priyanshu92 priyanshu92 requested review from a team as code owners April 9, 2026 03:41
@priyanshu92 priyanshu92 enabled auto-merge (squash) April 9, 2026 03:42
@priyanshu92 priyanshu92 force-pushed the users/priyanshuag/actions-hub-clone-site branch from 4bd9be9 to 5cb17db Compare April 9, 2026 03:42
Priyanshu Agrawal and others added 3 commits April 9, 2026 11:35
- Add CloneSiteHandler with download, clone, and upload workflow
- Add cloneSiteWithProgress, uploadSiteWithProgress, and
  uploadCodeSiteWithProgress methods to PacWrapper
- Register cloneSite command in ActionsHubTreeDataProvider
- Add command and menu contributions in package.json
- Add localized strings, progress messages, and telemetry events
- Add unit tests for CloneSiteHandler and PacWrapper methods

Co-Authored-By: Claude Opus 4.6 (1M context)(Internal only) <noreply@anthropic.com>
…-extra

fs-extra exports non-configurable properties that cannot be stubbed with
sinon. Instead of stubbing ensureDirSync/readdirSync, the tests now:
- Let real temp directories be created
- Have mock download/clone callbacks create site subfolders to simulate CLI behavior
- Clean up temp dirs in afterEach

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@priyanshu92 priyanshu92 force-pushed the users/priyanshuag/actions-hub-clone-site branch from 713ce82 to 205bf59 Compare April 9, 2026 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant