svn commit: r529174 - in head: . devel/sonar-scanner-cli devel/sonar-scanner-cli/files devel/sonarqube-ant-task devel/sonarqube-ant-task/files devel/sonarqube-community devel/sonarqube-community/files
Mathieu Arnold
mat at freebsd.org
Thu Mar 26 10:31:57 UTC 2020
On Thu, Mar 26, 2020 at 10:03:50AM +0000, Alexander Leidinger wrote:
> Modified: head/devel/sonar-scanner-cli/files/pkg-message.in
> ==============================================================================
> --- head/devel/sonar-scanner-cli/files/pkg-message.in Thu Mar 26 09:44:50 2020 (r529173)
> +++ head/devel/sonar-scanner-cli/files/pkg-message.in Thu Mar 26 10:03:49 2020 (r529174)
> @@ -1,12 +1,12 @@
> [
> -{ type: install
> - message: <<EOM
> - Before start the SonarQube Scanner (default settings):
> - - create a new SONAR_RUNNER_HOME environment variable set to
> - "/usr/local/sonar-scanner-cli"
> +{
> + message: <<EOT
> +The SonarQube scanner component is now installed as
> + %%PREFIX%%/bin/sonar-scanner
>
> - More information:
> - http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner
> -EOM
> +Before the first start (but not if you update), you have to configure which
> +SonarQube server to use in
> + %%PREFIX%%/%%APP_DIR%%/conf/sonar-scanner.properties
> +EOT
> }
> ]
To avoid spamming users upgrading, please restrict both pkg-message to
only display the relevant parts on install or on upgrade and only when
coming from a version before the one you just updated the port too.
See https://www.freebsd.org/doc/en/books/porters-handbook/pkg-files.html#porting-message
> Modified: head/devel/sonarqube-community/files/pkg-message.in
> ==============================================================================
> --- head/devel/sonarqube-community/files/pkg-message.in Thu Mar 26 09:44:50 2020 (r529173)
> +++ head/devel/sonarqube-community/files/pkg-message.in Thu Mar 26 10:03:49 2020 (r529174)
> @@ -1,17 +1,41 @@
> [
> -{ type: install
> - message: <<EOM
> - Before start the SonarQube, prepare the Database and
> - the Web Server, when installing for the first time.
> +{
> + message: <<EOT
> +SonarQube is now installed in %%PREFIX%%/%%APP_DIR%%.
>
> - More information:
> - http://docs.sonarqube.org/display/SONAR/Installing
> +Before the first start (but not if you update), you have to configure a DB in
> + %%PREFIX%%/%%APP_DIR%%/conf/sonar.properties
> +A real DB server is recommended instead of the default local H2 DB. No testing
> +will be done for this port to handle an update for the local H2 DB (it is
> +recommended to only use the local H2 DB to evaluate this software).
>
> - When upgrading the SonarQube, follow instructions:
> - http://docs.sonarqube.org/display/SONAR/Upgrading
> +Important information for the next steps:
> + https://docs.sonarqube.org/latest/requirements/requirements/
> + https://docs.sonarqube.org/latest/setup/install-server/
> + https://docs.sonarqube.org/latest/instance-administration/security/
> +Note: the "wrapper" is not installed in FreeBSD, the FreeBSD daemon(8)
> + facility is used instead.
>
> - To run the SonarQube from startup, add sonarqube_enable="YES"
> - in your /etc/rc.conf
> -EOM
> +Per default the server is started in supervised mode, this means if it dies
> +or is stopped via the admin interface (e.g. after updating/installing
> +plugins), it will automatically start again.
> +
> +While the server is *not* running, you can switch from supervised to
> +unsupervised mode via:
> + # sysrc sonarqube_supervised=NO
> +
> +Temporary files are saved to
> + %%TEMP_DIR%%
> +and are cleaned-up at every start.
> +
> +Data files which are not saved to the DB are stored in
> + %%DATA_DIR%%
> +
> +Logfiles can be found in
> + %%LOG_DIR%%
> +
> +Once SonarQube is started, point your web browser to the page at
> + http://<hostname>:9000/.
> +EOT
> }
> ]
>
--
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20200326/b056086e/attachment.sig>
More information about the svn-ports-all
mailing list