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

Cannot fetch gitlab project #28

Open
Morgul opened this issue Oct 27, 2023 · 2 comments
Open

Cannot fetch gitlab project #28

Morgul opened this issue Oct 27, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Morgul
Copy link

Morgul commented Oct 27, 2023

Attempting to use tmplr on my gitlab project doesn't work, it simply says Working and spins forever. Using local to the checked out project works perfectly, as does tmplr preview.

I believe this is related to issues degit has with gitlab and projects in subgroups; I had to switch to using tiged instead (mainly because of this issue). (I found tmplr from a tiged issue, actually, and it's exactly what I want, love it so far!)

My project is here: https://gitlab.com/skewed-aspect/seed-projects/vue3-bootstrap (currently, the tmplr implementation is in the template branch, but tmplr failed on the base project).

I've tried the following commands, and they all hang:

$ npx tmplr https://gitlab.com/skewed-aspect/seed-projects/vue3-bootstrap#template
$ npx tmplr https://gitlab.com/skewed-aspect/seed-projects/vue3-bootstrap

Screenshot:
image

@loreanvictor loreanvictor added the bug Something isn't working label Oct 27, 2023
@loreanvictor
Copy link
Owner

perhaps we should try switching to tiged instead of degit. I will take a look at this issue and the potential solution when I get the time, but if you are interested I would also very much appreciate a PR! in case you would like to try switching degit with tiged, you would need to change this library, specifically this line (though tiged doesn't seem to be typed or have a typedef package, so perhaps you'd need to also add a module augmentation for that, which could be easily done by copying the DefinitelyTyped repo).

@Morgul
Copy link
Author

Morgul commented Oct 27, 2023

I'll see if I can't take a look this weekend, or next week. I should have some spare time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants