jimjag
Repos
125
Followers
109
Following
15

Events

ci: fix flakey tests (#461)

For some reason, the segcache integration tests can be flakey in the CI environment.

In order to get CI tests to be trustworthy, we need to make sure any flakey tests are fixed or removed so that we can rely on the status of the tests.

Add license headers to all source files under src/storage/bloom (#462)

  • Add license headers to all source files

  • fix date

Created at 6 days ago
push

Use a pager for help output (#4245)

error out from support commands if not registered (#4271)

re-order the support perf UI (#4268)

Save API key if present in the license (#4266)

Merge branch 'master' of https://github.com/minio/mc

Created at 6 days ago

m) Fix: compile test_rechist error (#425)

error: 'for' loop initial declarations are only allowed in C99 mode

Co-authored-by: wangfuyu ivanfywang@gmail.com

fix useless getopt.h check (#424)

  • link fix when using lsquic in a cpp project

  • Update CMakeLists.txt

  • Fix getopt.h error when not needed

Co-authored-by: MBellahcene moussa.bellahcene@4d.com

Created at 6 days ago

feat(ubuntu): support ubuntu jammy 22.04 for fossology

Signed-off-by: Shaheem Azmal M MD shaheem.azmal@siemens.com

Merge pull request #2300

feat(ubuntu): support ubuntu jammy 22.04 for fossology

Reviewed-by: Gaurav Mishra mishra.gaurav@siemens.com Tested-by: Gaurav Mishra mishra.gaurav@siemens.com

Merge branch 'master' of https://github.com/fossology/fossology

Created at 6 days ago

Rust soundness fixes (#7518)

  • Rust soundness fixes

  • Second pass

  • Make init_from_table unsafe

  • Remove SafeSliceAccess

  • Clippy

  • Remove create_vector_of_strings

  • More clippy

  • Remove deprecated root type accessors

  • More soundness fixes

  • Fix EndianScalar for bool

  • Add TriviallyTransmutable

  • Add debug assertions

  • Review comments

  • Review feedback

Created at 6 days ago

contrib: make dockerd-rootless-setuptool.sh more robust

The docker CLI currently doesn't handle situations where the current context (as defined in ~/.docker/config.json) is invalid or doesn't exist. As loading (and checking) the context happens during initialization of the CLI, this prevents docker context commands from being used, which makes it complicated to fix the situation. For example, running docker context use <correct context> would fail, which makes it not possible to update the ~/.docker/config.json, unless doing so manually.

For example, given the following ~/.docker/config.json:

{
        "currentContext": "nosuchcontext"
}

All of the commands below fail:

docker context inspect rootless
Current context "nosuchcontext" is not found on the file system, please check your config file at /Users/thajeztah/.docker/config.json

docker context rm --force rootless
Current context "nosuchcontext" is not found on the file system, please check your config file at /Users/thajeztah/.docker/config.json

docker context use default
Current context "nosuchcontext" is not found on the file system, please check your config file at /Users/thajeztah/.docker/config.json

While these things should be fixed, this patch updates the script to switch the context using the --context flag; this flag is taken into account when initializing the CLI, so that having an invalid context configured won't block docker context commands from being executed. Given that all context commands are local operations, "any" context can be used (it doesn't need to make a connection with the daemon).

With this patch, those commands can now be run (and won't fail for the wrong reason);

 docker --context=default context inspect -f "{{.Name}}" rootless
rootless

docker --context=default context inspect -f "{{.Name}}" rootless-doesnt-exist
context "rootless-doesnt-exist" does not exist

One other issue may also cause things to fail during uninstall; trying to remove a context that doesn't exist will fail (even with the -f / --force option set);

docker --context=default context rm blablabla
Error: context "blablabla": not found

While this is "ok" in most circumstances, it also means that (potentially) the current context is not reset to "default", so this patch adds an explicit docker context use, as well as unsetting the DOCKER_HOST and DOCKER_CONTEXT environment variables.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

Merge pull request #44213 from thaJeztah/more_robust_rootless

contrib: make dockerd-rootless-setuptool.sh more robust

Created at 6 days ago

KAFKA-10199: Integrate Topology Pause/Resume with StateUpdater (#12659)

When a topology is paused / resumed, we also need to pause / resume its corresponding tasks inside state updater.

Reviewers: Guozhang Wang wangguoz@gmail.com

Merge branch 'trunk' of https://github.com/apache/kafka into trunk

Created at 6 days ago

pkg/*: fix "empty-lines" (revive)

pkg/directory/directory.go:9:49: empty-lines: extra empty line at the start of a block (revive)
pkg/pubsub/publisher.go:8:48: empty-lines: extra empty line at the start of a block (revive)
pkg/loopback/attach_loopback.go:96:69: empty-lines: extra empty line at the start of a block (revive)
pkg/devicemapper/devmapper_wrapper.go:136:48: empty-lines: extra empty line at the start of a block (revive)
pkg/devicemapper/devmapper.go:391:35: empty-lines: extra empty line at the end of a block (revive)
pkg/devicemapper/devmapper.go:676:35: empty-lines: extra empty line at the end of a block (revive)
pkg/archive/changes_posix_test.go:15:38: empty-lines: extra empty line at the end of a block (revive)
pkg/devicemapper/devmapper.go:241:51: empty-lines: extra empty line at the start of a block (revive)
pkg/fileutils/fileutils_test.go:17:47: empty-lines: extra empty line at the end of a block (revive)
pkg/fileutils/fileutils_test.go:34:48: empty-lines: extra empty line at the end of a block (revive)
pkg/fileutils/fileutils_test.go:318:32: empty-lines: extra empty line at the end of a block (revive)
pkg/tailfile/tailfile.go:171:6: empty-lines: extra empty line at the end of a block (revive)
pkg/tarsum/fileinfosums_test.go:16:41: empty-lines: extra empty line at the end of a block (revive)
pkg/tarsum/tarsum_test.go:198:42: empty-lines: extra empty line at the start of a block (revive)
pkg/tarsum/tarsum_test.go:294:25: empty-lines: extra empty line at the start of a block (revive)
pkg/tarsum/tarsum_test.go:407:34: empty-lines: extra empty line at the end of a block (revive)
pkg/ioutils/fswriters_test.go:52:45: empty-lines: extra empty line at the end of a block (revive)
pkg/ioutils/writers_test.go:24:39: empty-lines: extra empty line at the end of a block (revive)
pkg/ioutils/bytespipe_test.go:78:26: empty-lines: extra empty line at the end of a block (revive)
pkg/sysinfo/sysinfo_linux_test.go:13:37: empty-lines: extra empty line at the end of a block (revive)
pkg/archive/archive_linux_test.go:57:64: empty-lines: extra empty line at the end of a block (revive)
pkg/archive/changes.go:248:72: empty-lines: extra empty line at the start of a block (revive)
pkg/archive/changes_posix_test.go:15:38: empty-lines: extra empty line at the end of a block (revive)
pkg/archive/copy.go:248:124: empty-lines: extra empty line at the end of a block (revive)
pkg/archive/diff_test.go:198:44: empty-lines: extra empty line at the end of a block (revive)
pkg/archive/archive.go:304:12: empty-lines: extra empty line at the end of a block (revive)
pkg/archive/archive.go:749:37: empty-lines: extra empty line at the end of a block (revive)
pkg/archive/archive.go:812:81: empty-lines: extra empty line at the start of a block (revive)
pkg/archive/copy_unix_test.go:347:34: empty-lines: extra empty line at the end of a block (revive)
pkg/system/path.go:11:39: empty-lines: extra empty line at the end of a block (revive)
pkg/system/meminfo_linux.go:29:21: empty-lines: extra empty line at the end of a block (revive)
pkg/plugins/plugins.go:135:32: empty-lines: extra empty line at the end of a block (revive)
pkg/authorization/response.go:71:48: empty-lines: extra empty line at the start of a block (revive)
pkg/authorization/api_test.go:18:51: empty-lines: extra empty line at the end of a block (revive)
pkg/authorization/middleware_test.go:23:44: empty-lines: extra empty line at the end of a block (revive)
pkg/authorization/middleware_unix_test.go:17:46: empty-lines: extra empty line at the end of a block (revive)
pkg/authorization/api_test.go:57:45: empty-lines: extra empty line at the end of a block (revive)
pkg/authorization/response.go:83:50: empty-lines: extra empty line at the start of a block (revive)
pkg/authorization/api_test.go:66:47: empty-lines: extra empty line at the end of a block (revive)
pkg/authorization/middleware_unix_test.go:45:48: empty-lines: extra empty line at the end of a block (revive)
pkg/authorization/response.go:145:75: empty-lines: extra empty line at the start of a block (revive)
pkg/authorization/middleware_unix_test.go:56:51: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

api/types: fix empty-lines (revive)

Also renamed variables that collided with import

 api/types/strslice/strslice_test.go:36:41: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

integration-cli: fix empty-lines (revive)

integration-cli/docker_cli_pull_test.go:55:69: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_exec_test.go:46:64: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_service_health_test.go:86:65: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_images_test.go:128:66: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_swarm_node_test.go:79:69: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_health_test.go:51:57: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_health_test.go:159:73: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_swarm_unix_test.go:60:67: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_inspect_test.go:30:33: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_build_test.go:429:71: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_cli_attach_unix_test.go:19:78: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_build_test.go:470:70: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_cli_history_test.go:29:64: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_links_test.go:93:86: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_create_test.go:33:61: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_links_test.go:145:78: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_create_test.go:114:70: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_attach_test.go:226:153: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_cli_by_digest_test.go:239:71: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_cli_create_test.go:135:49: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_create_test.go:143:75: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_create_test.go:181:71: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_inspect_test.go:72:65: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_swarm_service_test.go:98:77: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_swarm_service_test.go:144:69: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_rmi_test.go:63:2: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_swarm_service_test.go:199:79: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_rmi_test.go:69:2: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_swarm_service_test.go:300:75: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_prune_unix_test.go:35:25: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_events_unix_test.go:393:60: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_cli_events_unix_test.go:441:71: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_cli_ps_test.go:33:67: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_ps_test.go:559:67: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_events_test.go:117:75: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_containers_test.go:547:74: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_api_containers_test.go:1054:84: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_containers_test.go:1076:87: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_containers_test.go:1232:72: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_api_containers_test.go:1801:21: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_network_unix_test.go:58:95: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_cli_network_unix_test.go:750:75: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_network_unix_test.go:765:76: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_swarm_test.go:617:100: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_cli_swarm_test.go:892:72: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_daemon_test.go:119:74: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_daemon_test.go:981:68: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_cli_daemon_test.go:1951:87: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_run_test.go:83:66: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_run_test.go:357:72: empty-lines: extra empty line at the start of a block (revive)
integration-cli/docker_cli_build_test.go:89:83: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:114:83: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:183:80: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:290:71: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:314:65: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:331:67: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:366:76: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:403:67: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:648:67: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:708:72: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:938:66: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:1018:72: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:1097:2: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:1182:62: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:1244:66: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:1524:69: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:1546:80: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:1716:70: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:1730:65: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:2162:74: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:2270:71: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:2288:70: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:3206:65: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:3392:66: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:3433:72: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:3678:76: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:3732:67: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:3759:69: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:3802:61: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:3898:66: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:4107:9: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:4791:74: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:4821:73: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:4854:70: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:5341:74: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_cli_build_test.go:5593:81: empty-lines: extra empty line at the end of a block (revive)
integration-cli/docker_api_containers_test.go:2145:11: empty-lines: extra empty line at the start of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

builder: fix empty-lines (revive)

builder/remotecontext/detect_test.go:64:66: empty-lines: extra empty line at the end of a block (revive)
builder/remotecontext/detect_test.go:78:46: empty-lines: extra empty line at the end of a block (revive)
builder/remotecontext/detect_test.go:91:51: empty-lines: extra empty line at the end of a block (revive)
builder/dockerfile/internals_test.go:95:38: empty-lines: extra empty line at the end of a block (revive)
builder/dockerfile/copy.go:86:112: empty-lines: extra empty line at the end of a block (revive)
builder/dockerfile/dispatchers_test.go:286:39: empty-lines: extra empty line at the start of a block (revive)
builder/dockerfile/builder.go:280:38: empty-lines: extra empty line at the end of a block (revive)
builder/dockerfile/dispatchers.go:66:85: empty-lines: extra empty line at the start of a block (revive)
builder/dockerfile/dispatchers.go:559:85: empty-lines: extra empty line at the start of a block (revive)
builder/builder-next/adapters/localinlinecache/inlinecache.go:26:183: empty-lines: extra empty line at the start of a block (revive)
builder/builder-next/adapters/containerimage/pull.go:441:9: empty-lines: extra empty line at the start of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

integration: fix empty-lines (revive)

integration/config/config_test.go:106:31: empty-lines: extra empty line at the end of a block (revive)
integration/secret/secret_test.go:106:31: empty-lines: extra empty line at the end of a block (revive)
integration/network/service_test.go:58:50: empty-lines: extra empty line at the end of a block (revive)
integration/network/service_test.go:401:58: empty-lines: extra empty line at the end of a block (revive)
integration/system/event_test.go:30:38: empty-lines: extra empty line at the end of a block (revive)
integration/plugin/logging/read_test.go:19:41: empty-lines: extra empty line at the end of a block (revive)
integration/service/list_test.go:30:48: empty-lines: extra empty line at the end of a block (revive)
integration/service/create_test.go:400:46: empty-lines: extra empty line at the start of a block (revive)
integration/container/logs_test.go:156:42: empty-lines: extra empty line at the end of a block (revive)
integration/container/daemon_linux_test.go:135:44: empty-lines: extra empty line at the end of a block (revive)
integration/container/restart_test.go:160:62: empty-lines: extra empty line at the end of a block (revive)
integration/container/wait_test.go:181:47: empty-lines: extra empty line at the end of a block (revive)
integration/container/restart_test.go:116:30: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

testutil: fix empty-lines (revive)

testutil/fixtures/load/frozen.go:141:99: empty-lines: extra empty line at the end of a block (revive)
testutil/daemon/plugin.go:56:129: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

volume: fix empty-lines (revive)

volume/mounts/parser_test.go:42:39: empty-lines: extra empty line at the end of a block (revive)
volume/mounts/windows_parser.go:129:24: empty-lines: extra empty line at the end of a block (revive)
volume/local/local_test.go:16:35: empty-lines: extra empty line at the end of a block (revive)
volume/local/local_unix.go:145:3: early-return: if c {...} else {... return } can be simplified to if !c { ... return } ... (revive)
volume/service/service_test.go:18:38: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

plugin: fix empty-lines (revive)

plugin/v2/settable_test.go:24:29: empty-lines: extra empty line at the end of a block (revive)
plugin/manager_linux.go:96:6: empty-lines: extra empty line at the end of a block (revive)
plugin/backend_linux.go:373:16: empty-lines: extra empty line at the start of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

daemon/cluster: fix empty-lines (revive)

daemon/cluster/convert/service.go:96:34: empty-lines: extra empty line at the end of a block (revive)
daemon/cluster/convert/service.go:169:44: empty-lines: extra empty line at the end of a block (revive)
daemon/cluster/convert/service.go:470:30: empty-lines: extra empty line at the end of a block (revive)
daemon/cluster/convert/container.go:224:23: empty-lines: extra empty line at the start of a block (revive)
daemon/cluster/convert/network.go:109:14: empty-lines: extra empty line at the end of a block (revive)
daemon/cluster/convert/service.go:537:27: empty-lines: extra empty line at the end of a block (revive)
daemon/cluster/services.go:247:19: empty-lines: extra empty line at the end of a block (revive)
daemon/cluster/services.go:252:41: empty-lines: extra empty line at the end of a block (revive)
daemon/cluster/services.go:256:12: empty-lines: extra empty line at the end of a block (revive)
daemon/cluster/services.go:289:80: empty-lines: extra empty line at the start of a block (revive)
daemon/cluster/executor/container/health_test.go:18:37: empty-lines: extra empty line at the start of a block (revive)
daemon/cluster/executor/container/adapter.go:437:68: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

daemon/graphdriver: fix empty-lines (revive)

daemon/graphdriver/aufs/aufs.go:239:80: empty-lines: extra empty line at the start of a block (revive)
daemon/graphdriver/graphtest/graphbench_unix.go:249:27: empty-lines: extra empty line at the start of a block (revive)
daemon/graphdriver/graphtest/testutil.go:271:30: empty-lines: extra empty line at the end of a block (revive)
daemon/graphdriver/graphtest/graphbench_unix.go:179:32: empty-block: this block is empty, you can remove it (revive)
daemon/graphdriver/zfs/zfs.go:375:48: empty-lines: extra empty line at the end of a block (revive)
daemon/graphdriver/overlay/overlay.go:248:89: empty-lines: extra empty line at the start of a block (revive)
daemon/graphdriver/devmapper/deviceset.go:636:21: empty-lines: extra empty line at the end of a block (revive)
daemon/graphdriver/devmapper/deviceset.go:1150:70: empty-lines: extra empty line at the start of a block (revive)
daemon/graphdriver/devmapper/deviceset.go:1613:30: empty-lines: extra empty line at the end of a block (revive)
daemon/graphdriver/devmapper/deviceset.go:1645:65: empty-lines: extra empty line at the start of a block (revive)
daemon/graphdriver/btrfs/btrfs.go:53:101: empty-lines: extra empty line at the start of a block (revive)
daemon/graphdriver/devmapper/deviceset.go:1944:89: empty-lines: extra empty line at the start of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

daemon/logger: fix empty-lines (revive)

daemon/logger/loggertest/logreader.go:58:43: empty-lines: extra empty line at the end of a block (revive)
daemon/logger/ring_test.go:119:34: empty-lines: extra empty line at the end of a block (revive)
daemon/logger/adapter_test.go:37:12: empty-lines: extra empty line at the end of a block (revive)
daemon/logger/adapter_test.go:41:44: empty-lines: extra empty line at the end of a block (revive)
daemon/logger/adapter_test.go:170:9: empty-lines: extra empty line at the end of a block (revive)
daemon/logger/loggerutils/sharedtemp_test.go:152:43: empty-lines: extra empty line at the end of a block (revive)
daemon/logger/loggerutils/sharedtemp.go:124:117: empty-lines: extra empty line at the end of a block (revive)
daemon/logger/syslog/syslog.go:249:87: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

daemon/images: fix empty-lines (revive)

daemon/images/image_squash.go:17:71: empty-lines: extra empty line at the start of a block (revive)
daemon/images/store.go:128:27: empty-lines: extra empty line at the end of a block (revive)
daemon/images/image_list.go:154:55: empty-lines: extra empty line at the start of a block (revive)
daemon/images/image_delete.go:135:13: empty-lines: extra empty line at the end of a block (revive)
daemon/images/image_search.go:25:64: empty-lines: extra empty line at the start of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

daemon: fix empty-lines (revive)

daemon/network/filter_test.go:174:19: empty-lines: extra empty line at the end of a block (revive)
daemon/restart.go:17:116: empty-lines: extra empty line at the end of a block (revive)
daemon/daemon_linux_test.go:255:41: empty-lines: extra empty line at the end of a block (revive)
daemon/reload_test.go:340:58: empty-lines: extra empty line at the end of a block (revive)
daemon/oci_linux.go:495:101: empty-lines: extra empty line at the end of a block (revive)
daemon/seccomp_linux_test.go:17:36: empty-lines: extra empty line at the start of a block (revive)
daemon/container_operations.go:560:73: empty-lines: extra empty line at the end of a block (revive)
daemon/daemon_unix.go:558:76: empty-lines: extra empty line at the end of a block (revive)
daemon/daemon_unix.go:1092:64: empty-lines: extra empty line at the start of a block (revive)
daemon/container_operations.go:587:24: empty-lines: extra empty line at the end of a block (revive)
daemon/network.go:807:18: empty-lines: extra empty line at the end of a block (revive)
daemon/network.go:813:42: empty-lines: extra empty line at the end of a block (revive)
daemon/network.go:872:72: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

opts: fix empty-lines (revive)

opts/address_pools_test.go:7:39: empty-lines: extra empty line at the end of a block (revive)
opts/opts_test.go:12:42: empty-lines: extra empty line at the end of a block (revive)
opts/opts_test.go:60:49: empty-lines: extra empty line at the end of a block (revive)
opts/opts_test.go:253:37: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

api/server: fix empty-lines (revive)

api/server/router/build/build_routes.go:239:32: empty-lines: extra empty line at the start of a block (revive)
api/server/middleware/version.go:45:241: empty-lines: extra empty line at the end of a block (revive)
api/server/router/swarm/helpers_test.go:11:44: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

client: fix empty-lines (revive)

client/events.go:19:115: empty-lines: extra empty line at the start of a block (revive)
client/events_test.go:60:31: empty-lines: extra empty line at the start of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

cmd/dockerd: fix empty-lines (revive)

cmd/dockerd/trap/trap_linux_test.go:29:29: empty-lines: extra empty line at the end of a block (revive)
cmd/dockerd/daemon.go:327:35: empty-lines: extra empty line at the start of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

runconfig, oci, image, layer, distribution: fix empty-lines (revive)

runconfig/config_test.go:23:46: empty-lines: extra empty line at the start of a block (revive)
runconfig/config_test.go:75:55: empty-lines: extra empty line at the start of a block (revive)

oci/devices_linux.go:57:34: empty-lines: extra empty line at the start of a block (revive)
oci/devices_linux.go:60:69: empty-lines: extra empty line at the start of a block (revive)

image/fs_test.go:53:38: empty-lines: extra empty line at the end of a block (revive)
image/tarexport/save.go:88:29: empty-lines: extra empty line at the end of a block (revive)

layer/layer_unix_test.go:21:34: empty-lines: extra empty line at the end of a block (revive)

distribution/xfer/download.go:302:9: empty-lines: extra empty line at the end of a block (revive)
distribution/manifest_test.go:154:99: empty-lines: extra empty line at the end of a block (revive)
distribution/manifest_test.go:329:52: empty-lines: extra empty line at the end of a block (revive)
distribution/manifest_test.go:354:59: empty-lines: extra empty line at the end of a block (revive)

registry/config_test.go:323:42: empty-lines: extra empty line at the end of a block (revive)
registry/config_test.go:350:33: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

Merge pull request #44211 from thaJeztah/more_linters_step1

fix (whitespace) formatting in preparation of enabling more linters

Created at 1 week ago

Add a bloom filter storage module (#460)

  • Write a bloom filter storage
  • Fix equations for k and m in crate docs
Created at 1 week ago

fix: use seeker to avoid memory without multipart upload (#1699)

refer #15754

fail properly while parsing duplicate tags (#1701)

AWS S3 API expects duplicate keys to be rejected, due to our usage of url.ParseQuery() this was skipped since url query parser simply appends duplicate keys as key with multiple values, this is not desirable.

Add more input validation and restrictions as per AWS S3 API.

Update version to next release

update tags regexp to include space character as valid

Created at 1 week ago
push

avoid expensive threads profile by default (#4270)

Merge branch 'master' of https://github.com/minio/mc

Created at 1 week ago

Fix PUSH handler tests for Redis >= 7.0.5

Redis updated how invalidation push messages are sent to the client after a FLUSHDB or FLUSHALL command.

See: redis/redis#8935

Created at 1 week ago

Moves swift package to root of repository so it can be used directly … (#7548)

  • Moves swift package to root of repository so it can be used directly from the main repo

Fixing paths for swift directory

  • Update swift readme
Created at 1 week ago

Revert "validation: temporarily allows changes in integration-cli"

This reverts commit 7ed823ead91938e5cc8de7a42ff93a25abe73e7e.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

libnetwork/config: remove "Experimental" and "Debug" options

These were no longer used.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

libnetwork/config: inline ProcessOptions

This method was only used in a single place; inlining it makes it easier to see what's done.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

libnetwork/config: remove ParseConfig()

Libnetwork configuration files were only used as part of integration tests using the dnet utility, which was removed in 7266a956a88228cd5aed26894b296ad4ffc6e2f6

Signed-off-by: Sebastiaan van Stijn github@gone.nl

libnetwork: remove old integration tests

This was used for testing purposes when libnetwork was in a separate repo, using the dnet utility, which was removed in 7266a956a88228cd5aed26894b296ad4ffc6e2f6.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

libnetwork/config: merge DaemonCfg into Config

It was unclear what the distinction was between these configuration structs, so merging them to simplify.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

libnetwork/config: inline LoadDefaultScopes()

This method was an exported method, but only used as part of ParseConfigOptions, so inlining it.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

libnetwork/config: rename ParseConfigOptions() to New()

This function effectively is a constructor, so rename it to better describe it's functionality.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

libnetwork: fix empty-lines (revive)

libnetwork/etchosts/etchosts_test.go:167:54: empty-lines: extra empty line at the end of a block (revive)
libnetwork/osl/route_linux.go:185:74: empty-lines: extra empty line at the start of a block (revive)
libnetwork/osl/sandbox_linux_test.go:323:36: empty-lines: extra empty line at the start of a block (revive)
libnetwork/bitseq/sequence.go:412:48: empty-lines: extra empty line at the start of a block (revive)
libnetwork/datastore/datastore_test.go:67:46: empty-lines: extra empty line at the end of a block (revive)
libnetwork/datastore/mock_store.go:34:60: empty-lines: extra empty line at the end of a block (revive)
libnetwork/iptables/firewalld.go:202:44: empty-lines: extra empty line at the end of a block (revive)
libnetwork/iptables/firewalld_test.go:76:36: empty-lines: extra empty line at the end of a block (revive)
libnetwork/iptables/iptables.go:256:67: empty-lines: extra empty line at the end of a block (revive)
libnetwork/iptables/iptables.go:303:128: empty-lines: extra empty line at the start of a block (revive)
libnetwork/networkdb/cluster.go:183:72: empty-lines: extra empty line at the end of a block (revive)
libnetwork/ipams/null/null_test.go:44:38: empty-lines: extra empty line at the end of a block (revive)
libnetwork/drivers/macvlan/macvlan_store.go:45:52: empty-lines: extra empty line at the end of a block (revive)
libnetwork/ipam/allocator_test.go:1058:39: empty-lines: extra empty line at the start of a block (revive)
libnetwork/drivers/bridge/port_mapping.go:88:111: empty-lines: extra empty line at the end of a block (revive)
libnetwork/drivers/bridge/link.go:26:90: empty-lines: extra empty line at the end of a block (revive)
libnetwork/drivers/bridge/setup_ipv6_test.go:17:34: empty-lines: extra empty line at the end of a block (revive)
libnetwork/drivers/bridge/setup_ip_tables.go:392:4: empty-lines: extra empty line at the start of a block (revive)
libnetwork/drivers/bridge/bridge.go:804:50: empty-lines: extra empty line at the start of a block (revive)
libnetwork/drivers/overlay/ov_serf.go:183:29: empty-lines: extra empty line at the start of a block (revive)
libnetwork/drivers/overlay/ov_utils.go:81:64: empty-lines: extra empty line at the end of a block (revive)
libnetwork/drivers/overlay/peerdb.go:172:67: empty-lines: extra empty line at the start of a block (revive)
libnetwork/drivers/overlay/peerdb.go:209:67: empty-lines: extra empty line at the start of a block (revive)
libnetwork/drivers/overlay/peerdb.go:344:89: empty-lines: extra empty line at the start of a block (revive)
libnetwork/drivers/overlay/peerdb.go:436:63: empty-lines: extra empty line at the start of a block (revive)
libnetwork/drivers/overlay/overlay.go:183:36: empty-lines: extra empty line at the start of a block (revive)
libnetwork/drivers/overlay/encryption.go:69:28: empty-lines: extra empty line at the end of a block (revive)
libnetwork/drivers/overlay/ov_network.go:563:81: empty-lines: extra empty line at the start of a block (revive)
libnetwork/default_gateway.go:32:43: empty-lines: extra empty line at the start of a block (revive)
libnetwork/errors_test.go:9:40: empty-lines: extra empty line at the start of a block (revive)
libnetwork/service_common.go:184:64: empty-lines: extra empty line at the end of a block (revive)
libnetwork/endpoint.go:161:55: empty-lines: extra empty line at the end of a block (revive)
libnetwork/store.go:320:33: empty-lines: extra empty line at the end of a block (revive)
libnetwork/store_linux_test.go:11:38: empty-lines: extra empty line at the end of a block (revive)
libnetwork/sandbox.go:571:36: empty-lines: extra empty line at the start of a block (revive)
libnetwork/service_common.go:317:246: empty-lines: extra empty line at the start of a block (revive)
libnetwork/endpoint.go:550:17: empty-lines: extra empty line at the end of a block (revive)
libnetwork/sandbox_dns_unix.go:213:106: empty-lines: extra empty line at the start of a block (revive)
libnetwork/controller.go:676:85: empty-lines: extra empty line at the end of a block (revive)
libnetwork/agent.go:876:60: empty-lines: extra empty line at the end of a block (revive)
libnetwork/resolver.go:324:69: empty-lines: extra empty line at the end of a block (revive)
libnetwork/network.go:1153:92: empty-lines: extra empty line at the end of a block (revive)
libnetwork/network.go:1955:67: empty-lines: extra empty line at the start of a block (revive)
libnetwork/network.go:2235:9: empty-lines: extra empty line at the start of a block (revive)
libnetwork/libnetwork_internal_test.go:336:26: empty-lines: extra empty line at the start of a block (revive)
libnetwork/resolver_test.go:76:35: empty-lines: extra empty line at the end of a block (revive)
libnetwork/libnetwork_test.go:303:38: empty-lines: extra empty line at the end of a block (revive)
libnetwork/libnetwork_test.go:985:46: empty-lines: extra empty line at the end of a block (revive)
libnetwork/ipam/allocator_test.go:1263:37: empty-lines: extra empty line at the start of a block (revive)
libnetwork/errors_test.go:9:40: empty-lines: extra empty line at the end of a block (revive)

Signed-off-by: Sebastiaan van Stijn github@gone.nl

pkg/idtools: mkdirAs(): fix infinite loops and repeated "chown"

This fixes an inifinite loop in mkdirAs(), used by MkdirAllAndChown, MkdirAndChown, and MkdirAllAndChownNew, as well as directories being chown'd multiple times when relative paths are used.

The for loop in this function was incorrectly assuming that;

  1. filepath.Dir() would always return the parent directory of any given path
  2. traversing any given path to ultimately result in "/"

While this is correct for absolute and "cleaned" paths, both assumptions are incorrect in some variations of "path";

  1. for paths with a trailing path-separator ("some/path/"), or dot ("."), filepath.Dir() considers the (implicit) "." to be a location within the directory, and returns "some/path" as ("parent") directory. This resulted in the path itself to be included twice in the list of paths to chown.

  2. for relative paths ("./some-path", "../some-path"), "traversing" the path would never end in "/", causing the for loop to run indefinitely:

    // walk back to "/" looking for directories which do not exist
    // and add them to the paths array for chown after creation
    dirPath := path
    for {
        dirPath = filepath.Dir(dirPath)
        if dirPath == "/" {
            break
        }
        if _, err := os.Stat(dirPath); err != nil && os.IsNotExist(err) {
            paths = append(paths, dirPath)
        }
    }
    

A partial mitigation for this would be to use filepath.Clean() before using the path (while filepath.Dir() does call filepath.Clean(), it only does so after some processing, so only cleans the result). Doing so would prevent the double chown from happening, but would not prevent the "final" path to be "." or ".." (in the relative path case), still causing an infinite loop, or additional checks for "." / ".." to be needed.

| path | filepath.Dir(path) | filepath.Dir(filepath.Clean(path)) | |----------------|--------------------|------------------------------------| | some-path | . | . | | ./some-path | . | . | | ../some-path | .. | .. | | some/path/ | some/path | some | | ./some/path/ | some/path | some | | ../some/path/ | ../some/path | ../some | | some/path/. | some/path | some | | ./some/path/. | some/path | some | | ../some/path/. | ../some/path | ../some | | /some/path/ | /some/path | /some | | /some/path/. | /some/path | /some |

Instead, this patch adds a filepath.Abs() to the function, so make sure that paths are both cleaned, and not resulting in an infinite loop.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

pkg/system: remove stubs for deprecated sequential functions

These functions were moved to github.com/moby/sys/sequential, and the stubs were added in 509f19f611d9316960ae176cdf31c401aa9bcce3, which is part of the 22.x release, so we can safely remove these from master.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

api/types: remove aliases for deprecated Volume and VolumeUsageData

These were moved, and deprecated in f19ef20a4414a6f63da8fb2493e6010359652ad1 and 4caf68f4f60cddbe95f71b5a395e022ccc8cbf16, which are part of the 22.x release, so we can safely remove these from master.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

pkg/signal: remove stubs for deprecated package

The pkg/signal package was moved to github.com/moby/sys/signal in 28409ca6c76030ef1cd277cf73223a47cf3f1dbe. The DefaultStopSignal const was deprecated in e53f65a9168aaf4289a490bd56d9e05b46c08bec, and the DumpStacks function was moved to pkg/stack in ea5c94cdb94f74808958732d8b3254921f52be4f, all of which are included in the 22.x release, so we can safely remove these from master.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

Merge pull request #44203 from thaJeztah/idtools_fix_infinite_loop

pkg/idtools: mkdirAs(): fix infinite loops and repeated "chown"

Merge pull request #44129 from thaJeztah/enable_deprecated_check

Revert "validation: temporarily allows changes in integration-cli"

Merge pull request #44193 from thaJeztah/libnetwork_cleanup

libnetwork: cleanup config package, remove old integration tests

Merge pull request #44205 from thaJeztah/remove_deprecated_stubs

Remove stubs for deprecated functions and consts

Created at 1 week ago

nghttpx: Add missing DIE()

Merge pull request #1807 from nghttp2/nghttpx-add-missing-exit

nghttpx: Add missing DIE()

Created at 1 week ago

Add fips build tag support (#1700)

Change signer to always use stdlib "crypto/sha256". The simd versions isn't for these payloads anyway.

Change default sha256 hasher to stdlib when fips is enabled.

Created at 1 week ago

epoll: use epoll_pwait2() if available

On GNU/Linux with epoll backend, prefer epoll_pwait2() if available, which is useful to support the timeout with microsecond precision.

Created at 1 week ago

Install on windows fixes (#1117)

  • Remove attempt to install .pdb file for windows static lib

From ff57c18b (#1054) the debug information was embedded in the windows static lib rather than creating a .pdb file. Removing the installation step of this file in CMake when building with buildtype Debug or RelWithDebInfo.

  • Embed debug information in windows hiredis_ssl_static lib

See ff57c18b (#1054) for same change in library hiredis_static.

Created at 1 week ago

FlatBuffers Version 22.9.24 (#7547)

Created at 1 week ago

daemon: don't set ignoreImagesArgsEscaped, managed where not needed

Just a minor cleanup; I went looking where these options were used, and these occurrences set then to their default value. Removing these assignments makes it easier to find where they're actually used.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

api/server/backend/build: remove Tagger and NewTagger

The Tagger was introduced in 0296797f0f39477d675128c93c1646b3186937ee, as part of a refactor, but was never used outside of the package itself. The commit also didn't explain why this was changed into a Type with a constructor, as all the constructor appears to be used for is to sanitize and validate the tags.

This patch removes the Tagger struct and its constructor, and instead just uses a function to do the same.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

golangci-lint: update to v1.49.0

Remove the "deadcode", "structcheck", and "varcheck" linters, as they are deprecated:

WARN [runner] The linter 'deadcode' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'structcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [runner] The linter 'varcheck' is deprecated (since v1.49.0) due to: The owner seems to have abandoned the linter.  Replaced by unused.
WARN [linters context] structcheck is disabled because of generics. You can track the evolution of the generics support by following the https://github.com/golangci/golangci-lint/issues/2649.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

refactor(pkg/archive): factor out createImpliedDirectories helper

This code was duplicated in two places -- factor it out, add documentation, and move magic numbers into a constant.

Additionally, use the same permissions (0755) in both code paths, and ensure that the ID map is used in both code paths.

Co-authored-by: Vasiliy Ulyanov vulyanov@suse.de Signed-off-by: Bjorn Neergaard bneergaard@mirantis.com Signed-off-by: Vasiliy Ulyanov vulyanov@suse.de

test(pkg/archive): add TestImpliedDirectoryPermissions

Co-authored-by: Cory Snider csnider@mirantis.com Signed-off-by: Bjorn Neergaard bneergaard@mirantis.com

swagger: update links to logo

Signed-off-by: CrazyMax crazy-max@users.noreply.github.com

Merge pull request #44200 from crazy-max/api-fix-logo

swagger: update links to logo

Merge pull request #44016 from thaJeztah/dont_set_ignoreImagesArgsEscaped

daemon: don't set ignoreImagesArgsEscaped, managed where not needed

Merge pull request #44089 from thaJeztah/update_golangci_lint

golangci-lint: update to v1.49.0

Merge pull request #44196 from neersighted/createImpliedDirectories

refactor(pkg/archive): factor out createImpliedDirectories helper

Merge pull request #44111 from thaJeztah/remove_tagger

api/server/backend/build: remove Tagger and NewTagger

Created at 1 week ago

MINOR: Improve unit test coverage of LeaderAndIsr class (#12689)

MINOR: Small update docs/design.html grammar and typo (#12691)

Reviewers: Jason Gustafson jason@confluent.io

Merge branch 'trunk' of https://github.com/apache/kafka into trunk

Created at 1 week ago

*) mod_http2: synchronization with github sources. Building in trunk and against 2.4.x is now supported via AP_HAS_RESPONSE_BUCKETS defines.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904305 13f79535-47bb-0310-9956-ffa450edef68

Merge branch 'trunk' of https://github.com/apache/httpd into trunk

Created at 1 week ago

Use DIR instead of dirname(FILE) (#817)

Dropped remaining references to removed PHP-support in Smarty 4 from docs, lexer and security class.

Update changelog Closes #816

Created at 1 week ago
push

update minio-go to address missing userMetadata (#4263)

Upload results of perf tests to SUBNET (#4254)

Merge branch 'master' of https://github.com/minio/mc

Created at 1 week ago

Add manual CMAKE_C_BYTE_ORDER set for old CMake

Fix socketpair failure when temporary directory has non-latin character

Created at 1 week ago

fix(reportImport): remove dual check for access and fix array warning

Signed-off-by: Shaheem Azmal M MD shaheem.azmal@siemens.com

feat(licenseRef): add/update licenses from spdx.org

Signed-off-by: Shaheem Azmal M MD shaheem.azmal@siemens.com

Merge pull request #2310 from siemens/feat/LicenseRefSPDXlicenses

feat(licenseRef): add/update licenses from spdx.org

Reviewed-by: mishra.gaurav@siemens.com

Merge pull request #2304 from siemens/fix/reportImport

fix(reportImport): remove dual check for access and fix array warning

Reviewed-by: mishra.gaurav@siemens.com Tested-by: mishra.gaurav@siemens.com

docs(openapi): fix spectral lint warnings/errors

Merge pull request #2320 from antoineauger/fix/openapi-spec

docs(openapi): fix spectral lint warnings/errors

Reviewed-by: mishra.gaurav@siemens.com, shaheem.azmal@siemens.com Tested-by: shaheem.azmal@siemens.com

Merge branch 'master' of https://github.com/fossology/fossology

Created at 1 week ago

use consistent alias for gotest.tools/v3/assert/cmp

Make sure we use the same alias everywhere for easier finding, and to prevent accidentally introducing duplicate imports with different aliases for the same package.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

Jenkinsfile: use Ubuntu 20.04 for DCO stage

Also switching to use arm64, as all amd64 stages have moved to GitHub actions, so using arm64 allows the same machine to be used for tests after the DCO check completed.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

libnetwork/resolvconf: removed unused GetIfChanged() and GetLastModified()

These functions were used in 63a7ccdd2372d87f56f7a86da07c72ea51332c2a, which was part of Docker v1.5.0 and v1.6.0, but removed in Docker v1.7.0 when the network stack was replaced with libnetwork in d18919e304c240df84502cdcc5ed655d92d12d4f.

Signed-off-by: Sebastiaan van Stijn github@gone.nl

pkg/containerfs: Trim away Driver interface part 1

The Driver interface was required for Linux Containers on Windows, which is no longer supported.

Signed-off-by: Cory Snider csnider@mirantis.com

pkg/containerfs: Remove NewLocalDriver()

Signed-off-by: Cory Snider csnider@mirantis.com

pkg/containerfs: make ResolveScopedPath a free fn

Signed-off-by: Cory Snider csnider@mirantis.com

pkg/containerfs: delete Archiver, Driver

They were needed for Linux Containers on Windows, which is no longer supported.

Signed-off-by: Cory Snider csnider@mirantis.com

pkg/containerfs: drop PathDriver abstraction

With LCOW support removed, there is no need to support non-native file paths any longer.

Signed-off-by: Cory Snider csnider@mirantis.com

pkg/containerfs: drop Driver abstraction

The Driver abstraction was needed for Linux Containers on Windows, support for which has since been removed.

There is no direct equivalent to Lchmod() in the standard library so continue to use the containerd/continuity version.

Signed-off-by: Cory Snider csnider@mirantis.com

pkg/containerfs: simplify ContainerFS type

Iterate towards dropping the type entirely.

Signed-off-by: Cory Snider csnider@mirantis.com

pkg/containerfs: alias ContainerFS to string

Drop the constructor and redundant string() type-casts.

Signed-off-by: Cory Snider csnider@mirantis.com

pkg/containerfs: drop ContainerFS type alias

Signed-off-by: Cory Snider csnider@mirantis.com

daemon: clean up vestiges of ContainerFS

Now that the type of Container.BaseFS has been reverted to a string, values can never implement the extractor or archiver interfaces. Rip out the dead code to support archiving and unarchiving through those interfcaes.

Signed-off-by: Cory Snider csnider@mirantis.com

chore(integration): delete outdated TODO comment

The TODO comment was in regards to allowing graphdriver plugins to provide their own ContainerFS implementations. The ContainerFS interface has been removed from Moby, so there is no longer anything which needs to be figured out.

Signed-off-by: Cory Snider csnider@mirantis.com

Merge pull request #42941 from thaJeztah/jenkinsfile_ubuntu_2004

Jenkinsfile: use Ubuntu 20.04 for DCO stage

Merge pull request #43867 from thaJeztah/consistent_alias

use consistent alias for gotest.tools/v3/assert/cmp

Merge pull request #44179 from thaJeztah/resolvconf_deadcode

libnetwork/resolvconf: removed unused GetIfChanged() and GetLastModified()

Merge pull request #44191 from corhere/drop-containerfs-iface

Remove LCOW: pkg/containerfs: drop ContainerFS abstraction

Created at 1 week ago

KAFKA-14207; KRaft Operations documentation (#12642)

Reviewers: Colin Patrick McCabe cmccabe@apache.org, Chase Thomas forlack@users.noreply.github.com

KAFKA-10199: Fix switching to updating standbys if standby is removed (#12687)

When the state updater only contains standby tasks and then a standby task is removed, an IllegalStateException is thrown because the changelog reader does not allow to switch to standby updating mode more than once in a row.

This commit fixes this bug by checking that the removed task is an active one before trying to switch to standby updating mode. If the task to remove is a standby task then either we are already in standby updating mode and we should not switch to it again or we are not in standby updating mode which implies that there are still active tasks that would prevent us to switch to standby updating mode.

Reviewer: Guozhang Wang wangguoz@gmail.com

MINOR: Update design docs to avoid zookeeper-specific assumptions (#12690)

Update a few cases in the documentation which do not make sense for KRaft.

Reviewers: José Armando García Sancio jsancio@users.noreply.github.com

MINOR: Add section on listener configuration (including kraft) to security docs (#12682)

This patch adds a section in security.html about listener configuration. This includes the basics of how to define the security mapping of each listener as well as the configurations to control inter-cluster traffic.

Reviewers: José Armando García Sancio jsancio@users.noreply.github.com, Luke Chen showuon@gmail.com

Merge branch 'trunk' of https://github.com/apache/kafka into trunk

Created at 1 week ago

*) mod_http2: type adjustments and castings for int/apr_uint32_t/apr_size_t/apr_off_t.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904297 13f79535-47bb-0310-9956-ffa450edef68

*) mod_http2: use proper apr_time_t where it is due, no (int) casting.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904299 13f79535-47bb-0310-9956-ffa450edef68

Merge branch 'trunk' of https://github.com/apache/httpd into trunk

Created at 1 week ago
push

Fix mc admin scanner info --json (#4264)

Merge branch 'master' of https://github.com/minio/mc

Created at 1 week ago