Feature #2351

move drivers and UI into new directories

Added by Zach Welch almost 3 years ago. Updated over 2 years ago.

Status:In Progress Start date:02/24/2015
Priority:Normal Due date:
Assignee:Zach Welch % Done:

0%

Category:-
Target version:0.5.0
Chirp Version:daily Model affected:(All models)

Description

The chirp directory is cluttered. Most of the files therein define radios, but some implement core functionality. These two groups of files should be separated to reduce clutter and improve clarity. As a bonus, this will help decouple some modules (e.g. any module/script that uses 'from chirp import *' to import all radios).

I propose a new radios/ top-level directory.

Associated revisions

Revision 2428:d135e492dfa3
Added by Zach Welch over 2 years ago

Move drivers into chirp/drivers/ (#2351)

CHIRP now supports enough devices that the chirp/ directory has become
cluttered. This creates unnecessary coupling when importing all of
these modules. This patch moves all of the drivers to their own
directory and then chases down all of the stale import references.

Revision 2429:5ea1d3ec423c
Added by Zach Welch over 2 years ago

Move chirpui/ to chirp/ui/ (#2351)

Revision 2455:15f1ce3a483d
Added by Dan Smith over 2 years ago

Fix Win32 build after drivers split

The patch to split out the drivers tree broke the win32 build (and execution) in
several places. This fixes that.

Fallout from #2351

History

Updated by Zach Welch over 2 years ago

After discussion on the mailing list, it was decided to move the drivers into chirp/drivers/.

I have posted patches to implement this feature, but they are waiting for other pending commits to clear (to avoid causing extra work for others).

Updated by Zach Welch over 2 years ago

  • Status changed from New to In Progress

Updated by Zach Welch over 2 years ago

  • Subject changed from move radios into a new directory to move drivers and UI into new directories

Updated by Zach Welch over 2 years ago

I also now have a patch ready to move the UI modules into chirp/ui/.

Also available in: Atom PDF