Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

i-Code CLI improvement #127

Closed
6 tasks done
WaldoFR opened this issue Jun 29, 2018 · 0 comments
Closed
6 tasks done

i-Code CLI improvement #127

WaldoFR opened this issue Jun 29, 2018 · 0 comments
Assignees

Comments

@WaldoFR
Copy link

WaldoFR commented Jun 29, 2018

i-Code CLI will be reimplemenented to be easier to contribute for developpers, respect i-Code CNES plugins structuration, and be more convinient for users and thirds parts.

General improvements

Using common appache CLI package

Currently, commands handling is hard coded inside the main application, using appache cli package would improve maintainment, functionnalities, and reliability.

  • Fix status

Export improvements

HTML export removal

Considering that there is already a XML export which is good enough, the HTML one which was hard coded inside the application and causing bug will be removed.

  • Fix status

Using export service

Currently, exports calls are hardly coded inside i-Code CLI. Available exports are shown from hard coded help, which means that it's not using Export service and would cause difficulty to maintain in case an new export would be added to the plugin. Export service should be used to display available exports.

  • Fix status

Analysis improvements

Display available languages (identifiers) and rules (identifiers)

Using i-Code CLI, users aren't able to identify languages and rules availables in the tools which make it's use and results very fuzzy. The CLI should offer commands to browse availables languages and checkers available.

  • Fix status

Analysis configuration

Currently, it's not possible to choose to disable a rule, or to verify only one language. All rules and all languages are run for all analysis even if the Analyzer service offer the possibility to do so.

  • Fix Status

Improve recursive search

Currently, the behaviour of file browsing seems to be fuzzy and hard coded which make it difficult to maintain and hardly reliable. i-Code CLI should rely on a third part to retrieve file using regex, otherwise only accept a list of file to analyze. Also, file extension should be verifyed using appropriate service instead of hard coded behaviour.

  • Fix Status
@WaldoFR WaldoFR assigned WaldoFR and begarco and unassigned WaldoFR Jun 29, 2018
@WaldoFR WaldoFR added this to the Version 3.1.0-alpha.3 milestone Jun 29, 2018
@WaldoFR WaldoFR changed the title i-Code CLI improval i-Code CLI improvement Jun 29, 2018
@begarco begarco mentioned this issue Jul 13, 2018
begarco added a commit to begarco/i-CodeCNES that referenced this issue Jan 25, 2020
begarco added a commit that referenced this issue Feb 2, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants