Skip to content

Conversation

@Darieb
Copy link

@Darieb Darieb commented Sep 16, 2025

CHIRP PR Guidelines

Yaesu FT-1D, FT2D, FT3D fixes WiresX settings to handle all rooms in category.

Fixes #12108.

Also has gardening fixes in separate commits: removes reverse seekto, text-handling in settings, helper-function naming.

@Darieb
Copy link
Author

Darieb commented Sep 16, 2025

The old "fixdigi" commit for Yaesu FT-xD is part of this rollup, as are the gardening changes, each in separate commits. The seekto changes will still have the occasional "unnecessary", but no more backwards. And they don't break FTM-yD radios.

I finally got an inkling of what David Bouch was trying to talk me through (2 years ago, now!) about cherry-picking commits into a new branch. Hence the new ftrollup commit. I hope this is all OK. It passed the automated tests.

@Darieb
Copy link
Author

Darieb commented Sep 16, 2025

The UI line with RadioSettingSubGroup still gets mousover errors.

@Darieb Darieb marked this pull request as ready for review September 17, 2025 00:35
@Darieb
Copy link
Author

Darieb commented Sep 17, 2025

Moved the category name setting into the SubGroup.

@kk7ds
Copy link
Owner

kk7ds commented Sep 18, 2025

As noted on the bug you opened, I can't reproduce the mouseover errors.

Also, I'm not sure if this is actually supposed to be reviewed because it contains commits that claim to break some of the drivers, for deprecation reasons I replied on list were not necessary to address. Are you saying that the first commit breaks them and the second re-fixes them? If so, we definitely don't want to put that breakage in the history, so please squash them.

@Darieb
Copy link
Author

Darieb commented Sep 19, 2025

Thanks. I realize my error; I'd cherry-picked one commit too many (it was historical: first commit worked but left broken things in dependent drivers, second one fixed that. I think I should have only used the second commit in the rollup.)

How do you recommend I 'squash' that out? I can rebuild that branch with the correct commits; will that upset the history-keeping? That's easy. Should I cancel the PR and resubmit? Or, since it's all in one driver file, just let github figure it out when I push a new version?

@kk7ds
Copy link
Owner

kk7ds commented Sep 19, 2025

Does it need to be squashed or removed? Either way, git rebase -i is how you edit your history. Then just git push -f here when you're done.

Copy link
Owner

@kk7ds kk7ds left a comment

Choose a reason for hiding this comment

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

Thanks for the commit cleanup. Looks like you got interactive rebase figured out.

A couple questions, especially about the "code change required" bit. Please answer the comments inline!

Otherwise this looks good, thanks for your patience.

// GM / Digital
// already at 0x04c0;
// Caution: overloaded at 04c1! Code change necessary
Copy link
Owner

Choose a reason for hiding this comment

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

Is the "code change necessary" the one you're making in this commit, or are you saying another change is needed that this does not account for?

val = RadioSettingValueString(0, 16, msg)
rs = RadioSetting("opening_message.message.padded_yaesu",
"Opening Message", val)
"Opening Message (16 chars)", val)
Copy link
Owner

Choose a reason for hiding this comment

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

Let's not get into this pattern here. I can make a change to the UI that will put the required length into the tooltip (or something) that will work the same for all string settings, okay?

mem.duplex = DUPLEX[""]
else:
mem.duplex = DUPLEX[_mem.duplex]
mem.duplex = DUPLEX[_mem.duplex] if _mem.duplex else ""
Copy link
Owner

Choose a reason for hiding this comment

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

....still would like to know how this is related.

Copy link
Owner

Choose a reason for hiding this comment

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

I really don't understand why you won't explain this change. The previous code was obviously wrong, but fixing it should be in a separate commit from this with an explanation.

@Darieb
Copy link
Author

Darieb commented Sep 25, 2025 via email

@Darieb
Copy link
Author

Darieb commented Oct 12, 2025

Oh no! what have I done now and how?
I found the PR didn't work (back at this computer after more than 2 weeks.) The check_commit failed! I thought I was running a draft test, and a "new" update to my master (but not, I thought to ftrollup commit) seems to have wheedled its way into the system. I did NOT intentionally update ftrollup. How do I git rid of it, or convince the PR Checks that it's not really there (or is it?) I'm stuck at trying to figure this out.

When locally switched to ftrollup, the git log shows a latest-commit as Sep 25 (344e850). When switched to master, the git log shows a latest-commit at Oct 8 (abd542d)
But clearly, github is also seeing a commit on October 10 (5b73a4c).
So how do I remove that, or alternately get the checks to ignore it? It wasn't there before I touched things Friday, but the PR hadn't finished either AFAICT.

Sigh,
your slowest-learning newbie EVER,
Declan Rieb

@Darieb
Copy link
Author

Darieb commented Oct 15, 2025

Finally... No more merge. All tests passed. I had to do the rebase FIRST. It wasn't obvious that the github.com error message also had a drop-down menu that suggested either merge or rebase. whew!

@kk7ds
Copy link
Owner

kk7ds commented Oct 20, 2025

As noted in the PR guidelines your last commit to fix stuff "after comments" should be squashed. I really wanted the duplex fix in a separate commit and explained. But, I'm out of ideas for trying to get you to answer me. So, since this needs to be squashed and rebased I'll just split that bit out myself.

@kk7ds kk7ds merged commit b376d42 into kk7ds:master Oct 21, 2025
6 checks passed
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.

2 participants