-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
* add merge strategy * add merge strategy * generate files * Adding merge strategies support to merge test * refactoring merge test running engine to external function * merge strategies - completing conflict handling * merge strategy tests * Adding explanations of conflicts and their resolution to non trivial conflict tests * Updating description for merge-strategy flag * Additional test - merge conflict resolved by strategies * Adding documentation to handleAll function, to explain the new strategyToInclude parameter * changing 'theirs' and 'ours' to 'source-wins' and 'dest-wins' * renaming lakectl test functions for easier isolated run * lakectl tests - parameterizing file name, checksum and commit message * lakectl test for merge strategies * fixing merge issues in lakectl test Co-authored-by: Itai David <itai.david@treeverse.io> Co-authored-by: itai-david <90712874+itai-david@users.noreply.github.com>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Source ref: lakefs://${REPO}/${SOURCE_BRANCH} | ||
created branch '${DEST_BRANCH}' <COMMIT_ID> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
object <DATE> <TIME> <TZ> 1.0 kB ${FILE_PATH} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
object <DATE> <TIME> <TZ> 1.0 kB ${FILE_PATH_1} | ||
object <DATE> <TIME> <TZ> 1.0 kB ${FILE_PATH_2} |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Path: upload_file1.txt | ||
Path: ${FILE_PATH} | ||
Modified Time: <DATE> <TIME> <TZ> | ||
Size: 20 bytes | ||
Human Size: 20 B | ||
Size: 1024 bytes | ||
Human Size: 1.0 kB | ||
Physical Address: ${STORAGE}/<OBJECT_KEY> | ||
Checksum: bcd52aa37b0c6151513579d6f21c4414 | ||
Checksum: <CHECKSUM> | ||
Content-Type: application/octet-stream |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Source: lakefs://${REPO}/${SOURCE_BRANCH} | ||
Destination: lakefs://${REPO}/${DEST_BRANCH} | ||
Conflict found. | ||
Error executing command. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Source: lakefs://${REPO}/${SOURCE_BRANCH} | ||
Destination: lakefs://${REPO}/${DEST_BRANCH} | ||
Merged "${SOURCE_BRANCH}" into "${DEST_BRANCH}" to get "<COMMIT_ID>". |