Simple API to get list of repos and list of branches for each repo
Long Vu
long.vu at intelerad.com
Wed Apr 4 15:49:23 UTC 2018
Hi,
With hgweb, it's extremely simple.
Getting the list of all the repos is
https://www.mercurial-scm.org/repo?style=json
Getting all the branches for 1 repo is
https://www.mercurial-scm.org/repo/hg/branches?style=json
Is there something similar with Kallithea?
Use case: using Jenkins JobDSL plugin to automatically create jobs for
all repos and all branches in each repo, basically emulating the
Organization Folder support for Github and Bitbucket in Jenkins, but
for Kallithea and hgweb.
--
Long Vu | Software Developer, Tools & Infrastructure | Intelerad |
+1-514-931-6222 ext. 7743
--
This email or any attachments may contain confidential or legally
privileged information intended for the sole use of the addressees. Any
use, redistribution, disclosure, or reproduction of this information,
except as intended, is prohibited. If you received this email in error,
please notify the sender and remove all copies of the message, including
any attachments.
More information about the kallithea-general
mailing list