-
Notifications
You must be signed in to change notification settings - Fork 88
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
Sync Version 1.4.0 rc to main #498
Sync Version 1.4.0 rc to main #498
Conversation
Add 'Otherwise' to clarify how `id` and `index` are used in wildcard read of counter and meter. Close p4lang#478
…b build tools pulling in the new dependency. (p4lang#488)
* Add all changes from PR#473 * Add generated files. * Remove redundant paragraph. * Add note about how changing MeterConfig is a non-breaking change.
Fixes p4lang#482 Signed-off-by: Steffen Smolka <[email protected]>
Signed-off-by: Dscano <[email protected]> Signed-off-by: Davide Scano <[email protected]>
Instead of merging/squashing, I wonder if we should we be rebasing instead? |
Thanks for bringing this up. In hindsight, I think we should omit the squashing and preserve the same commits as main. |
Also, arggghh: Look slike I inherited 4 missing signoffs: |
Rebasing does exactly that -- preserve all the commits from main without change. It also puts your extra commits on top and gets rid of the merge commit, so less noise in the history. And of course, that means you don't inherit things like missing sign offs :) But it does mean you may have to deal with some merge conflicts when rebasing. |
3234295
to
98139a0
Compare
* Added missing "Added/deprecated in v1.4.0" comments per convention. * Added missing "Added/deprecated in v1.4.0" comments per convention. * Refresh generated go files. Signed-off-by: chris <[email protected]>
Signed-off-by: Steffen Smolka <[email protected]> Signed-off-by: chris <[email protected]>
98139a0
to
11ad98c
Compare
@smolkaj I rebased and force-pushed, check out the commits and see if it satisfies. Thanks for the idea. I also did commit |
@smolkaj @jafingerhut Any suggestions how to resolve the unsigned commits? Conventional wisdom is to |
@chrispsommers you shouldn't force push to a branch that's not in your own repo (fork) usually. The unsigned commits predate the addition of the DCO check to this repo AFAIK. These 4 commits were also not authored by you, so you should not be signing them anyway. This is also mentioned in the DCO help page:
The best thing to do is to ignore the DCO check here. The check should only apply to new contributions, it is not relevant to previous contributions that you are cherry-picking / merging into another branch. |
@antoninbas Thanks for jumping in! I am working from a forked branch in my repo, so any forcing would be done on that branch. Assuming I follow your advice and ignore the DCO check, should I be able to merge into version-1.4.0-rc w/o problems? |
I am not certain, but the DCO settings on this repo might be still "DCO optional", meaning that people with the right permissions can merge PRs that fail the DCO checks anyway if they wish. Some p4lang repos (maybe only p4c right now?) are "DCO mandatory", and do not permit that. If this repo is still in "DCO optional", I'd say go for forcing the merge regardless of DCO failures for now, but plan ahead for a few months from now that you might want to try getting all PRs passing the DCO check, in case you want to do branching/merging stuff that would be blocked by failing DCO checks. |
Sorry for leading you astray here, Chris. I'm not used to this "fork of a fork of main" workflow, I guess rebase + force push is not recommended in that case. If we're okay with making an exception this time around, you should be able to do
but of course that bypasses the review process. (I double checked that force push to the main branch is disabled, so at least there should be no danger of accidentally corrupting What is the typical review process in this "fork of a fork of main" model? Do people review once when things get merged into the feature branch, and then again when the feature branch gets merged into main? |
|
Closed, superseded by #499 |
Sync version-1.4.0-rc to main prior to making more changes to tie up loose ends. Splitting closed #496 into separate "sync" and "update changelog" PRs.