[chirp_devel] Help, please: Handholding for adding a file to chirp drivers
*grumble* I need help to manage to add a file in mercurial/mq so I can send it y’all.
"hg stat” sees that I have a new file in the drivers directory:
$ hg stat ? chirp/drivers/ft2d.py
“hg export” shows my comment and metadata of sorts:
hg export tip # HG changeset patch # User Declan Rieb nthreewx@gmail.com # Date 1498951152 21600 # Sat Jul 01 17:19:12 2017 -0600 # Node ID 0b3fa805a0993cbb9d593d236242202ad1d6b7f7 # Parent 0b2aaa54f3082a8fe735b4e32091466c50b9900b [ft2d] Add support for Yaesu FT2DR. #3257 #3325 #3887
But… there’s no patch information added to the end!
“hg diff” shows, well, nothing.
If I try to play with an existing file, the process shows the diffs, as expected. How does one convince hq to include the new file in export as a diff? I know it can be done; Jim Unroe did it on June 13. I shan’t need this capability very often, I presume, so I’m asking for some more specific directions. It’s not included in the directions at http://chirp.danplanet.com/projects/chirp/wiki/DevelopersAdd_a_Radio http://chirp.danplanet.com/projects/chirp/wiki/DevelopersAdd_a_Radio or http://chirp.danplanet.com/projects/chirp/wiki/DevelopersProcess http://chirp.danplanet.com/projects/chirp/wiki/DevelopersProcess [or perhaps my lazy mind just didn’t find the otherwise-obvious instruction therein.]
Now, I’m not averse to just attaching the file or copying it inline, but that probably doesn’t match any automatic processes.
I think I understand that the prototype .img file to be added to the tests needs to come as an attachment somehow.
Thanks for your understanding and help.
Declan Rieb, WD5EQY
On Sat, Jul 1, 2017 at 4:51 PM, NNN Wx via chirp_devel chirp_devel@intrepid.danplanet.com wrote:
*grumble* I need help to manage to add a file in mercurial/mq so I can send it y’all.
"hg stat” sees that I have a new file in the drivers directory:
$ hg stat ? chirp/drivers/ft2d.py
“hg export” shows my comment and metadata of sorts:
hg export tip # HG changeset patch # User Declan Rieb nthreewx@gmail.com # Date 1498951152 21600 # Sat Jul 01 17:19:12 2017 -0600 # Node ID 0b3fa805a0993cbb9d593d236242202ad1d6b7f7 # Parent 0b2aaa54f3082a8fe735b4e32091466c50b9900b [ft2d] Add support for Yaesu FT2DR. #3257 #3325 #3887
But… there’s no patch information added to the end!
“hg diff” shows, well, nothing.
I think the issue is the the instructions are written for making changes to files, and you're trying to add a files. To add the new file to the patch, try this:
hg add chirp/drivers/ft2.dpy hg qref hg export tip
Tom KD7LXL
participants (2)
-
NNN Wx
-
Tom Hayward