Releases: luisaveiro/localhost-sonarqube
v0.6.1
Fixed
self-update
command output messages.
v0.6.0
Added
progressbar
package.docker::pull
command to update Docker images.git::checkout
function togit
package.notice
log output functions.messages
namespace for repeatable output messages- A status message of SonarQube containers after executing
down
&up
commands.
Changed
self-update
command updates SonarQube and SonarScanner Docker images.- SonarScanner container has a predefined name.
output
function supports--overwrite
argument.- Improved output messages.
Fixed
- SonarScanner throwing an error if SonarQube is not running.
Updating SonarQube and SonarScanner Docker images
The first time you update to v0.6.0
. You will be required to run the self-update
command a second time to update SonarQube and SonarScanner Docker images. All versions before v0.6.0
do not have support for updating SonarQube and SonarScanner Docker images.
All versions after v0.6.0
will automatically update Localhost SonarQube and SonarQube and SonarScanner Docker images.
Please note: after updating the SonarQube Docker image. SonarQube dashboard will present with a "SonarQube is under maintenance" message. You will need to go to http://localhost:9000/setup and follow the instructions. SonarQube will reanalyze your projects.
v0.5.0
Added
- Support Ukraine message to terminal and readme.
newline
function
Changed
output
function accepts new--newline
argument.- Improved format of output messages.
v0.4.3
Added
- ShellCheck for Visual Studio Code.
Fixed
- Problematic code in the case of readonly (ShellCheck SC2155).
v0.4.2
Changed
self-update
command git output to a throwaway variable.git::fetch
function output to standard output and error.
v0.4.1
Added
git::fetch
function togit
package.
Fixed
self-update
command.
Resolving self-update
All versions before v0.4.1
will require manually fetching all git tags before using the self-update
command.
# Manually fetch all tags.
$ cd path/localhost-sonarqube && git fetch --all
# Run update command.
$ dev self-update
All versions after v0.4.1
will not require this additional manual solution.
v0.4.0
Added
- Scan command include cache volume for scanner files.
PROJECT_NAME
global constant.- Self-update command.
- Self-update section in the readme.
- Scan command caches scanner files.
Changed
docker_compose::command
command accepts the project name and set an alternate project name.docker::run
command accepts multiple volumes.- Info output prefix colour from white to blue.
v0.3.1
Fixed
- Prevent Docker Compose to prefix volume names with "docker_" during
docker-compose up
. - Prevent functions declaring variables from unwanted arguments.
v0.3.0
Added
directory_exists
filesystem function.- Help and Git package.
- Help command.
- Help section in README.
Changed
PROJECT_DIR
global constant to be exportable.
v0.2.2
Changed
- Improve formatting to be more in line with Google Shell Style Guide.
error
,info
,warning
,output
log output functions accept multiple arguments.