Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2020 11:32:10 +0100
From:      Mathieu Arnold <mat@freebsd.org>
To:        Alexander Leidinger <netchild@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: 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
Message-ID:  <20200326103210.n565p4czvyaha6aj@aching.in.mat.cc>
In-Reply-To: <202003261003.02QA3osc043169@repo.freebsd.org>
References:  <202003261003.02QA3osc043169@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--c6u2shrh5xfhz4qi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 26, 2020 at 10:03:50AM +0000, Alexander Leidinger wrote:
> Modified: head/devel/sonar-scanner-cli/files/pkg-message.in
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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
> =20
> -  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 wh=
ich
> +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#po=
rting-message

> Modified: head/devel/sonarqube-community/files/pkg-message.in
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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%%.
> =20
> -	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 t=
esting
> +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).
> =20
> -	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.
> =20
> -	To run the SonarQube from startup, add sonarqube_enable=3D"YES"
> -	in your /etc/rc.conf
> -EOM
> +Per default the server is started in supervised mode, this means if it d=
ies
> +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=3DNO
> +
> +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
>  }
>  ]
>=20

--=20
Mathieu Arnold

--c6u2shrh5xfhz4qi
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEVhwchfRfuV0unqO5KesJApEdfgIFAl58hJ1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU2
MUMxQzg1RjQ1RkI5NUQyRTlFQTNCOTI5RUIwOTAyOTExRDdFMDIACgkQKesJApEd
fgISzA/+OYNT0/EPqB5EgkwI6bzjuxUsCs0TQV4JUFBG2HKbZyo9lao9bI1a8a8G
jnJW6fGvLiYh4gHMGplR4oakBgb8KKmpqZIH6a8f827QrjqCiayFmsVqV6m66Y6Q
J8sy+haIJxxuIEa5QnGLonmADwwr8wxpNeBFFKXEvthy9CBFIJ61F8mFHkbkF+7H
7H48PtdsPfpvWSs/AeFHYfovtoByU7H86MUDPV6sXGuy3Fo19THAVtTLzuFoE9Wq
vUsjAmSXF+DGY3f+0NDyk7caA3sLG5O7NnxhDISpxzmocdkJs+O3Hjnk/yG0HcEH
N0Qz3LfJdWmolR5jjDGvr07s6QgnG+aDwBdrvTAyHpu/GGvkqE+YTsSNR+g2wjOq
FgHeT4H51l43EeUl+h6jwQ2t+LhQlEh3uv7WajlBh3W/mTeW9VBf9r6C1Ubhj9+n
rGjsuO3As5BGAZg3ILHoUuTcSP8JhFLRywX3NxullYVH43WwNzqBOVGFjRczCqV+
s+AO44hAoP5xv4Xo42nnTBIVA5oz7Wb0Ju++asOrkUNEaiYwl38twkOZUvQpbmry
MAEY36p+KHxzKh8PcoRTqm6SWnOZNbE6LLlh47looX0lVlxb2fexBTYrECAAiC2S
WGUJP/6D2CfcGtI9Ua8FZXjelBOnU3e/epkzy46wAGKsOrp8org=
=Ykdp
-----END PGP SIGNATURE-----

--c6u2shrh5xfhz4qi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200326103210.n565p4czvyaha6aj>