Skip to content

Commit

Permalink
Add ThirdPartyNotices for the logos
Browse files Browse the repository at this point in the history
  • Loading branch information
dfalbel committed Feb 26, 2025
1 parent cbde64b commit da212d8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
23 changes: 23 additions & 0 deletions ThirdPartyNotices.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3486,3 +3486,26 @@ public licenses.

Creative Commons may be contacted at creativecommons.org.
=======================================================================
---------------------------------------------------------

---------------------------------------------------------

SQLite is in the Public Domain

https://www.sqlite.org/copyright.html
---------------------------------------------------------

---------------------------------------------------------

Postgres, PostgreSQL and the Slonik Logo are trademarks or registered trademarks of the PostgreSQL
Community Association of Canada, and used with their permission.

https://www.postgresql.org/about/policies/trademarks/
---------------------------------------------------------

---------------------------------------------------------
Apache Spark and its logo are trademarks of The Apache Software Foundation.

https://spark.apache.org/trademarks.html
---------------------------------------------------------

5 changes: 5 additions & 0 deletions extensions/positron-connections/src/drivers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ class RPostgreSQLDriver extends RDriver implements positron.ConnectionsDriver {

constructor(context: vscode.ExtensionContext) {
super(['RPostgres', 'DBI', 'connections']);
// See the top-level ThirdPartyNotices.txt file for attribution and license details.
const iconPath = path.join(context.extensionPath, 'media', 'logo', 'postgre.svg');
const iconData = readFileSync(iconPath, 'base64');
this.metadata.base64EncodedIconSvg = iconData;
Expand Down Expand Up @@ -199,6 +200,7 @@ class RSQLiteDriver extends RDriver implements positron.ConnectionsDriver {

constructor(context: vscode.ExtensionContext) {
super(['RSQLite', 'DBI', 'connections']);
// See the top-level ThirdPartyNotices.txt file for attribution and license details.
const iconPath = path.join(context.extensionPath, 'media', 'logo', 'sqlite.svg');
const iconData = readFileSync(iconPath, 'base64');
this.metadata.base64EncodedIconSvg = iconData;
Expand Down Expand Up @@ -248,6 +250,7 @@ connections::connection_view(con)
class RSparkDriver extends RDriver implements positron.ConnectionsDriver {
constructor(context: vscode.ExtensionContext) {
super(['sparklyr']);
// See the top-level ThirdPartyNotices.txt file for attribution and license details.
const iconPath = path.join(context.extensionPath, 'media', 'logo', 'spark.svg');
const iconData = readFileSync(iconPath, 'base64');
this.metadata.base64EncodedIconSvg = iconData;
Expand Down Expand Up @@ -318,6 +321,7 @@ class PythonSQLiteDriver extends PythonDriver implements positron.ConnectionsDri

constructor(context: vscode.ExtensionContext) {
super();
// See the top-level ThirdPartyNotices.txt file for attribution and license details.
const iconPath = path.join(context.extensionPath, 'media', 'logo', 'sqlite.svg');
const iconData = readFileSync(iconPath, 'base64');
this.metadata.base64EncodedIconSvg = iconData;
Expand Down Expand Up @@ -357,6 +361,7 @@ class PythonPostgreSQLDriver extends PythonDriver implements positron.Connection

constructor(context: vscode.ExtensionContext) {
super();
// See the top-level ThirdPartyNotices.txt file for attribution and license details.
const iconPath = path.join(context.extensionPath, 'media', 'logo', 'postgre.svg');
const iconData = readFileSync(iconPath, 'base64');
this.metadata.base64EncodedIconSvg = iconData;
Expand Down

0 comments on commit da212d8

Please sign in to comment.