nessie: Merging branches doesn't show any author name
While trying to merge a branch “branchdemo” into “main”, it seems there is no default author name added (not being sent as response)
What happened:
Tried to merge a branch into main using the below API and request payload:
POST trees/main%4058346f07f41dd2033082cec7be5311010b1644febb19c016777a44c4752cac25/history/merge
{"fromRefName":"branchdemo","fromHash":"621f99726e4263a32eedf80c2270c739054407adf0e4759518fb61670465b3f7"}
Response:
{
"wasApplied": true,
"wasSuccessful": true,
"resultantTargetHash": "521c292e2b39a032fdd57c421d488120b90741c6560e9cebf470fbbb73d13ad2",
"commonAncestor": "1b91af97348ae86e388e355c144409279bca48698454d8fcda4e197e09aac251",
"targetBranch": "main",
"effectiveTargetHash": "58346f07f41dd2033082cec7be5311010b1644febb19c016777a44c4752cac25",
"expectedHash": "58346f07f41dd2033082cec7be5311010b1644febb19c016777a44c4752cac25",
"details": []
}
What you expected to happen: Response should contain the author name (defaulted to original user probably)
How to reproduce it (as minimally and precisely as possible):
- Create a common commit before creating a branch from main
- Create a branch from main
- Create a commit in branch (make sure that it has authorname passed to API)
- Merge the branch into main
Details:
- Nessie server type (docker/built from source) and version: 0.60.1
- Client type (Ex: UI/Spark/pynessie …) and version:
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 23 (12 by maintainers)
Commits related to this issue
- Move commit-meta-updater to separate class ... and add some tests Fixes #6956 — committed to snazy/nessie by snazy a year ago
- Extract `CommitMetaUpdater` class, fix "set authors on merge" (#7039) Move commit-meta-updater to separate class ... and add some tests Fixes #6956 — committed to projectnessie/nessie by snazy a year ago
Confirmed. Author data appears to be lost on
merge
: