View Bazaar branches
Get this repository:
git clone https://git.not.enabled/turnip
Members of Canonical Launchpad Engineering can upload to this repository. Log in for directions.

turnip has 2 active reviews. See all merge proposals.

Branches

Name Last Modified Last Commit
master 2023-10-19 15:52:36 UTC
Add ref creation POST endpoint to turnip-api

Author: Bowen Fan
Author Date: 2023-10-19 15:52:36 UTC

Add ref creation POST endpoint to turnip-api

A bulk endpoint is added at `/repo/{name}/refs`. The request payload should contain
a JSON array of dicts, e.g. [{"ref":"refs/tags/1234", "commit_sha1":<hash>}, ...].
The logic layer will use pygit2's `repo.create_reference` method to write the
requested ref names against the corresponding commits specified.

The response body indicates the refs that were successfully created and refs that
encountered errors. In case of logic layer failures (e.g. the commit cannot be found
in the repo), partial success is possible. In case of API layer failures (e.g. the
request body does not conform to what the API expects), the entire request will not
be processed and an API error will be returned.

Also includes corresponding unit tests for the new functions.

Merged from https://code.launchpad.net/~bowenfan/turnip/+git/turnip/+merge/452540

11 of 1 result

Other repositories

Name Last Modified
lp:turnip 2023-10-19
lp:~bowenfan/turnip 2023-10-19
lp:~superalpaca/turnip 2023-10-16
lp:~cjwatson/turnip 2023-10-12
lp:~canonical-launchpad-branches/turnip/+git/turnipcake 2023-09-28
lp:~cjwatson/turnip/+git/turnipcake 2023-09-28
lp:~gravi1984/turnip 2023-09-28
lp:~lgp171188/turnip 2023-08-21
lp:~canonical-launchpad-branches/turnip/+git/charm-build-turnip-celery 2023-08-18
lp:~canonical-launchpad-branches/turnip/+git/charm-build-turnip-api 2023-08-18
lp:~canonical-launchpad-branches/turnip/+git/charm-build-turnip-pack-frontend-http 2023-08-18
lp:~canonical-launchpad-branches/turnip/+git/charm-build-turnip-pack-frontend-ssh 2023-08-18
lp:~canonical-launchpad-branches/turnip/+git/charm-build-turnip-pack-frontend-git 2023-08-18
lp:~canonical-launchpad-branches/turnip/+git/charm-build-turnip-pack-virt 2023-08-18
lp:~canonical-launchpad-branches/turnip/+git/charm-build-turnip-pack-backend 2023-08-18
lp:~canonical-launchpad-branches/turnip/+git/charm-build-turnipcake 2023-08-04
lp:~pelpsi/turnip/+git/turnipcake 2023-08-03
lp:~pelpsi/turnip 2023-08-03
lp:~pelpsi/turnip/+git/dependencies 2023-07-26
lp:~jugmac00/turnip 2023-06-20
lp:~superalpaca/turnip/+git/dependencies 2023-06-20
lp:~bowenfan/turnip/+git/turnipcake 2023-05-18
lp:~ines-almeida/turnip 2023-05-11
lp:~canonical-launchpad-branches/turnip/+git/dependencies 2023-04-04
lp:~andrey-fedoseev/turnip 2022-07-13
lp:~andrey-fedoseev/turnip/+git/dependencies 2022-07-13
lp:~cjwatson/turnip/+git/dependencies 2022-07-13
lp:~ilasc/turnip 2021-06-24
lp:~twom/turnip 2021-05-07
lp:~yousure122244444444/turnip 2021-04-29
lp:~pappacena/turnip 2021-04-27
lp:~barryprice/turnip 2021-03-17
lp:~pappacena/turnip/+git/turnip-dependencies 2021-01-08
lp:~pappacena/turnip/+git/turnip-1 2020-12-15
lp:~ilasc/turnip/+git/dependencies 2020-09-25
lp:~doismellburning/turnip 2020-01-30
lp:~wgrant/turnip 2019-08-13
lp:~wgrant/turnip/+git/dependencies 2019-02-12
lp:~vila/turnip/+git/jenkaas 2017-02-10
lp:~blr/turnip/+git/turnip 2016-05-16
140 of 40 results
You can't create new repositories for turnip.