-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lakefs import with merge support #726
Conversation
cmd/lakefs/cmd/import.go
Outdated
@@ -145,4 +166,5 @@ func init() { | |||
importCmd.Flags().Bool(DryRunFlagName, false, "Only read inventory and print stats, without making any changes") | |||
importCmd.Flags().StringP(ManifestURLFlagName, "m", "", fmt.Sprintf("S3 uri to the manifest.json to use for the import. Format: %s", ManifestURLFormat)) | |||
_ = importCmd.MarkFlagRequired(ManifestURLFlagName) | |||
importCmd.Flags().Bool(WithMergeFlagName, false, "With merge after import completes") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Helptext: "Merge imported data to the repository's main branch"
Flag suggestion: instead of with-merge >> "merge-to-main" -- but not sure about this one. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
went with the default repository branch - not sure it will be main. also, GitHub remove main so I guess we will be next ;)
Co-authored-by: johnnyaug <yoni.augarten@treeverse.io>
…FS into feature/import-with-merge
The optional flag --with-merge will merge the import changes from our default branch to the repo default branch