<div dir="ltr">I think this is a great idea! I've been putting off making a few changes because I would have to install and learn mercurial and everything I do is in git. Also, what you said about running the newest programming languages is true.<div><br></div><div>However, I urge you to think even further!</div><div><br></div><div>I've been thinking about Chirp running on a web-based platform! You could use GDocs for most of the interface. Combine that with Javascript and Electron (<a href="http://electronjs.org">electronjs.org</a>) and now you have an app that would run on all platforms (Linux, Mac, Win) with no additional work. More and more apps are moving to this model. For example, Slack and Visual Studio Code are Electron apps. The WebUSB API makes it easy to talk to and run USB dongles with Javascript.</div><div><br></div><div>-David, N9KT</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 8, 2018 at 3:06 PM <<a href="mailto:chirp_devel-request@intrepid.danplanet.com">chirp_devel-request@intrepid.danplanet.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send chirp_devel mailing list submissions to<br>
<a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" rel="noreferrer" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:chirp_devel-request@intrepid.danplanet.com" target="_blank">chirp_devel-request@intrepid.danplanet.com</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:chirp_devel-owner@intrepid.danplanet.com" target="_blank">chirp_devel-owner@intrepid.danplanet.com</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of chirp_devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Modernizing (Derek Chauran)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 8 Jun 2018 08:44:20 +0000<br>
From: Derek Chauran <<a href="mailto:af7ux@outlook.com" target="_blank">af7ux@outlook.com</a>><br>
Subject: [chirp_devel] Modernizing<br>
To: "<a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a>"<br>
<<a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a>><br>
Message-ID:<br>
<<a href="mailto:MWHPR13MB0896ACF6D5270D897D27668EE1670@MWHPR13MB0896.namprd13.prod.outlook.com" target="_blank">MWHPR13MB0896ACF6D5270D897D27668EE1670@MWHPR13MB0896.namprd13.prod.outlook.com</a>><br>
<br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I have been thinking about this for a while, but Terrence's API/module & Dan's feedback have spurred me to put it out there.<br>
<br>
What are people's thoughts on starting to port Chirp to Python 3/GTK+, and moving to GitHub? Both are things that I think would help encourage more people to develop for Chirp. Most young and enthusiastic developers don't want to work with old versions of a programming language. As to the GitHub question, while it may seem like a small thing, I also believe that comfort level with the development process is important to attract developers. GitHub has massive adoption, and most developers I know have some degree of comfort working in git environments, whereas I get blank stares when I mention mercurial.<br>
<br>
There are a few discussion points that jump out at me. I'll throw them out there to start the discussion, but I know there are many other points to be made.<br>
<br>
1. No XP support past Python 3.5. I think this is actually a good thing. I have never used XP for anything HAM radio related and it has not held me back. As technology enthusiasts, I tihnk it's silly that many hams still client to an old, unsupported and insecure OS. I have old EF Johnson land mobile radios that i can program from Windows 10 using DOSBox. Given that Chirp is a major part of the amateur radio world, deciding to no longer support an OS that the maker doesn't even support would be a factor in getting people to upgrade.<br>
2. With Python 3, we get GTK3+. GTK+ has many enhancements that will help with some of the kunkiness inherent in the version of GTK that Chirp is built agianst. (see e.g. GIMP for windows). Of course, if Terrence's API idea pans out, then there are many other GUI options for Python 3 (PyQT, Kivy, Tkinter, etc...)<br>
3. Git is too complex - while this can be true, when it comes to developing on GitHub, there are established patterns and simple commands to accomplish most tasks. This complexity also comes with flexibility. If I am working on a major change in git (say, upgrading from Python 2.7 to 3.6), but I run across a small bug in the production code that I want to fix, git makes it easy to put aside my other changes and fix the quick bug. During my daily workflow at work, I often switch between several branches in a repo, wiith a small set of commands. There are something like 5 commands that I use on a day to day basis with git. (git pull, git push, git checkout, git commit). Conversely, I find the patchbomb process to be a bit convoluted vs pull requests. Of course, there is also a mercurial plugin that allows mercurial users to work against GitHub repos: <a href="https://bitbucket.org/durin42/hg-git/overview" rel="noreferrer" target="_blank">https://bitbucket.org/durin42/hg-git/overview</a><br>
[<a href="https://d301sr5gafysq2.cloudfront.net/a6f25d658c68/img/repo-avatars/default.png" rel="noreferrer" target="_blank">https://d301sr5gafysq2.cloudfront.net/a6f25d658c68/img/repo-avatars/default.png</a>]<<a href="https://bitbucket.org/durin42/hg-git/overview" rel="noreferrer" target="_blank">https://bitbucket.org/durin42/hg-git/overview</a>><br>
<br>
durin42 / hg-git ? Bitbucket<<a href="https://bitbucket.org/durin42/hg-git/overview" rel="noreferrer" target="_blank">https://bitbucket.org/durin42/hg-git/overview</a>><br>
This is the Hg-Git plugin for Mercurial, adding the ability to push and pull to/from a Git server repository from Hg. This means you can collaborate on Git based projects from Hg, or use a Git server as a collaboration point for a team with developers using both Git and Hg. The Hg-Git plugin can ...<br>
<a href="http://bitbucket.org" rel="noreferrer" target="_blank">bitbucket.org</a><br>
<br>
<br>
4. Git is destructive - This is not really true. In fact, the opposite is true. When you roll back a commit in HG, that commit is gone. In GIT, that commit is still available via the reflog for 30 days. The main repo will be controlled with gated checkins anyhow.<br>
5. Github comes with its own documentation/hosting system with native support for markdown.<br>
6. Python itself is hosted on GitHub.<br>
7. GitHub makes it easy to share branches, so we can have multiple people collaborate on large projects (e.g. upgrading Python).<br>
8. Time - moving to GitHub is fairly straightforward. They provide examples of exporting from HG into git. That said, unless Dan wants to (temporarily) hand over control of the repo, it's his time, not mine so I cannot speak for him there. Once that move is complete, again the python work can be staged in a separate brach and worked on as time permits while being set aside for other features that need attention in mainline.<br>
<br>
Anyhow, I'd love to hear what other people's thoughts are on this. I don't want to go down a path that will be outright rejected ?<br>
<br>
Thanks,<br>
Derek<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20180608/22b8260e/attachment-0001.html" rel="noreferrer" target="_blank">http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20180608/22b8260e/attachment-0001.html</a> <br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
chirp_devel mailing list<br>
<a href="mailto:chirp_devel@intrepid.danplanet.com" target="_blank">chirp_devel@intrepid.danplanet.com</a><br>
<a href="http://intrepid.danplanet.com/mailman/listinfo/chirp_devel" rel="noreferrer" target="_blank">http://intrepid.danplanet.com/mailman/listinfo/chirp_devel</a><br>
<br>
<br>
End of chirp_devel Digest, Vol 86, Issue 5<br>
******************************************<br>
</blockquote></div>