Skip to content

Commit

Permalink
Merge branch 'main' into faster-trash
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell authored Feb 12, 2024
2 parents 6f8ece9 + f7819e0 commit eba5a12
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 144 deletions.
8 changes: 4 additions & 4 deletions .docker/gsad_log.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
prepend=%t %s %p
separator=:
prepend_time_format=%Y-%m-%d %Hh%M.%S %Z
file=/var/log/gvm/gsad.log
file=-
level=127

[gsad gmp]
prepend=%t %s %p
separator=:
prepend_time_format=%Y-%m-%d %Hh%M.%S %Z
file=/var/log/gvm/gsad.log
file=-
level=127

[gsad http]
prepend=%t %s %p
separator=:
prepend_time_format=%Y-%m-%d %Hh%M.%S %Z
file=/var/log/gvm/gsad.log
file=-
level=127

[*]
prepend=%t %s %p
separator=:
prepend_time_format=%Y-%m-%d %Hh%M.%S %Z
file=/var/log/gvm/gsad.log
file=-
level=16
7 changes: 2 additions & 5 deletions .docker/start-gsad.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/bin/sh

[ -z "$GSAD_ARGS" ] && GSAD_ARGS="--http-only"
[ -z "$GSAD_ARGS" ] && GSAD_ARGS="-f --http-only"

echo "starting gsad"
gsad $GSAD_ARGS ||
(cat /var/log/gvm/gsad.log && exit 1)

tail -f /var/log/gvm/gsad.log
gsad $GSAD_ARGS 2>&1 | tee /var/log/gvm/gsad.log
File renamed without changes.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cmake_minimum_required (VERSION 3.0)

message ("-- Configuring gsad")

project (gsad VERSION 22.9.1 LANGUAGES C)
project (gsad VERSION 22.9.2 LANGUAGES C)

if (NOT DEFINED PROJECT_VERSION_STRING)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,6 @@ github](https://github.com/greenbone/gsad/issues) first.

## License

Copyright (C) 2009-2022 [Greenbone AG](https://www.greenbone.net/)
Copyright (C) 2009-2024 [Greenbone AG](https://www.greenbone.net/)

Licensed under the [GNU Affero General Public License v3.0 or later](LICENSE).
92 changes: 0 additions & 92 deletions RELEASE.md

This file was deleted.

16 changes: 7 additions & 9 deletions changelog.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
commit_types = [
{ message = "^add", group = "Added"},
{ message = "^remove", group = "Removed"},
{ message = "^change", group = "Changed"},
{ message = "^fix", group = "Bug Fixes"},
{ message = "^doc", group = "Documentation"},
{ message = "^refactor", group = "Refactor"},
{ message = "^test", group = "Testing"},
{ message = "^add", group = "Added" },
{ message = "^remove", group = "Removed" },
{ message = "^change", group = "Changed" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^doc", group = "Documentation" },
{ message = "^refactor", group = "Refactor" },
{ message = "^test", group = "Testing" },
]

changelog_dir = "changelog"
25 changes: 0 additions & 25 deletions changelog/v22.4.md

This file was deleted.

6 changes: 1 addition & 5 deletions cmake/ProjectVersion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ endif (GIT_REVISION)

string(LENGTH ${PROJECT_VERSION_MINOR} PROJECT_VERSION_MINOR_LENGTH)

if (PROJECT_VERSION_MINOR_LENGTH LESS 2)
set (PROJECT_VERSION_MINOR_STRING "0${PROJECT_VERSION_MINOR}")
else ()
set (PROJECT_VERSION_MINOR_STRING "${PROJECT_VERSION_MINOR}")
endif ()
set (PROJECT_VERSION_MINOR_STRING "${PROJECT_VERSION_MINOR}")

# If PROJECT_BETA_RELEASE is set to "0", the version string will be set to:
# "major.minor+alpha"
Expand Down
2 changes: 0 additions & 2 deletions src/gsad.c
Original file line number Diff line number Diff line change
Expand Up @@ -1276,12 +1276,10 @@ compress_response_brotli (const size_t res_len, const char *res,
{
*comp = (char *) cbuf;
*comp_len = cbuf_size;
g_warning ("%s: 1", __func__);
return 1;
}

g_free (cbuf);
g_warning ("%s: 0", __func__);
return 0;
}
#endif
Expand Down

0 comments on commit eba5a12

Please sign in to comment.