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

Gitlab workspace sync broken #1505

Closed
tvolodimir opened this issue Jun 21, 2019 · 1 comment
Closed

Gitlab workspace sync broken #1505

tvolodimir opened this issue Jun 21, 2019 · 1 comment

Comments

@tvolodimir
Copy link

tvolodimir commented Jun 21, 2019

I use Gitlab workspace. And I found issues when I created a list of documents and folders.

Everything was going smooth until I reach 20 items in total of documents and files. I discovered that api /projects/:id/repository/tree receive 20 elements by default -
https://docs.gitlab.com/ee/api/repositories.html#list-repository-tree
Will be great to fix this

As I understand It should work if add into fetch 'per_page ':999 at

return request(token, {
url: `projects/${encodeURIComponent(projectId)}/repository/tree`,
params: {
ref: branch,
recursive: true,
},
});

@ProbablyFaiz
Copy link

When will this change be deployed to the stackedit.io website? I'd like to use this for a large Gitlab project I have but it doesn't sync correctly.

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

No branches or pull requests

2 participants