Skip to content

Commit

Permalink
Merge branch 'master' into patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
marcohald committed Sep 28, 2023
2 parents f841bb8 + c420fea commit 47a54ae
Show file tree
Hide file tree
Showing 11,770 changed files with 665,272 additions and 459,741 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.1.1
25 changes: 0 additions & 25 deletions .clang-format

This file was deleted.

100 changes: 0 additions & 100 deletions .clang-tidy

This file was deleted.

10 changes: 3 additions & 7 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,20 @@ export PIPENV_VENV_IN_PROJECT=true
# See omd/README.md for further information.
export NEXUS_BUILD_CACHE_URL=https://artifacts.lan.tribe29.com/repository/omd-build-cache

# TODO: Remove the copy-n-paste from direnv's stdlib when everybody uses at least
# direnv 2.14.0 (i.e. at least Ubuntu bionic)
if ! has layout_pipenv; then
layout_pipenv() {
layout_cmk_pipenv() {
if [[ ! -f Pipfile ]]; then
log_error 'No Pipfile found. Use `pipenv` to create a Pipfile first.'
exit 2
fi

local VENV=$(pipenv --bare --venv 2>/dev/null)
if [[ -z $VENV || ! -d $VENV ]]; then
pipenv install --dev
make .venv
fi

export VIRTUAL_ENV=$(pipenv --venv)
PATH_add "$VIRTUAL_ENV/bin"
export PIPENV_ACTIVE=1
}
fi

layout pipenv
layout cmk_pipenv
61 changes: 3 additions & 58 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,63 +1,8 @@
# The following files contain a lot of ESLint warnings or errors.
# These issues will be fixed on a file per file basis over a longer period of time.

web/htdocs/js/modules/node_visualization/node_visualization_layout.*s
web/htdocs/js/modules/node_visualization/node_visualization_infobox.*s
web/htdocs/js/modules/node_visualization/node_visualization_viewport_layers.*s
web/htdocs/js/modules/node_visualization/node_visualization_toolbar.*s
web/htdocs/js/modules/node_visualization/node_visualization.*s
web/htdocs/js/modules/node_visualization/node_visualization_search.*s
web/htdocs/js/modules/node_visualization/node_visualization_viewport_utils.*s
web/htdocs/js/modules/node_visualization/node_visualization_toolbar_utils.*s
web/htdocs/js/modules/node_visualization/node_visualization_datasources.*s
web/htdocs/js/modules/node_visualization/node_visualization_layouting.*s
web/htdocs/js/modules/node_visualization/node_visualization_layout_styles.*s
web/htdocs/js/modules/node_visualization/node_visualization_viewport.*s
web/htdocs/js/modules/node_visualization/node_visualization_utils.*s
web/htdocs/js/modules/node_visualization/node_visualization_layouting_utils.*s
web/htdocs/js/modules/prediction.*s
web/htdocs/js/modules/wato.*s
web/htdocs/js/modules/views.*s
web/htdocs/js/modules/sla.*s
web/htdocs/js/modules/page_menu.*s
web/htdocs/js/modules/sidebar.*s
web/htdocs/js/modules/selection.*s
web/htdocs/js/modules/transfer.*s
# These are just copied files and should be replaced
# with npm dependencies in the future
web/htdocs/js/modules/cbor_ext.*s
web/htdocs/js/modules/visibility_detection.*s
web/htdocs/js/modules/quicksearch.*s
web/htdocs/js/modules/valuespecs.*s
web/htdocs/js/modules/hover.*s
web/htdocs/js/modules/reload_pause.*s
web/htdocs/js/modules/bi.*s
web/htdocs/js/modules/popup_menu.*s
web/htdocs/js/modules/backup.*s
web/htdocs/js/modules/help.*s
web/htdocs/js/modules/async_progress.*s
web/htdocs/js/modules/profile_replication.*s
web/htdocs/js/modules/activation.*s
web/htdocs/js/modules/ajax.*s
web/htdocs/js/modules/element_dragging.*s
web/htdocs/js/modules/background_job.*s
web/htdocs/js/modules/graphs.*s
web/htdocs/js/modules/dashboard.*s
web/htdocs/js/modules/foldable_container.*s
web/htdocs/js/modules/host_diagnose.*s
web/htdocs/js/modules/search.*s
web/htdocs/js/modules/webauthn.*s
web/htdocs/js/modules/graph_integration.*s
web/htdocs/js/modules/figures/cmk_table.*s
web/htdocs/js/modules/figures/cmk_figures_plugins.*s
web/htdocs/js/modules/figures/cmk_stats.*s
web/htdocs/js/modules/figures/cmk_figures.*s
web/htdocs/js/modules/colorpicker.*s
web/htdocs/js/modules/sites.*s
web/htdocs/js/modules/service_discovery.*s
web/htdocs/js/modules/number_format.*s
web/htdocs/js/modules/utils.*s
web/htdocs/js/modules/forms.*s
web/htdocs/js/index.*s
web/htdocs/js/mobile.*s



# These are generated files or included libraries
Expand Down
19 changes: 18 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,15 @@
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["compat", "prettier"],
"plugins": [
"compat",
"prettier",
"simple-import-sort",
"license-header"],
"rules": {
"simple-import-sort/exports": "error",
"simple-import-sort/imports": "error",
"license-header/header": [ "error", "./resources/license-header.js" ],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
Expand Down Expand Up @@ -41,5 +48,15 @@
},
"ignorePatterns": [
"*_min.js"
],
"overrides": [
{
"files": [
"enterprise/web/htdocs/**/*.ts"
],
"rules": {
"license-header/header": [ "error", "./resources/enterprise-license-header.js" ]
}
}
]
}
18 changes: 0 additions & 18 deletions .f12

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: 'CLA Assistant'
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize]

# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings
permissions:
actions: write
contents: write
pull-requests: write
statuses: write

jobs:
CLAAssistant:
runs-on: ubuntu-latest
steps:
- name: 'CLA Assistant'
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA or my organization already has a signed CLA.') || github.event_name == 'pull_request_target'
uses: contributor-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# the below token should have repo scope and must be manually added by you in the repository's secret
# This token is required only if you have configured to store the signatures in a remote repository/organization
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_CLA }}
with:
path-to-signatures: 'signatures/version1/cla.json'
path-to-document: 'https://github.com/Checkmk/checkmk/blob/master/doc/cla/cla.md' # e.g. a CLA or a DCO document
# branch should not be protected
branch: 'main'
allowlist: bot* # comma separated list of users who are allowed to submit without a CLA bot approval
remote-organization-name: 'Checkmk'
remote-repository-name: 'cla'
custom-pr-sign-comment: 'I have read the CLA Document and I hereby sign the CLA or my organization already has a signed CLA.'

# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
#create-file-commit-message: 'For example: Creating file for storing CLA Signatures'
#signed-commit-message: 'For example: $contributorName has signed the CLA in $owner/$repo#$pullRequestNo'
#custom-notsigned-prcomment: 'pull request comment with Introductory message to ask new contributors to sign'
#custom-pr-sign-comment: 'The signature to be committed in order to sign the CLA'
#custom-allsigned-prcomment: 'pull request comment when all contributors has signed, defaults to **CLA Assistant Lite bot** All Contributors have signed the CLA.'
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)
#use-dco-flag: true - If you are using DCO instead of CLA

21 changes: 5 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@
/.tmp*
/*.wpr
/*.wpu
aclocal.m4
ar-lib
/announce*
artefacts/
autom4te.cache/
build/
ChangeLog
check_mk-*.tar.gz
Expand All @@ -53,15 +51,6 @@ check-mk-*_amd64.deb
clang-analyzer/
cmc-*.tar.gz
cme-*.tar.gz
compile
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
depcomp
agent-receiver/dist/*
agents/linux/*
doc/plugin-api/build/
Expand All @@ -72,26 +61,26 @@ GPATH
GRTAGS
GTAGS
htmlcov/
install-sh
agent-receiver/agent_receiver.egg-info
agent-receiver/pyproject.toml
missing
mk-livestatus-*.tar.gz
node_modules/
omd/bazel-*
omd/pkgs_by_bzl/
bazel_execution_log*.json
pip-mirror-tmp
RemoteSystemsTempFiles
requirements.txt
requirements-no-dev.txt
stamp-h1
tags
tests/web/data/*
tests/var/*
tests/results/*
tests/.hypothesis/
web/htdocs/js/*_min.js.map
/results
/buildscripts/infrastructure/build-nodes/scripts/defines.make
/buildscripts/docker_image_aliases/docker-image-alias-resolve-error.txt
/bazel-*

# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "tests/qa-test-data"]
path = tests/qa-test-data
url = ssh://[email protected]:29418/qa-test-data
branch = main
Loading

0 comments on commit 47a54ae

Please sign in to comment.