-
Notifications
You must be signed in to change notification settings - Fork 141
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
Merging branches doesn't show any author name #6956
Comments
@dimas-b FYI |
|
I was expecting to get authorname in log entries response (if not in merge response). Response for log entries looks like below: GET
|
Do other commits have author & committer information? |
Yes, it does have author name.
|
@mthirani2021 : This should have been fixed by #6641 , but #4562 may be interfering. Could you please re-test with the latest Nessie release and do just one merge? |
@dimas-b the behavior is same with one merge too with the latest Nessie - 0.60.1 . |
@dimas-b any updates on this one ? |
Confirmed. Author data appears to be lost on
|
Sorry, I do not really understand what "lost" means here? Is the author from the merge-operation input parameter |
Merging without providing an explicit "author" in the commit meta of the merge request does not propagate the authors from the commits being merged. I believe it is quite reasonable for Nessie to fill in My merge request for the example above was something like this (sorry for not including it up front):
|
... and add some tests Fixes projectnessie#6956
Move commit-meta-updater to separate class ... and add some tests Fixes #6956
Should I be able to test this in next released version ? |
It's merged and will be included in 0.62.0+ |
Also in the next published SNAPSHOT release |
Got it, thanks! |
(Duplicating the comment from #7039) Note: the "pull information from merged commits" clashes with #7035 / #4562, because that will support merging "heavily nested trees" and identifying the "merged commits" would become extremely difficult. Therefore the new storage model will only set the author to the committer. |
We should be able to test in new storage model (default model) in OSS Nessie in 0.62.+? Is this what you mean here? |
It means: "Therefore the new storage model will only set the author to the committer." (... of the merge) |
Yes I understand, but this is what I have tested with new storage model in 0.60.1 / 0.61.0 |
Not sure what you mean with „tested in 0.60/61“, because the associated PR has not been released and it’s behavior will not be released because of the merge-base PR |
Again: #7039 will NOT be released with the functionality to collect stuff from „merged commits“. |
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:
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):
Details:
The text was updated successfully, but these errors were encountered: