Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PM-13376] Phase 2 - SDK split #2

Merged
merged 14 commits into from
Oct 21, 2024
Merged

[PM-13376] Phase 2 - SDK split #2

merged 14 commits into from
Oct 21, 2024

Conversation

Hinton
Copy link
Member

@Hinton Hinton commented Oct 21, 2024

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-13376

📔 Objective

Phase 2 of the SDK repository split.

SDK-internal is a new repository split from the latest main of https://github.com/bitwarden/sdk. It removes all secrets manager language bindings and binaries.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation
    team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed
    issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

…lit-cleanup

# Conflicts:
#	.github/CODEOWNERS
#	.github/workflows/build-cli-docker.yml
#	.github/workflows/build-cli.yml
#	.github/workflows/build-cpp.yml
#	.github/workflows/build-dotnet.yml
#	.github/workflows/build-go.yaml
#	.github/workflows/build-java.yml
#	.github/workflows/build-napi.yml
#	.github/workflows/build-python-wheels.yml
#	.github/workflows/build-ruby.yml
#	.github/workflows/build-rust-cross-platform.yml
#	.github/workflows/build-wasm.yml
#	.github/workflows/publish-bws.yml
#	.github/workflows/publish-dotnet.yml
#	.github/workflows/publish-java.yml
#	.github/workflows/publish-napi.yml
#	.github/workflows/publish-php.yml
#	.github/workflows/publish-python.yml
#	.github/workflows/publish-ruby.yml
#	.github/workflows/publish-wasm.yml
#	.github/workflows/release-bws.yml
#	.github/workflows/release-cpp.yml
#	.github/workflows/release-dotnet.yml
#	.github/workflows/release-go.yml
#	.github/workflows/release-java.yml
#	.github/workflows/release-napi.yml
#	.github/workflows/release-python.yml
#	.github/workflows/release-wasm.yml
#	Cargo.lock
#	crates/bitwarden-wasm-internal/Cargo.toml
#	crates/bitwarden-wasm/Cargo.toml
#	crates/bitwarden/CHANGELOG.md
#	crates/bws/CHANGELOG.md
#	languages/java/build.gradle
#	package-lock.json
#	package.json
@Hinton Hinton changed the title Remove secrets manager language bindings and clients [PM-13376] Phase 2 - SDK split Oct 21, 2024
Copy link
Contributor

github-actions bot commented Oct 21, 2024

Logo
Checkmarx One – Scan Summary & Details0d4f66e1-1745-43c7-90e8-c9e08123046a

New Issues

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 44 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 44 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...

Fixed Issues

Severity Issue Source File / Package
MEDIUM Apt Get Install Pin Version Not Defined /Dockerfile: 9
MEDIUM Missing_HSTS_Header /languages/php/example.php: 3
MEDIUM Privacy_Violation /languages/java/src/main/java/com/bitwarden/sdk/BitwardenClient.java: 43
MEDIUM Privacy_Violation /languages/java/example/Example.java: 46
MEDIUM Privacy_Violation /languages/java/src/main/java/com/bitwarden/sdk/BitwardenClient.java: 43
MEDIUM Privacy_Violation /languages/java/src/main/java/com/bitwarden/sdk/BitwardenClient.java: 43
MEDIUM Privacy_Violation /languages/java/src/main/java/com/bitwarden/sdk/BitwardenClient.java: 43
MEDIUM Privacy_Violation /languages/java/src/main/java/com/bitwarden/sdk/BitwardenClient.java: 43
MEDIUM Privacy_Violation /languages/java/src/main/java/com/bitwarden/sdk/SecretsClient.java: 41
MEDIUM Privacy_Violation /languages/java/src/main/java/com/bitwarden/sdk/SecretsClient.java: 41
MEDIUM Privacy_Violation /languages/java/src/main/java/com/bitwarden/sdk/SecretsClient.java: 138
MEDIUM Privacy_Violation /languages/java/example/Example.java: 43
MEDIUM Privacy_Violation /languages/java/src/main/java/com/bitwarden/sdk/SecretsClient.java: 20
MEDIUM Privacy_Violation /languages/java/example/Example.java: 53
MEDIUM Unpinned Actions Full Length Commit SHA /release-ruby.yml: 51
MEDIUM Unpinned Actions Full Length Commit SHA /release-cpp.yml: 59
MEDIUM Unpinned Actions Full Length Commit SHA /release-wasm.yml: 42
MEDIUM Unpinned Actions Full Length Commit SHA /publish-bws.yml: 168
MEDIUM Unpinned Actions Full Length Commit SHA /release-cpp.yml: 65
MEDIUM Unpinned Actions Full Length Commit SHA /build-cli.yml: 172
MEDIUM Unpinned Actions Full Length Commit SHA /release-dotnet.yml: 54
MEDIUM Unpinned Actions Full Length Commit SHA /build-ruby.yml: 24
MEDIUM Unpinned Actions Full Length Commit SHA /version-bump.yml: 53
MEDIUM Unpinned Actions Full Length Commit SHA /publish-bws.yml: 162
MEDIUM Unpinned Actions Full Length Commit SHA /publish-dotnet.yml: 88
MEDIUM Unpinned Actions Full Length Commit SHA /publish-python.yml: 107
MEDIUM Unpinned Actions Full Length Commit SHA /build-cli-docker.yml: 53
MEDIUM Unpinned Actions Full Length Commit SHA /build-cli-docker.yml: 130
MEDIUM Unpinned Actions Full Length Commit SHA /publish-napi.yml: 110
MEDIUM Unpinned Actions Full Length Commit SHA /release-bws.yml: 51
MEDIUM Unpinned Actions Full Length Commit SHA /publish-bws.yml: 92
MEDIUM Unpinned Actions Full Length Commit SHA /build-cli.yml: 85
MEDIUM Unpinned Actions Full Length Commit SHA /release-go.yml: 69
MEDIUM Unpinned Actions Full Length Commit SHA /publish-wasm.yml: 86
MEDIUM Unpinned Actions Full Length Commit SHA /publish-java.yml: 98
MEDIUM Unpinned Actions Full Length Commit SHA /publish-ruby.yml: 92
MEDIUM Unpinned Actions Full Length Commit SHA /build-cli.yml: 337
MEDIUM Unpinned Actions Full Length Commit SHA /build-cli-docker.yml: 60
MEDIUM Unpinned Actions Full Length Commit SHA /publish-php.yml: 89
MEDIUM Unpinned Actions Full Length Commit SHA /release-napi.yml: 44
MEDIUM Unpinned Actions Full Length Commit SHA /publish-java.yml: 82
MEDIUM Unpinned Actions Full Length Commit SHA /publish-php.yml: 176
MEDIUM Unpinned Actions Full Length Commit SHA /release-bws.yml: 43
MEDIUM Unpinned Actions Full Length Commit SHA /release-go.yml: 89
LOW Healthcheck Instruction Missing /Dockerfile: 33
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 159
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 129
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 115
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 159
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 115
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 151
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 129
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 159
LOW Privacy_Violation /languages/cpp/src/Secrets.cpp: 56
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 151
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 129
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 159
LOW Privacy_Violation /languages/cpp/src/Secrets.cpp: 139
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 122
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 115
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 151
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 129
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 159
LOW Privacy_Violation /languages/cpp/src/Secrets.cpp: 107
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 159
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 136
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 122
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 151
LOW Privacy_Violation /languages/cpp/src/BitwardenClient.cpp: 129
LOW Unpinned Actions Full Length Commit SHA /build-cli.yml: 172
LOW Unpinned Actions Full Length Commit SHA /publish-bws.yml: 162
LOW Unpinned Actions Full Length Commit SHA /publish-ruby.yml: 92
LOW Unpinned Actions Full Length Commit SHA /build-ruby.yml: 24
LOW Unpinned Actions Full Length Commit SHA /release-cpp.yml: 65
LOW Unpinned Actions Full Length Commit SHA /publish-php.yml: 89
LOW Unpinned Actions Full Length Commit SHA /publish-python.yml: 107
LOW Unpinned Actions Full Length Commit SHA /release-go.yml: 69
LOW Unpinned Actions Full Length Commit SHA /release-wasm.yml: 42
LOW Unpinned Actions Full Length Commit SHA /publish-dotnet.yml: 88
LOW Unpinned Actions Full Length Commit SHA /version-bump.yml: 53
LOW Unpinned Actions Full Length Commit SHA /release-dotnet.yml: 54
LOW Unpinned Actions Full Length Commit SHA /release-bws.yml: 51
LOW Unpinned Actions Full Length Commit SHA /build-cli.yml: 85
LOW Unpinned Actions Full Length Commit SHA /publish-bws.yml: 168
LOW Unpinned Actions Full Length Commit SHA /build-cli-docker.yml: 60
LOW Unpinned Actions Full Length Commit SHA /build-cli-docker.yml: 53
LOW Unpinned Actions Full Length Commit SHA /release-cpp.yml: 59
LOW Unpinned Actions Full Length Commit SHA /publish-php.yml: 176
LOW Unpinned Actions Full Length Commit SHA /release-go.yml: 89
LOW Unpinned Actions Full Length Commit SHA /publish-wasm.yml: 86
LOW Unpinned Actions Full Length Commit SHA /build-cli-docker.yml: 130
LOW Unpinned Actions Full Length Commit SHA /publish-java.yml: 98
LOW Unpinned Actions Full Length Commit SHA /release-bws.yml: 43
LOW Unpinned Actions Full Length Commit SHA /publish-bws.yml: 92
LOW Unpinned Actions Full Length Commit SHA /release-napi.yml: 44
LOW Unpinned Actions Full Length Commit SHA /publish-java.yml: 82
LOW Unpinned Actions Full Length Commit SHA /publish-napi.yml: 110
LOW Unpinned Actions Full Length Commit SHA /build-cli.yml: 337
LOW Unpinned Actions Full Length Commit SHA /release-ruby.yml: 51

Copy link

codecov bot commented Oct 21, 2024

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

.github/workflows/rust-test.yml Outdated Show resolved Hide resolved
.github/workflows/version-bump.yml Outdated Show resolved Hide resolved
@Hinton Hinton requested a review from dani-garcia October 21, 2024 18:01
Copy link
Member

@dani-garcia dani-garcia left a comment

Choose a reason for hiding this comment

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

Just some missing names in the workflow, otherwise LGTM

.github/workflows/version-bump.yml Outdated Show resolved Hide resolved
.github/workflows/version-bump.yml Outdated Show resolved Hide resolved
@Hinton Hinton merged commit 67ccb5a into main Oct 21, 2024
37 of 38 checks passed
@Hinton Hinton deleted the repo-split-cleanup branch October 21, 2024 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants