Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support loading behaviors from a Git repo with branch + path #712

Closed
ikreymer opened this issue Nov 5, 2024 · 1 comment · Fixed by #717
Closed

Support loading behaviors from a Git repo with branch + path #712

ikreymer opened this issue Nov 5, 2024 · 1 comment · Fixed by #717
Assignees

Comments

@ikreymer
Copy link
Member

ikreymer commented Nov 5, 2024

As a follow-up to #707, perhaps it'd be helpful to be able to specify a git repo, which the crawler would then clone locally.
Looks like we already have git installed in the image. The main addition would be how to specify the repo, for max flexibility.

Perhaps it could be: --customBehaviors git+https://git.example.com/repo.git@branch#root/path where the @branch and /root/path would be option.

Eg. given git+https://git.example.com.git@branch#!/root/path, the crawler would do:

git clone --branch branch https://git.example.com.git /tmp/behaviors-repo
cd /tmp/behaviors-repo
cd root/path

and then grab all of the behaviors from the current directory.

@tw4l
Copy link
Member

tw4l commented Nov 8, 2024

Implemented branch and path as query parameters in the Git repo URL passed to the crawler in #717

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done!
Development

Successfully merging a pull request may close this issue.

2 participants