user
02/22/2022, 2:54 AMuser
02/22/2022, 6:21 AMuser
02/22/2022, 9:51 PMuser
02/22/2022, 9:51 PM--source <lakefs://origin/><ref>
then? when creating a branchuser
02/22/2022, 9:52 PMdef create_branch_from_tag(self, branch_to_create: str, from_tag: str) -> None:
try:
b_api = BranchesApi(self._client)
branch_creation = BranchCreation(branch_to_create, from_tag)
b_api.create_branch(LakeFSRESTConnection.LAKEFS_REPO, branch_creation)
except Exception as e:
logger.error(str(e), exc_info=True)
user
02/22/2022, 10:01 PMReason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Date': 'Tue, 22 Feb 2022 02:55:56 GMT', 'Content-Type': 'application/json', 'Content-Length': '65', 'Connection': 'keep-alive', 'X-Request-Id': 'd028bb65-8c0c-4891-a8f9-a7eab4618049'})
HTTP response body: {"message":"argument branchID: invalid value: validation error"}
user
02/22/2022, 10:01 PMuser
02/22/2022, 10:10 PMlakectl tag delete my-tag
lakectl branch delete my-tag
When you’re creating a branch it is from a specific commit or tag (that can be related to a specific branch) so it refers to the tag.user
02/22/2022, 10:22 PMuser
02/22/2022, 10:24 PMuser
03/02/2022, 6:06 AM