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

remote:gitea - Can't build a public repository when gitea's REQUIRE_SIGNIN_VIEW is true #2468

Closed
JulienTant opened this issue Aug 3, 2018 · 1 comment

Comments

@JulienTant
Copy link

JulienTant commented Aug 3, 2018

Hi,

I noticed that when I create a public repository in Gitea and adds it in drone, it doesn't work (fatal: could not read Username for 'https://address.net: No such device or address), But if I pass the repository to private in gitea, remove the webhook, delete & readd the repo on drone then it will work.

So I suppose that this is linked to the fact that my gitea instance run with REQUIRE_SIGNIN_VIEW which requires users to be logged in to visit http pages. And i guess that more information are stored for private repository (probably some token?) than for public one, tho it works on private repository.

I can totally help on building a quickfix which would be forcing the request of that special token (I didn't watc the code yet), and see for an improvement which would be "force that behavior when some env var is set like GITEA_IS_HIDDEN: true"

What do you guys think about that ?

@bradrydzewski
Copy link
Contributor

bradrydzewski commented Aug 3, 2018

Hey there, per the issue template, we prefer to use the mailing list to discuss and troubleshoot before creating issues, since we get a lot of false positives. I'm not able to reproduce any issues with public or private gitea repositories. Perhaps you want to set GITEA_PRIVATE_MODE? Lets move the discussion to the mailing list, and can always re-open if we find an issue with Drone. Thanks!

Mailing list:
https://discourse.drone.io/

Possible related topics:
https://discourse.drone.io/search?q=No%20such%20device%20or%20address

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