-
Notifications
You must be signed in to change notification settings - Fork 124
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
Reorganize CANToolz modules #9
Labels
Comments
DePierre
added a commit
that referenced
this issue
Aug 28, 2017
DePierre
added a commit
that referenced
this issue
Aug 28, 2017
DePierre
added a commit
that referenced
this issue
Aug 28, 2017
#9). - Backward compatibility with older configurations - Keep supporting loading modules from `load_modules` dict - Show warning log message when doing so to specify that it has been deprecated
DePierre
added a commit
that referenced
this issue
Aug 28, 2017
DePierre
added a commit
that referenced
this issue
Aug 28, 2017
+ Remove mod_fuzz1 in favor of gen_fuzz module + Rename mod_stat to analyze + Rename mod_firewall to firewall + Rename gen_fuzz to fuzz + Rename gen_ping to ping + Rename gen_replay to replay + Rename can_controls to can_control
The references to old modules in the Wiki have been updated. I believe that now, modules are more consistently named and organized. Additional changes might be done in the future but it should be good enough for now to close the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CANToolz has a lot of awesome modules but they are all under the same directory
modules
, which makes it sometimes hard when you try to find a specific one.In addition, some modules are named using a different norm than others and should IMO be renamed. For instance, I would suggest stripping the
mod_
prefix of some of the modules, since it seems redundant.I would suggest reorganizing the modules with something like:
By default, CANToolz would recursively look for the module the user wants to use.
If more than one module with the provided name is found, then CANToolz would throw an error and ask for a more specific file.In case a name clash occurs, CANToolz will load the first module it found.For instance:
modules/
The text was updated successfully, but these errors were encountered: