1190 Commits

Author SHA1 Message Date
Monika Kurovszky
47d29eb42f V921-009: Update test suite baselines after bump
Impacted tests:
     tools
       * codepeer.py
       * sonar-scanner.py when tested with SonarQube
     switches
       * incremental.py

Change-Id: I54986d3ed2f3f9ce90c6a381e1986fddc0db02b2
2022-09-21 18:52:51 +02:00
Boris Yakobowski
90539816a8 Remove webui directory
We now remove an intermediate 'webui' directory at package time, and
must adjust our outputs accordingly. After this change, the report is
produced at the same location it used to be put.

TN: V329-014

(cherry picked from commit 07243f04a5)
Depends-On: I1fb120da9505143eed6dbf424a9287a8f42e5224
Change-Id: I36937754c3c842f6d847971ce2ef3f681e382a41
2022-09-20 16:06:02 +02:00
Monika Kurovszky
66555dd072 V830-026: Fix for GNAThub edge build failure
Change-Id: I64c2eebc7fd650112a2d662e57f6cb4ddde877ec
(cherry picked from commit 3355cbee94)
2022-09-19 13:06:06 +00:00
Nicolas Setton
b1a2370dba V523-038 Migrate GNATdashboard to the RTD theme
Change-Id: I0e919f4abeeaca3cf75ac1cbe990e00a8a6944fd
2022-09-09 15:43:52 +00:00
Boris Yakobowski
783c0980cb Remove support for web server from GNAThub
Now that webui generates a fully static report, it is no longer
needed.

TN: V316-059

Change-Id: I3a7c50885eab2292d32d744edf1e3d31f3769bc6
2022-09-02 08:42:31 +00:00
Monika Kurovszky
d1bee77c1e V830-006: Fixing testsuite's gnatstack regression
Change-Id: I524489052629ce032d6ba094418efb029cd2ffea
2022-08-30 13:23:26 +02:00
Boris Yakobowski
300ea2316f Clarify error message
The current report does not allow navigation when there are
no messages, and it's not worth resurrecting this functionality.
Document the behavior instead.

Change-Id: I8288b536dfe1482aaf3fc40f9a992d46bbecae4b
TN: V316-059
2022-08-25 19:17:27 +02:00
Matthieu Eyraud
28f11c3b28 Transition WebUI to Angular 13
This commit transition the application to Angular 13, and refactors the
build process to use the Angular CLI instead of hacking a webpack config.

It also removes a lot of things: junk code, or features that are no longer
needed, like the following:

    * The Codepeer history view of the various runs is removed

    * The refresh review / add review buttons with their associated dialog
      are removed

Change-Id: I8adb19aa2ec8303aa23bd38a916fac35947ee69a
Depends-On: Ie50b0def8c0c2485f890eb46317b53b62b4382dd
TN: V316-059
2022-08-24 17:02:53 +00:00
Boris Yakobowski
8c4fe8e87f Switch artifacts generation to .js files
And adapt directories, to match what's required by the new webui.

More precisely, the new webui requires javascript files (instead of
json), and those files should have the form

REPORT [<file>] = {
<json>
}

where <file> is the name of the javascript file (e.g. 'reprod2.ads.js')

For xml files, the syntax is

REPORT [<file] =
`<xml>
`
works (where file is again the javascript file)

TN: V316-059

Change-Id: Id0a8d7c67aa388a3f168ebb1730388aae8bf0677
2022-08-24 16:33:03 +00:00
Anthony Leonardo Gracio
6cf2a0407d V623-007: Use info ranking for gnatcheck messages
This matches the ranking used by GNAT Studio for its gnatcheck
integration.

Change-Id: I349645fe1c560828089b2e3cbf7497278e8b48c4
2022-06-23 09:48:34 +00:00
Monika Kurovszky
cc752ff8b4 V616-008: Update gnathub's codepeer test baseline
Change-Id: I204c03844e08ab4e2e9c4a84169de101f48a8b35
2022-06-22 11:23:28 +02:00
Monika Kurovszky
904826bf7a V616-008: Update gnathub's codepeer test baseline
Change-Id: Id9b62cb861f033c6281af9b396c02a198eeaeb6a
2022-06-17 12:13:53 +02:00
Monika Kurovszky
ee7e304473 V609-039: Fix test suite regression
Baseline update for codepeer and incremental tests
  according to latest codepeer analysis results

Change-Id: I72948225f77505ce9a3cb1d2bfcde613688f3171
2022-06-09 15:06:15 +02:00
Philippe Gil
5d642c8b98 Let debug version works on abstract projects
TN: V518-026
Change-Id: I81159596aae13aeaa4d4cb728d171a54aed5d2c7
2022-05-18 18:50:51 +00:00
Philippe Gil
9b433f286d Refactor GPR2.Project.View.Source_Directories.
Adapt gnathub to API changed

TN: V209-021
Change-Id: I8295bee3cecfee8e12145d129f7a3d8f13621f42
2022-05-18 14:54:39 +02:00
Philippe Gil
aec635369b V422-024: Scenario variable parsing issue with ' -' cont
fix debug mode build failure

Change-Id: I396b453fab7584dc3d4e8622fd08cc5fe24441dc
2022-05-17 14:46:45 +02:00
Monika Kurovszky
5df6a60e05 V422-024: Scenario variable parsing issue with ' -'
The GNAThub command line containing scenario
  variables within the sequence " -" or " - "
  causes command line parsing failure.

Change-Id: I1a434852cd539e69f2a0bc69a9ef43a0a3204a79
2022-04-26 17:18:07 +02:00
Philippe Gil
3f45b266c8 let gnathub use GPR2 instead of GNATCOLL.Projects
TN:T129-022
Change-Id: If0da84513ec0cea52a8b14c11a69c5dcb9134c71
2022-04-22 09:37:54 +00:00
Philippe Gil
e96fb267a3 Revert "let gnathub use GPR2 instead of GNATCOLL.Projects"
This reverts commit ad126799f6.

Reason for revert: Production build failure (edge mode) Patch will be pushed when stabilized libgpr2 bumped & libgpr2 pending dependency pushed 

Change-Id: Ic60267a1d8d4261cc12f2eaeba382c4aeeee97aa
2022-04-13 13:47:06 +00:00
Philippe Gil
ad126799f6 let gnathub use GPR2 instead of GNATCOLL.Projects
TN:T129-022
Change-Id: I2a0cb9ebe5a1afaeac49a26168f5aff7ab4bbb75
Depends-On: I242d125eab1c3c55d5b168fa57cc343b5ea79947
2022-04-11 15:45:40 +02:00
Anthony Leonardo Gracio
0475164604 UA21-057: Adapt gnatmetric plugin to new target switch
Change-Id: I56fe8fc37d5706c1c5c786582276e7693f3bcef6
2022-04-04 14:42:40 +02:00
Monika Kurovszky
1acf40116c V316-011: fix gnatstack testing regressions
Change-Id: I60f04d0c6d8265d8a54df347b6762f1c33743e6e
2022-03-16 17:03:34 +00:00
Monika Kurovszky
a8e8daac31 V107-009: Update sonar-scanner test baseline
Change-Id: Id514179e35b9d20544a6e73b9490bda8ce9a0be5
2022-01-14 11:59:33 +01:00
Monika Kurovszky
6bee5c3ee2 V107-009: Update baseline of GNAThub testing
The regressions are related to the new version
   of GNATcheck and the baselines are updated in
   consequence.

   Adapt aggregate project testing to new gnatcheck
   version.

Change-Id: I9dd65c8ebb4e5c8067b236f23fe617369fdc8f81
2022-01-13 12:37:16 +01:00
Monika Kurovszky
4707dbd28a V111-017: update gnathub's gnatstack test baseline
Change-Id: Ie5115365853e9b4619ca571955350583ea249fbd
2022-01-11 11:47:10 +01:00