Minor fixes to make modules buildable using bazel #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fix module name for baselibs nlohmann dep
Fix score_docs_as_code version based on baselibs
Fix typos in build configs. and documentation
Fixes ruff formatting in Python files
Fixes buildifier formatting in Starlark files
Modules buildable
1234567@host:~/workspace_oss/rama_score_logging$ bazel build //score/datarouter:datarouter
WARNING: /home/1234567/workspace_oss/rama_score_logging/score/mw/log/detail/data_router/shared_memory/BUILD:16:11: in cc_library rule //score/mw/log/detail/data_router/shared_memory:common: target '//score/mw/log/detail/data_router/shared_memory:common' depends on deprecated target '@@score_baselibs+//score/os/utils:high_resolution_steady_clock': Deprecated, please use //platform/aas/mw/time/HighPrecisionLocalSteadyClock instead
WARNING: /home/1234567/.cache/bazel/_bazel_1234567/8024846b1ee77f2d91e33aa3facca7a7/external/score_baselibs+/score/mw/log/detail/text_recorder/BUILD:22:11: in cc_library rule @@score_baselibs+//score/mw/log/detail/text_recorder:text_recorder: target '@@score_baselibs+//score/mw/log/detail/text_recorder:text_recorder' depends on deprecated target '@@score_baselibs+//score/os/utils:high_resolution_steady_clock': Deprecated, please use //platform/aas/mw/time/HighPrecisionLocalSteadyClock instead
WARNING: /home/1234567/workspace_oss/rama_score_logging/score/mw/log/detail/file_recorder/BUILD:22:11: in cc_library rule //score/mw/log/detail/file_recorder:file_recorder: target '//score/mw/log/detail/file_recorder:file_recorder' depends on deprecated target '@@score_baselibs+//score/os/utils:high_resolution_steady_clock': Deprecated, please use //platform/aas/mw/time/HighPrecisionLocalSteadyClock instead
INFO: Analyzed target //score/datarouter:datarouter (96 packages loaded, 6780 targets configured).
INFO: Found 1 target...
Target //score/datarouter:datarouter up-to-date:
bazel-bin/score/datarouter/datarouter
INFO: Elapsed time: 0.595s, Critical Path: 0.03s
INFO: 1 process: 505 action cache hit, 1 internal.
INFO: Build completed successfully, 1 total action
1234567@host:~/workspace_oss/rama_score_logging$ bazel test //score/... --nocache_test_results
WARNING: /home/1234567/workspace_oss/rama_score_logging/score/datarouter/test/ut/ut_logging/BUILD:299:8: in cc_test rule //score/datarouter/test/ut/ut_logging:messagePassingServerUT: target '//score/datarouter/test/ut/ut_logging:messagePassingServerUT' depends on deprecated target '@@score_communication+//score/mw/com/message_passing:mock': DEPRECATED: use @score_communication//score/message_passing:mock instead
WARNING: /home/1234567/workspace_oss/rama_score_logging/score/mw/log/detail/data_router/BUILD:100:8: in cc_test rule //score/mw/log/detail/data_router:unit_test: target '//score/mw/log/detail/data_router:unit_test' depends on deprecated target '@@score_communication+//score/mw/com/message_passing:mock': DEPRECATED: use @score_communication//score/message_passing:mock instead
WARNING: /home/1234567/workspace_oss/rama_score_logging/score/mw/log/legacy_non_verbose_api/BUILD:51:8: in cc_test rule //score/mw/log/legacy_non_verbose_api:unit_test: target '//score/mw/log/legacy_non_verbose_api:unit_test' depends on deprecated target '@@score_communication+//score/mw/com/message_passing:mock': DEPRECATED: use @score_communication//score/message_passing:mock instead
INFO: Analyzed 155 targets (0 packages loaded, 118 targets configured).
INFO: Found 120 targets and 35 test targets...
INFO: Elapsed time: 3.671s, Critical Path: 3.26s
INFO: 35 processes: 732 action cache hit, 1 internal, 34 processwrapper-sandbox.
INFO: Build completed successfully, 35 total actions
//score/mw/log/detail/slog:slog_recorder_factory_test SKIPPED
//score/datarouter/lib/synchronized:synchronized_test PASSED in 0.2s
//score/datarouter/test/ut/ut_logging:FileTransferHandlerFactoryUT PASSED in 0.3s
//score/datarouter/test/ut/ut_logging:PersistentDictionaryFactoryUT PASSED in 0.2s
//score/datarouter/test/ut/ut_logging:configSessionFactoryUT PASSED in 0.3s
//score/datarouter/test/ut/ut_logging:datarouterAppUT PASSED in 0.2s
//score/datarouter/test/ut/ut_logging:dlt_verbose_handler_test PASSED in 0.3s
//score/datarouter/test/ut/ut_logging:dltprotocolUT PASSED in 0.3s
//score/datarouter/test/ut/ut_logging:dltserverUT PASSED in 0.3s
//score/datarouter/test/ut/ut_logging:errorUT PASSED in 0.1s
//score/datarouter/test/ut/ut_logging:filetransferUT PASSED in 0.2s
//score/datarouter/test/ut/ut_logging:log_entry_deserialize_test PASSED in 0.1s
//score/datarouter/test/ut/ut_logging:logparserUT PASSED in 0.2s
//score/datarouter/test/ut/ut_logging:messagePassingServerUT PASSED in 1.8s
//score/datarouter/test/ut/ut_logging:optionsUT PASSED in 0.3s
//score/datarouter/test/ut/ut_logging:persistentLogConfigUT PASSED in 0.3s
//score/datarouter/test/ut/ut_logging:socketserverConfigUT PASSED in 0.2s
//score/datarouter/test/ut/ut_logging:stubConfigSessionUT PASSED in 0.3s
//score/datarouter/test/ut/ut_logging:udp_stream_output_test PASSED in 0.3s
//score/datarouter/test/ut/ut_logging:unix_domain_server_test PASSED in 2.8s
//score/datarouter/test/ut/ut_logging:utility_test PASSED in 0.3s
//score/mw/log/detail/common:composite_recorder_test PASSED in 0.2s
//score/mw/log/detail/common:dlt_format_test PASSED in 0.2s
//score/mw/log/detail/common:helper_functions_test PASSED in 0.1s
//score/mw/log/detail/common:log_entry_deserialize_test PASSED in 0.2s
//score/mw/log/detail/common:log_stream_factory_test PASSED in 0.2s
//score/mw/log/detail/common:log_stream_test PASSED in 0.3s
//score/mw/log/detail/common:recorder_factory_test PASSED in 0.4s
//score/mw/log/detail/common:runtime_test PASSED in 0.3s
//score/mw/log/detail/common:statistics_reporter_test PASSED in 0.2s
//score/mw/log/detail/data_router:unit_test PASSED in 3.1s
//score/mw/log/detail/data_router/shared_memory:unit_test PASSED in 0.3s
//score/mw/log/detail/file_recorder:unit_test PASSED in 0.3s
//score/mw/log/detail/wait_free_producer_queue:unit_test PASSED in 3.2s
//score/mw/log/legacy_non_verbose_api:unit_test PASSED in 0.1s