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 ?
The text was updated successfully, but these errors were encountered:
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!
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_VIEWwhich 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 ?
The text was updated successfully, but these errors were encountered: