-
Notifications
You must be signed in to change notification settings - Fork 144
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
feat: add gitlab
driver
#199
base: main
Are you sure you want to change the base?
Conversation
Can you please add some basic docs too? |
✅ Live Preview ready!
|
I added the possibility to fetch a branch, a tag and a path in the repository. |
In fact we can't fetch the root keys without |
EDIT: I forgot renaming a variable. You can skip the following. I should not have started with the github driver as a base. It doesn't work as expected, In fact, I don't understand how I should mount the repository.
How to mount only Like I did, I can't mount two times the driver : storage.mount('user/repo', gitlabDriver({
apiURL: source.api,
repo: 'user/repo',
base: 'content'
}))
storage.mount('user/repo', gitlabDriver({
apiURL: source.api,
repo: 'user/repo',
base: 'public'
})) This code throw an error Using
This is not what I intended. I wonder how I should do ? |
|
Salut ! I changed the It also iterates all pages to get all files. Expect #208 issue which I don't know what to do, everything looks good to me! |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as duplicate.
This comment was marked as duplicate.
https://github.com/pi0/tired-maintainer Thanks for understanding 🙏🏼 |
Hi, thanks for this PR ! Thanks ! |
Yes !
I'm still waiting for review. |
Inspired by github driver.
It works in read only mode.
I added tests, but removed my credentials. You should provide your own for testing.
I don't know how to do otherwise...