23 Commits

Author SHA1 Message Date
Monika Kurovszky
40e6327cc2 Remove Codepeer specific switches from GNAThub
"--output-dir" and "--db-dir"

   Using instead only Codepeer attributes from .gpr

Part of R703-038

Change-Id: Icee81f2f201b172d049a8150994dd79b30487072
2018-07-11 18:06:02 +02:00
Monika Kurovszky
fec1d24a40 Adding --output-dir and --db-dir switches for WebUI
In order to pass to the web server the Codepeer
    * output directory: switch --output-dir is added
      (if not passed as command line argument,
       default value is set to
          [prj_obj_path]/codepeer/[prj_name].output)

    * db directory: switch --db-dir is added
      (if not passed as command line argument,
       default value is set to
          [prj_obj_path]/codepeer/[prj_name].db)

   GNAThub interface from server.py is
     * for --output-dir switch value or default:
           GNAThub.output_dir()
     * for --db-dir switch value or default:
           GNAThub.db_dir()

Part of R703-038

Change-Id: Id6537d2ca61a3737d5380c0795934359907059ed
2018-07-05 13:13:42 +02:00
Arnaud Charlet
d8c918ff09 R620-005 Fix typos. Document -d switch.
Change-Id: I72ae9d7c444d57970e1c338bdecde1221ae4a22d
2018-06-21 14:45:56 +02:00
Monika Kurovszky
91a9be2fff GNAThub --server and --server-dir switch
* Remove --server-dir switch

  * Launch only WEB server when --server switch
    provided. Only --port switch will be taken into
    account defining port for server launch. If no
    port is specified the default value used for
    port is 8000.

  * User manual is updated for the --server and
    --port switches

Part of R616-001

Change-Id: I6b6d391d28dc64589d1b649197907490b00208c4
2018-06-21 14:43:45 +02:00
Adrien Boulanger
8919227c45 R208-037: Add --subdirs switch
Change-Id: I4d9f408defd1cf7e9e60da178195923791defa31
2018-02-14 16:12:53 +01:00
Monika Kurovszky
f40a98b87d Sonar-Ada-Plugin :
GNATDashboard doc update with actually
        supported versions for SonarQube (i.e.,
        SonarQube 6.7 LTS and Sonar Scanner 3.0.3)

Part of QB13-048

Change-Id: Ie8f83eeb2b0343c72e7c9ae8f7c38432c8bdaebf
2017-11-29 17:48:25 +01:00
Charly Delay
b06faec7b9 Minor style and typo adjustment
TN: Q801-005
2017-09-12 18:40:05 -04:00
Nicolas Setton
ad9acd8073 Clarify the documentation about project mixing with --incremental
We cannot mix projects accross invocations with --incremental,
make sure this is captured in the doc.

For Q801-005

Change-Id: Iefe3f0203f5f67290a89bbbb8d97143986aa177d
2017-08-03 10:47:46 -04:00
Charly Delay
848b200869 Fix typo
Change-Id: Ib1af575612347e713f7ed7afb0b43c14e28402ff
2017-03-01 12:54:21 -05:00
Charly Delay
91f699299f Add support for SonarQube 6.2
Change-Id: I65e93d632320cb211682d996e4f6b49b4bc1dce6
TN: Q301-033
2017-03-01 11:06:43 -05:00
Charly Delay
b54fbf7c21 gnathub: implement --[runners|reporters]-only
Teach those two switches to GNAThub's command line and wire them within
gnathub.

Change-Id: Ie6db3c8034650499123bd3e6405567296ab89362
TN: P720-035
2017-01-19 10:46:08 -05:00
Charly Delay
8d2ee4d2e4 gnathub: add support for --targs:
Change-Id: I7b5127b1801e61a28dfa2faf0e0e9fb69f7a6e59
TN: PC20-033
2016-12-22 10:19:27 -05:00
Charly Delay
ef1767cbbd docs: create a FAQ for the sonar ada plugin
Change-Id: If3b27f738d471868afe5ba373a02cb7b7d26a5fc
TN: OB03-043
TN: P928-021
2016-12-13 10:08:03 -05:00
Charly Delay
8be778e163 feat(html-report): report component now shows the source tree
Change-Id: I119e3706f55c9b111c2bfdfefeb87acabd0ed515
2016-12-12 18:16:24 -05:00
Charly Delay
4b09335502 fix(docs): remove generated documentation files
Change-Id: Id8a1420face1063cdb24047186c0880399875a39
TN: PB30-013
2016-11-30 10:57:11 -05:00
Charly Delay
276c79e957 doc(sonar-ada-plugin): update documentation
Change-Id: I8c94929f84d44a0a93cb97e1260fb6e0a7cc1a4c
TN: OB03-043
2016-11-29 17:52:38 -05:00
Charly Delay
6a6058ce90 feat(sonar-ada-plugin): isolate the GNAThub API
This change will help clarify the interface as well as the future
transition to the Hibernate framework.

Change-Id: I2501e26af389b77df990aa61988695f44e80a72d
TN: OB03-043
2016-11-29 12:01:14 -05:00
Charly Delay
35258575c7 doc(sonar-ada-plugin): update documentation
Replaces mentions of SonarQube Runner by SonarQube Scanner.

Change-Id: I0f34ee849121267097682b1917285663ef8c6741
TN: OB03-043
2016-11-29 12:01:14 -05:00
Charly Delay
b0ea73a682 fix(doc): broken SonarQube Runner links
Change-Id: I24a6909cd46ddedf5255ecac68dfe28144784129
TN: P817-008
2016-08-17 10:05:28 -04:00
Charly Delay
d7124595d0 gnathub: remove obsolete GNATprove plugin
This plugin stopped working some time ago due to major changes in
GNATprove output. Remove support for it as it will be re-implemented as
part of P701-003.

Change-Id: I7c0b6399243a865c57211b0f2c16573bf5ed63a9
TN: P701-003
TN: N805-021
2016-07-26 16:42:45 +02:00
Charly Delay
f308b04a81 chore(doc): Makefile rework
Rewrite the Makefile to comply with good practices and conventions (see
https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html).

Change-Id: I123a7fde2b7abdddecc1aa225f32b8b3c82ac45c
2016-06-16 14:18:13 -04:00
Charly Delay
b02ce249ee gnathub: add support for --dry-run switch
Add a [ --dry-run | -n ] switch to execute GNAThub in dry-run mode.
Dry-run mode skips DB manipulation (initialisation, population, update),
environment setup (project directory hierarchy, ...) and Python script
execution (when using --exec). It also prevents the execution of
plugins.

Change-Id: Ibe160ffc739d7027f9c56940832656d0e8a126a0
TN: P303-043
2016-03-07 20:13:17 +01:00
Charly Delay
d3c8306e04 Repository reorganization
The documentation is now global and its sources moved to the top-level
directory. Same goes for the know-problems-* and features-* files that
are now shared between all submodules.

This commit needs to be push in synchronization with change I0a342aea8d
in the ANOD specification repository.

Change-Id: If350f109ae6a40ae3e632bfa8491145aaab8a52f
TN: OA28-039
2015-12-07 17:28:54 +01:00