Steve Willard
07/13/2023, 2:16 AMIddo Avneri
07/13/2023, 2:33 AMSteve Willard
07/13/2023, 12:38 PMmain
quite a bit, and may not ever merge back in, but it would be nice to maintain the history instead of creating a new repo from scratchIddo Avneri
07/13/2023, 12:51 PMItai Admi
07/13/2023, 2:35 PMlakectl refs-dump lakefs://<repo>
2. lakectl repo create-bare lakefs://<new_bare_repo> s3://<same_storage_namespace>
3. lakectl refs-restore lakefs://<new_bare_repo> --manifest <json_from_step_1>
the behavior you’ll get is as close to a fork as it gets. Some differences:
1. Data isn’t copied between the repos. The new repo will keep pointing at the old objects. New objects uploaded to the new repo will be available in the new storage namespace.
2. You can’t merge/move/rebase commits/branches between the repos.
3. It only work for committed objects. Uncommitted objects should be committed in order to be available in the new repo.
Let us know if it worked as expected.Steve Willard
07/14/2023, 3:31 PM