Commit Graph

12 Commits

Author SHA1 Message Date
Charly Delay
92991a92d2 webui: upgrade Angular 2.4.3
Also upgrade other dependencies such as the latest and greatest Webpack.
Refactor sources to comply to the coding style in order to have a clean
run for tests.

Change-Id: Ic10271c92c4b8c4b7991acfb28670d80b03a1f2b
2017-01-20 09:03:27 -05:00
Charly Delay
05d56880ec chore(gitattribute): factorize some rules
Change-Id: I8e22185daca537ddfb26df8ebc06e1c154208a4d
2016-11-29 12:01:14 -05: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
879e7f1cd9 Do not stylecheck config files.
Change-Id: I5f760aad9320daa5421d1eac1f005bcf95aae23a
2016-07-06 15:57:59 -04:00
Charly Delay
319ca58913 webui: switch build system to webpack
As per AngularJS development team recommendations and examples at
https://github.com/AngularClass/angular2-webpack-starter, the build
system and development environment for the Web Application is now
supported by Webpack (https://webpack.github.io/);

Also bumped AngularJS version to 2.0.0-beta.8;

Also updated the test procedure to include coverage results.

Change-Id: Ia5a8dc7d2bc2269cdde78547ea6a68eff022df65
2016-06-07 17:56:15 -04:00
Charly Delay
c6b3f96931 webui: set up development environment
This is a starter kit. Refer to the TN conversation for more
information.

All dependencies are handled by Node.js and its package manager `npm`.
Dependencies and their version are listed in the package.json file.

To ready the environment, first install Node.js (https://nodejs.org) on
your system and then simply run:

  $ npm run start

This will (1) run `npm install` to download and set up all dependencies,
(2) run `tsd install` to install TypeScript Typings files (needed for
transpiling the TypeScript to JavaScript during build and testing) and
(3) run `gulp build` that will build the application in DEBUG mode.

To execute the testsuite, simply run:

  $ npm run tests.run

Tests execution is handled by the `karma` test driver.

Change-Id: I19b79bfb16ee23dafbc0a89c04aaf3f7a9d2ca1a
TN: OB25-022
2016-01-11 13:21:35 +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
JC Delay
66ebebe771 Add support for SonarQube 5.x
The Sonar Ada Plugin now supports SonarQube from version 4.5.4 (the new
LTS) to the latest 5.x version (5.1.1 as of today), officially dropping
support for versions prior to 4.5.4.

In this case, backward compatibility was impossible to achieve as the
plug-in API changed too much and introduced changes breaking support for
versions of SonarQube prior to the current LTS.

This new version features a number of changes and improvements:

  * removed the source importer: this is now completely handled by the
    SonarQube runner and outside the scope of a language plug-in
  * removed deprecated API: all deprecated calls and classes were
    replaced by their equivalent in the new API, eg. RulesDefinition
    instead of RuleRepository, Severity instead of RulePriority, ...
  * removed rule keys kludges for CodePeer and GNATprove where rules
    were duplicated to workaround a SonarQube bug preventing the plug-in
    to set a custom severity to an issue
  * update rules definition to leverage new features such as tags to
    organize rules automatically: rules can now be easily looked up from
    the UI and tags can be used to filter by tool and/or category
  * removed custom CodePeer and GNATcheck widget: now OBE with the
    support for tags (eg. it is now easy to setup a custom issue view
    for CodePeer messages of the category "Race Condition")
  * major cleanup and re-organization of the plug-in, aligned on the
    official language plug-ins from SonarSource
  * improved performance: decorators are now 40x faster

Change-Id: I5470b4d2912af281ae602e3d07ce7a8526c6bf4d
TN: O304-029
TN: O521-005
2015-06-30 12:27:27 +02:00
JC Delay
0fd396bcf0 Update .gitattributes.
Change-Id: I1370907d380904e4b2e728b20f35c9e3e69ae240
2014-08-14 19:55:36 +02:00
JC Delay
94ac26bdd7 Fix sonar-ada-plugin compilation.
* Fix the Java sources still referencing a class that has been
      removed for deprecation
    * Remove all tests since they were not relevant AND ill-written
      (hard-coded reference to local file-system user files)
    * Cleanup the pom.xml file to remove many dependencies that were no
      longer used.
    * Use the last LTS (long term support) version of the SonarQube API
      (3.7 as per SonarQube's website:
      http://www.sonarqube.org/downloads/)

TN: M830-027.
Issue: DSH-26
2014-03-23 00:46:09 +01:00
JC Delay
46978233f1 Move examples in the gnathub subdir.
Change-Id: Ia7925d1a582dda940317aaa1b43036e52d38ce48
2014-03-14 16:02:03 +01:00
JC Delay
c5d66c69bd Create .gitattributes.
Change-Id: I90ab76f67ee34ec5ac9988b24cde1acba6b206a4
2013-10-15 19:17:05 +02:00