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

Error with source import when owner/repository longer than a certain limit #18

Open
philipstarkey opened this issue Feb 1, 2020 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@philipstarkey
Copy link
Owner

This doesn't just apply to my tool, but the GitHub web source importer too. While repository names are limited to 100 characters, it seems like there is something that takes into account the length of the repository owner as well. The error message is completely uninformative. You can bypass it by importing to an owner (user/org) with a shorter name, and then transferring to your longer named user/org, but then you can't clone the repository with git. Very bizarre.

Anyway, seems like the cumulative limit is somewhere between 119 and 129 chars. Should work out what it is exactly and catch it.

@philipstarkey philipstarkey added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Feb 1, 2020
@philipstarkey
Copy link
Owner Author

Looks like 127 chars is ok (if you include the "/"). Have to check if 128 is ok or not!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant