I'd also like to see a public API. For my use case it would be to fetch the project readme file. For a workflow I am trying to use, I want to be able to fetch the public README file without any authentication. For example, GitHub provides a url, e.g. https://api.github.com/repos/acgd-webdev-1/submit-github-account/readme which provides a base64 encoded version of a project readme.
I have spent six hours in one day a few days ago (along with another instance or two before) debugging problems with Composer (PHP package manager) and Gitlab integration. It all revolves around public projects not having public API access. Most developers that hit this problem, won't spend time figuring it out they'll just go to Github where it "just works". The work-around for development is to --prefer-source in my instance so Composer uses git directly instead of any APIs provided by the hosts. Which, is not always what you want went testing what a normal developer will hit.
This should be a high priority to try and get more public projects in the community hosted with Gitlab.
Yeah, i just did exactly that, hit the road block, spent some time on it
until i figured out its a gitlab limitation, and moved my public repos to
github.
Its a pity cozz i really like the integration with CI.
@rymai I can't quite tell: is this issue about allowing non-authorized API calls on a user's own projects? Or for any public projects anywhere?
For example, I've been wanting to create a utility CLI that needs to gather information about current merge requests open on the GitLab CE project on GitLab.com. As far as I can tell, the only projects the public API returns are my own projects.
Am I correct in thinking that what I'm trying to do is currently not allowed?
But https://gitlab.com/drutopia/drutopia_site is a public project. Please fix this on gitlab.com; it's really hurting our efforts to make it easy to get involved in our community project.