Simple API to get list of repos and list of branches for each repo
Dominik Ruf
dominikruf at gmail.com
Thu Apr 5 18:27:17 UTC 2018
Yes, the API has a get_changesets method.
Marc Rejohn Castillano <marcrejohn.castillano at elasticbooks.com> schrieb am
Do., 5. Apr. 2018 um 13:02 Uhr:
> Thank you, how about getting the list of all commits?
>
> On Thu, Apr 5, 2018, 6:59 PM Dominik Ruf <dominikruf at gmail.com> wrote:
>
>>
>>
>> On Thu, Apr 5, 2018, 07:53 Marc Rejohn Castillano <
>> marcrejohn.castillano at elasticbooks.com> wrote:
>>
>>> Does this work for Git also?
>>>
>> Yes.
>>
>>>
>>> On Thu, Apr 5, 2018 at 1:40 PM, Dominik Ruf <dominikruf at gmail.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Apr 4, 2018, 17:49 Long Vu <long.vu at intelerad.com> wrote:
>>>>
>>>>> 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?
>>>>>
>>>> Yes, the API allows this kind of thing.
>>>>
>>>>>
>>>>> 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.
>>>>>
>>>> I already wrote a Jenkins plugin for this. And I mentioned this on this
>>>> list before and I'm pretty sure I mentioned it to you as well :-/
>>>>
>>>>
>>>> https://kallithea.dominikruf.com/kallithea/kallithea-branch-source-plugin
>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Long Vu | Software Developer, Tools & Infrastructure | Intelerad |
>>>>> +1-514-931-6222 ext. 7743 <+1%20514-931-6222>
>>>>>
>>>>> --
>>>>>
>>>>>
>>>>> 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.
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> kallithea-general mailing list
>>>>> kallithea-general at sfconservancy.org
>>>>> https://lists.sfconservancy.org/mailman/listinfo/kallithea-general
>>>>>
>>>>
>>>> _______________________________________________
>>>> kallithea-general mailing list
>>>> kallithea-general at sfconservancy.org
>>>> https://lists.sfconservancy.org/mailman/listinfo/kallithea-general
>>>>
>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20180405/68db684a/attachment.html>
More information about the kallithea-general
mailing list