Skip to content

Integration Candidate 2020-03-25#52

Merged
astrogeco merged 3 commits into
masterfrom
integration-candidate
Apr 3, 2020
Merged

Integration Candidate 2020-03-25#52
astrogeco merged 3 commits into
masterfrom
integration-candidate

Conversation

@astrogeco

@astrogeco astrogeco commented Apr 1, 2020

Copy link
Copy Markdown
Contributor

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

skliper commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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

skliper commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

Nevermind, I see why it broke.

@jphickey

jphickey commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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.

@skliper skliper left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

Nope, this wasn't fast tracked.

@jphickey

jphickey commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

skliper commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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

skliper commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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

@astrogeco

Copy link
Copy Markdown
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

jphickey commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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

jphickey commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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

skliper commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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

jphickey commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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

jphickey commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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

skliper commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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

@jphickey

jphickey commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

@skliper and @jphickey how does this look?

@jphickey

jphickey commented Apr 3, 2020

Copy link
Copy Markdown
Contributor

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

4 participants