In many scenarios, internal lakeFS flows requires creation of ephemeral branches. These branches should not be visible to the users to avoid confusion/friction or accidentally disrupting lakeFS flows (by user modification or deletion).
The suggestion is to allow creation of hidden branches which will not show up when listing repository branches and minimize the exposure of these branches to the end user.
Introduce a new flag for branch creation:
BranchCreation:
type: object
required:
- name
- source
properties:
name:
type: string
source:
type: string
force:
type: boolean
default: false
hidden:
type: boolean
description: when true, branch will not show in list branches by default
default: false
Add hidden property to branch which will be defaulted to false if not exists (backwards compatible):
In many scenarios, internal lakeFS flows requires creation of ephemeral branches. These branches should not be visible to the users to avoid confusion/friction or accidentally disrupting lakeFS flows (by user modification or deletion). The suggestion is to allow creation of hidden branches which will not show up when listing repository branches and minimize the exposure of these branches to the end user.
Introduce a new flag for branch creation:
Add
hidden
property to branch which will be defaulted to false if not exists (backwards compatible):These branches will not show up when listing repository branches by default. Introduce a new query param to ListBranches command: