Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

feat!(lanelet2_extension): introduce API versioning along with format_version #245

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

soblin
Copy link
Contributor

@soblin soblin commented May 20, 2024

Description

https://github.com/orgs/autowarefoundation/discussions/4740

Related links

Tests performed

Notes for reviewers

Interface changes

It is preferable for the user to define format_version for their map

Effects on system behavior

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@soblin soblin force-pushed the feat/format-version-api branch from 3a0d2bf to a7c7ee9 Compare May 20, 2024 08:19
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Clang-Tidy found issue(s) with the introduced code (1/1)

tmp/lanelet2_extension/lib/query.cpp Outdated Show resolved Hide resolved
tmp/lanelet2_extension/lib/visualization.cpp Outdated Show resolved Hide resolved
@soblin soblin force-pushed the feat/format-version-api branch from e795025 to 4661d4f Compare June 11, 2024 08:38
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Clang-Tidy found issue(s) with the introduced code (1/1)

return std::nullopt;
}
std::string minor = match[2].str();
if (minor == "") {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-container-size-empty ⚠️
the empty method should be used to check for emptiness instead of comparing to an empty object

Suggested change
if (minor == "") {
if (minor.empty()) {

}
std::string minor = match[2].str();
if (minor == "") {
if (match[3].str() == "") {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-container-size-empty ⚠️
the empty method should be used to check for emptiness instead of comparing to an empty object

Suggested change
if (match[3].str() == "") {
if (match[3].str().empty()) {

return std::nullopt;
}
std::string patch = match[3].str();
if (patch == "") {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-container-size-empty ⚠️
the empty method should be used to check for emptiness instead of comparing to an empty object

Suggested change
if (patch == "") {
if (patch.empty()) {

soblin added 2 commits June 12, 2024 16:15
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
@soblin soblin force-pushed the feat/format-version-api branch from 1916683 to b142e1c Compare June 14, 2024 05:19
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Clang-Tidy found issue(s) with the introduced code (1/1)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants