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

Add FOSSA license scanning #13257

Merged
merged 3 commits into from
Feb 11, 2025
Merged

Add FOSSA license scanning #13257

merged 3 commits into from
Feb 11, 2025

Conversation

trask
Copy link
Member

@trask trask commented Feb 10, 2025

No description provided.

@trask trask requested a review from a team as a code owner February 10, 2025 00:42
@github-actions github-actions bot added the test native This label can be applied to PRs to trigger them to run native tests label Feb 10, 2025
@@ -8,7 +8,7 @@ group = "io.opentelemetry.instrumentation"
val springBootVersion = "2.6.15"

dependencies {
api("org.springframework.boot:spring-boot-starter:$springBootVersion")
compileOnly("org.springframework.boot:spring-boot-starter:$springBootVersion")
Copy link
Member Author

Choose a reason for hiding this comment

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

@jeanbisutti @zeitlinger is this ok? I noticed it was compileOnly in the main starter (the reason it's related to this PR is that we're only scanning runtimeClasspath dependencies)

Copy link
Member

Choose a reason for hiding this comment

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

compileOnly would make more sense for me

Comment on lines -7 to -9
val dependencyVersions = hashMapOf<String, String>()
rootProject.extra["versions"] = dependencyVersions

Copy link
Member Author

Choose a reason for hiding this comment

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

unrelated to this PR, but we weren't using this

@trask trask marked this pull request as draft February 10, 2025 00:44
@trask trask force-pushed the fossa branch 2 times, most recently from e5ba5f5 to 93909ef Compare February 10, 2025 02:43
@trask trask marked this pull request as ready for review February 10, 2025 02:46
build.gradle.kts Outdated
Comment on lines 142 to 156
// disable all tasks to stop build
subprojects {
tasks.configureEach {
enabled = false
}
}
}
}

// disable all tasks to stop build
project.tasks.configureEach {
if (this.name != "generateFossaConfiguration") {
enabled = false
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure you need this. listTestsInPartition uses this because it is run with ./gradlew check -x spotlessCheck listTestsInPartition We want to get names of all tests tasks that check would trigger but we don't want to actually run them.

@trask trask merged commit bc7e81b into open-telemetry:main Feb 11, 2025
61 checks passed
@trask trask deleted the fossa branch February 11, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test native This label can be applied to PRs to trigger them to run native tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants