Add ScyllaDB license headers - #70
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds standardized ScyllaDB Apache 2.0 licensing across the codebase, addressing issue #26 and DRIVER-713.
Changes:
- Replaces the abbreviated license with the full Apache 2.0 text.
- Adds consistent headers to all 48 JavaScript and TypeScript files.
- Enforces headers through a pinned, autofix-capable ESLint plugin.
Reviewed changes
Copilot reviewed 50 out of 51 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
LICENSE |
Adds the complete Apache 2.0 license. |
package.json |
Adds the pinned license-header plugin. |
package-lock.json |
Locks the plugin and transitive dependency. |
eslint.config.js |
Configures header enforcement. |
tsup.config.ts |
Adds the license header. |
vitest.config.ts |
Adds the license header. |
vitest.integration.config.ts |
Adds the license header. |
src/affinity.ts |
Adds the license header. |
src/body.ts |
Adds the license header. |
src/client-base.ts |
Adds the license header. |
src/client-edge.ts |
Adds the license header. |
src/client.ts |
Adds the license header. |
src/compression-edge.ts |
Adds the license header. |
src/compression-node.ts |
Adds the license header. |
src/compression-shared.ts |
Adds the license header. |
src/compression-types.ts |
Adds the license header. |
src/config.ts |
Adds the license header. |
src/discovery.ts |
Adds the license header. |
src/document-edge.ts |
Adds the license header. |
src/document.ts |
Adds the license header. |
src/edge.ts |
Adds the license header. |
src/index.ts |
Adds the license header. |
src/logger.ts |
Adds the license header. |
src/middleware.ts |
Adds the license header. |
src/murmur.ts |
Adds the license header. |
src/query-plan.ts |
Adds the license header. |
src/routing.ts |
Adds the license header. |
src/runtime-common.ts |
Adds the license header. |
src/runtime-edge.ts |
Adds the license header. |
src/runtime-node.ts |
Adds the license header. |
src/seeded-random.ts |
Adds the license header. |
src/types.ts |
Adds the license header. |
src/user-agent.ts |
Adds the license header. |
test/affinity.test.ts |
Adds the license header. |
test/config.test.ts |
Adds the license header. |
test/discovery.test.ts |
Adds the license header. |
test/document.test.ts |
Adds the license header. |
test/helpers.ts |
Adds the license header. |
test/middleware.test.ts |
Adds the license header. |
test/query-plan.test.ts |
Adds the license header. |
test/type-usage.test.ts |
Adds the license header. |
test/integration-test/alternator-client.test.ts |
Adds the license header. |
test/integration-test/config.ts |
Adds the license header. |
test/integration-test/dynamodb-operations.test.ts |
Adds the license header. |
test/integration-test/helpers.ts |
Adds the license header. |
test/integration-test/http-client-implementation.test.ts |
Adds the license header. |
test/integration-test/http-connection-reuse.test.ts |
Adds the license header. |
test/integration-test/key-route-affinity-autodiscovery.test.ts |
Adds the license header. |
test/integration-test/tls-config.test.ts |
Adds the license header. |
test/integration-test/tls-session-resumption.test.ts |
Adds the license header. |
test/integration-test/internal/connection-pool.test.ts |
Adds the license header. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Testing
npm run verifynpm audit --omit=dev --audit-level=moderateFixes: DRIVER-713
Fixes: #26
Epic: DRIVER-49