Skip to content
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

Integration Candidate 2020-03-25 #52

Merged
merged 3 commits into from
Apr 3, 2020
Merged

Conversation

astrogeco
Copy link
Contributor

@astrogeco astrogeco commented Apr 1, 2020

Describe the contribution
Fixes #19

Testing performed
See PR #48
Bundle CI - Pass

Expected behavior changes
Add CFE_TBL_ReleaseAddress after access of table data

System(s) tested on
Bundle CI - Ubuntu: Bionic

Contributor Info - All information REQUIRED for consideration of pull request
Anh Van - NASA/GSFC
Gerardo E. Cruz-Ortiz - NASA/GSFC

@skliper
Copy link
Contributor

skliper commented Apr 3, 2020

Are you planning to fix the "release table address" commit message?

I don't follow why this broke... was a rebase on master missed?

@skliper
Copy link
Contributor

skliper commented Apr 3, 2020

Nevermind, I see why it broke.

@jphickey
Copy link
Contributor

jphickey commented Apr 3, 2020

I don't follow why this broke... was a rebase on master missed?

The original changeset must have been based on a previous master before the name changes went in. It's a clean merge text-wise but really a conflict.

This is precisely why we do the "integration-candidate" branch - to catch and fix this type of more subtle merge issue, before it gets to master.

Copy link
Contributor

@skliper skliper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add context to the commit message? I assume this is intended as a FASTTRACK associated with the 2020-02-25 integration branch?

@astrogeco
Copy link
Contributor Author

Nope, this wasn't fast tracked.

@jphickey
Copy link
Contributor

jphickey commented Apr 3, 2020

FWIW, I would have re-done the "integration-candidate" branch in the sample_app to clean this up. One can merge with "--no-commit" and fix the non-detected conflict, then commit. This will result in cleaner history.

Want me to do that?

@astrogeco
Copy link
Contributor Author

I can squash once it works. I'll fumble my way through it. Honestly I don't mind a slightly messy history if it reflects reality.

@skliper
Copy link
Contributor

skliper commented Apr 3, 2020

I'm question "FASTTRACK" in context of the changes you are making right now that I assumed we would just review quickly as a fix to IC and push to master... or do you plan to back this change out of the IC and put it through as a new pull request (not fasttrack?)

@skliper
Copy link
Contributor

skliper commented Apr 3, 2020

Anyways, I'll stop commenting on a work in progress :)

@astrogeco
Copy link
Contributor Author

No need to stop commenting, that's what PRs are meant for. And yes we can fast track these changes. I'll request once it passes CI or when I get stuck. What would a more detailed commit message look like?

@jphickey
Copy link
Contributor

jphickey commented Apr 3, 2020

My preference is to fumble around as much as we need to in an ephemeral branch, but then clean it up for the final merge so we don't have to sort through the mess in the future. (I hate seeing "fixup" commits in the permanent history).

At any rate, now I see you were referring to the log message on the original commit, ceb2aa7. This is a spot I would consider sending it back to the original author to write a better commit message. The person doing the merges shouldn't be rewriting commit messages, they should meet the guidelines to begin with.

@jphickey
Copy link
Contributor

jphickey commented Apr 3, 2020

May want to manually rebase and fix the commit message this time around, but we really should start enforcing/rejecting commits at the CCB if the logs aren't meeting the guidelines

@skliper
Copy link
Contributor

skliper commented Apr 3, 2020

Agreed, I prefer getting the commit message to meet standard prior to IC merge.

FASTTRACK: describe change

why, and extra context if needed

There's a few examples in most of the repos... https://github.com/nasa/sample_app/commits/master

@jphickey
Copy link
Contributor

jphickey commented Apr 3, 2020

I actually don't think this is a fasttrack situation.... this is simply a merge conflict that wasn't detected by the auto-merge algorithm because it has to do with semantics, not just syntax. This is where I would simply re-do the merge but manually fix the conflict, as it should have been if the merge algorithm was semantic-aware

@jphickey
Copy link
Contributor

jphickey commented Apr 3, 2020

But since the commit message needs to be fixed anyway, just rebase it and fix both. Then it will cleanly merge and that solves everything

@skliper
Copy link
Contributor

skliper commented Apr 3, 2020

I have no problem either way as long as there isn't a dangling commit without context

@jphickey
Copy link
Contributor

jphickey commented Apr 3, 2020

Yep - rebase commit ceb2aa7, write a better commit log in the process that adheres to guidelines, then re-do integration-candidate with this instead.

Problem solved.

@astrogeco astrogeco force-pushed the integration-candidate branch from 7c7012d to 34321ff Compare April 3, 2020 17:58
@astrogeco
Copy link
Contributor Author

@skliper and @jphickey how does this look?

@jphickey
Copy link
Contributor

jphickey commented Apr 3, 2020

Its OK - would have preferred to include the fix in the rebase rather than a separate commit. But it looks like it should work.

@astrogeco astrogeco merged commit b956292 into master Apr 3, 2020
@skliper skliper added this to the 1.2.0 milestone Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sample app needs to release table to allow management
3 participants