Skip to content

Commit f38f684

Browse files
committed
feat: Implement provider loader dynamic imports with GitHub URL support
- Add URL detection and parsing utilities for GitHub URLs, local paths, and NPM packages - Implement git operations for cloning and updating repositories with local caching - Add automatic update checking mechanism for GitHub repositories - Update provider-loader.ts to support multiple source types with comprehensive error handling - Add comprehensive test coverage for all new functionality - Include complete documentation with usage examples - Support GitHub URLs: https://github.com/user/repo, user/repo@branch - Support local paths: ./path, /absolute/path - Support NPM packages: package-name, @scope/package - Maintain backward compatibility with existing providers - Add fallback mechanisms and interface validation
1 parent 825f116 commit f38f684

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/model/cloud-runner/providers/provider-git-manager.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ describe('ProviderGitManager', () => {
4646
jest.clearAllMocks();
4747
});
4848

49-
5049
describe('cloneRepository', () => {
5150
it('successfully clones a repository', async () => {
5251
const expectedResult = {

0 commit comments

Comments
 (0)