Are you talking about groups? Because as far as I know, every project has a
one-to-one correspondence with a git repository. There is one repo for the
actual project files, and another for the wiki documentation, and that's it. No
more, no less. If you want the URLs that you could "git clone," you get the
project ("get single
project<https://docs.gitlab.com/ce/api/projects.html#get-single-project>") and
look at ssh_url_to_repo and http_url_to_repo.
So it doesn't make sense to me, to say you have many projects which are not
repos, or looking for a list of URL's within a project.
Maybe you're using the word "project" when you mean "group." If that's the
case, you can get a list of projects that are in the group via
https://docs.gitlab.com/ce/user/group/, and then for each project follow the
above to get their git url's.
HTH
From: [email protected] <[email protected]> On Behalf Of Jason
Vas Dias
Sent: Friday, July 19, 2019 4:57 AM
To: GitLab <[email protected]>
Subject: how to get list of GIT repositories in a GitLab Project ?
Good day -
Please could anyone let me know how I can get a list of GIT repository URLs
contained within a GitLab Project .
My company has many GitLab Projects, which are NOT git repositories
themselves,
with many GIT repositories underneath them:
Project / GIT_REPO_1 /
...
/ GIT_REPO_N /
I've been using the JSON API :
https://gitlab.com/help/api/README.md
But the API exposes GIT functionality for GIT repositories,
there seems to be no API to list GIT repositories within a
project.
Is there any URL I can use (besides parsing the HTML output
from the project web-page) that will render the list of GIT repositories,
including those within non-GIT-repo sub-projects,
contained within a project that is not itself a GIT repo ?
Or is there any URL to download a whole project and all its
contained GIT repos ?
Thanks & Best Regards,
Jason
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/201bcaca-bb82-4649-a681-5ff997c4a11a%40googlegroups.com<https://groups.google.com/d/msgid/gitlabhq/201bcaca-bb82-4649-a681-5ff997c4a11a%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/BN3PR04MB2209C8CAF0FAFC0DD4AE7654A3CB0%40BN3PR04MB2209.namprd04.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.