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

Cant submit package from phabrictor git repo #368

Open
enko opened this issue Nov 28, 2013 · 1 comment
Open

Cant submit package from phabrictor git repo #368

enko opened this issue Nov 28, 2013 · 1 comment
Labels

Comments

@enko
Copy link

enko commented Nov 28, 2013

When I try to submit a new package to packagist.org with my repo I get this error:

Uncaught Exception: [RuntimeException] Repository https://bk-dev.hacked.jp/diffusion/DO could not be processed, can not ask for authentication in non interactive mode (svn: OPTIONS of 'https://bk-dev.hacked.jp/diffusion/DO': authorization failed: Could not authenticate to server: rejected Basic challenge (https://bk-dev.hacked.jp) )

I'm using phabricator self hosted git repo feature and git it self has no problems with it. The feature is relativly new and maybe this might be an issue with phabricator.

@Seldaek
Copy link
Member

Seldaek commented Nov 28, 2013

It seems the auto-detection fails and it falls back on the svn driver. Typically git repos have URLs like: https://bk-dev.hacked.jp/diffusion/DO.git with the .git at the end, so if it's not github and doesn't have that or a git.* domain we assume it's not git since it's not really possible to check for existence of a git repo.. If renaming to DO.git is not feasible, then I'm afraid you'll have to wait until someone adds the possibility to specify the repository type in packagist when submitting to bypass the auto-detection.

@Seldaek Seldaek added the Feature label Jul 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants