Skip to content

Commit

Permalink
update readme links for drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
mtxr committed Aug 21, 2020
1 parent 3c7ef70 commit 27b707c
Show file tree
Hide file tree
Showing 11 changed files with 193 additions and 103 deletions.
46 changes: 25 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,38 +31,42 @@ Check out all the features and their documentation [here](http://vscode-sqltools

## Supported Drivers

> Unable to connect with "Drivers XXXX is not installed"? Check [this issue](https://github.com/mtxr/vscode-sqltools/issues/590).
**Official Drivers**

|Driver||Main Maintainer(s)|
|-|-|-|
|![AWS Redshift](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.pg/icons/redshift/default.png)|AWS Redshift|[@mtxr](https://github.com/mtxr)|
|![MariaDB](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mysql/icons/mariadb/default.png)|MariaDB|[@mtxr](https://github.com/mtxr) - ***looking for help***|
|![MSSQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mssql/icons/default.png)|Microsoft SQL Server|[@mtxr](https://github.com/mtxr) - ***looking for help***|
|![MySQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mysql/icons/default.png)|MySQL|[@mtxr](https://github.com/mtxr) - ***looking for help***|
|![PostgreSQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.pg/icons/pg/default.png)|PostgreSQL|[@mtxr](https://github.com/mtxr)|
|![SQLite](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.sqlite/icons/default.png)|SQLite|[@mtxr](https://github.com/mtxr) - ***looking for help***|
||Driver|Marketplace|Package|
|-|-|-|-|
|![AWS Redshift](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.pg/icons/redshift/default.png)|AWS Redshift|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-pg)|[packages/driver.pg](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.pg)|
|![MariaDB](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mysql/icons/mariadb/default.png)|MariaDB|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-mysql)|[packages/driver.mysql](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.mysql)|
|![MSSQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mssql/icons/default.png)|Microsoft SQL Server/Azure|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-mssql)|[packages/driver.mssql](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.mssql)|
|![MySQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mysql/icons/default.png)|MySQL|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-mysql)|[packages/driver.mysql](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.mysql)|
|![PostgreSQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.pg/icons/pg/default.png)|PostgreSQL|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-pg)|[packages/driver.pg](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.pg)|
|![SQLite](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.sqlite/icons/default.png)|SQLite|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-sqlite)|[packages/driver.sqlite](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.sqlite)|

> I'm looking for maintainers for each driver, if you are interested on maintain/test any driver, please contact me. https://mteixeira.dev
**Community Drivers:**

> Community drivers are available for now on version v0.21.x. For v0.22 and newer we are still migrating those drivers. Please use v0.21 for now. More info [here](https://github.com/mtxr/vscode-sqltools/issues/586)
||Driver|Marketplace|Maintainer and Repository|
|-|-|-|-|
|![InterSystems IRIS logo](https://raw.githubusercontent.com/intersystems-community/sqltools-intersystems-driver/master/icons/default.png)|InterSystems IRIS|[Link](https://marketplace.visualstudio.com/items?itemName=intersystems-community.sqltools-intersystems-driver)|[@daimor](https://github.com/daimor) <br/> [intersystems-community/sqltools-intersystems-driver](https://github.com/intersystems-community/sqltools-intersystems-driver)|
|![SAP HANA](https://raw.githubusercontent.com/SAP/sap-hana-driver-for-sqltools/master/icons/default.png)|SAP HANA|[Link](https://marketplace.visualstudio.com/items?itemName=SAPOSS.sap-hana-driver-for-sqltools)|[@SAP](https://github.com/SAP) <br/> [SAP/sap-hana-driver-for-sqltools](https://github.com/SAP/sap-hana-driver-for-sqltools)|

|Driver||Main Maintainer(s)|
|-|-|-|
|![Cassandra](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/drivers/icons/cassandra/default.png)|Cassandra|[@EpicEric](https://github.com/EpicEric)|
|![IBM DB2](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/drivers/icons/db2/default.png)|IBM DB2|[@snyang](https://github.com/snyang)|
|![InterSystems IRIS logo](https://raw.githubusercontent.com/intersystems-community/sqltools-intersystems-driver/master/icons/default.png)|InterSystems IRIS|[@daimor](https://github.com/daimor)|
|![OracleDB](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/drivers/icons/oracledb/default.png)|OracleDB|[@mickeypearce](https://github.com/mickeypearce)|
|![SAPHana](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/drivers/icons/saphana/default.png)|SAPHana|[@ariel-bentu](https://github.com/ariel-bentu)|
Do you want to add a new driver? We have a tool to help you. See [support new drivers](https://vscode-sqltools.mteixeira.dev/contributing/support-new-drivers) guide.

**Drivers supported till v0.21.9:**

Special thanks to these amazing developers that keep the project running!
|Driver|Maintainer|
|-|-|
|Cassandra|[@EpicEric](https://github.com/EpicEric)|
|IBM DB2|[@snyang](https://github.com/snyang)|
|OracleDB|[@mickeypearce](https://github.com/mickeypearce)|

Do you want to add a new driver? We have a tool to help you. See [support new drivers](https://vscode-sqltools.mteixeira.dev/contributing/support-new-drivers) guide.
> These drivers are being migrated to be compatible with v0.22 or newer. If you need one of them, you need to install v0.21.9.
#### Know Driver Issues

- Unable to connect with "Drivers XXXX is not installed"? Check [this issue](https://github.com/mtxr/vscode-sqltools/issues/590).

> I'm looking for maintainers for each driver, if you are interested on maintain/test any driver, please contact me. https://mteixeira.dev

## Contributing

Expand Down
26 changes: 0 additions & 26 deletions build-tools/copyEntries.js

This file was deleted.

36 changes: 6 additions & 30 deletions build-tools/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ require('dotenv').config({
const constants = require('./constants');
const { author, version, packagesDir, outdir } = constants;

const copyEntries = require("./copyEntries");

// const copyEntries = [];
module.exports = function(env = {}) {
env.pkg = env.pkg || [];
if (typeof env.pkg === 'string') {
Expand Down Expand Up @@ -46,39 +45,16 @@ module.exports = function(env = {}) {
type,
externals = {},
}) => {
if (type === 'copy') {
Object.keys(entries).forEach((name) => {
const destnation = entries[name];
let copyEntry = {
from: path.resolve(pkgPath, name),
to: path.resolve(outdir, destnation),
};
if (destnation.indexOf('file:') === 0) {
const customData = require(path.resolve(pkgPath, destnation.replace(/^file:/, '')))(constants);
copyEntry = {
...copyEntry,
...customData,
}
}

copyEntries.push(copyEntry);
});
} else {
webpackConfigs.push(require(`./webpack/${type}.config.js`)({
entries,
packagePath: pkgPath,
externals,
}));
}
webpackConfigs.push(require(`./webpack/${type}.config.js`)({
entries,
packagePath: pkgPath,
externals,
}));
})
} else {
console.log(`\t>> no build entries`)
}
});

if (copyEntries.length > 0) {
webpackConfigs.push(require(`./webpack/copy.config.js`)(copyEntries));
}

return webpackConfigs;
}
45 changes: 24 additions & 21 deletions docs/src/content/current-drivers.mdx
Original file line number Diff line number Diff line change
@@ -1,34 +1,37 @@
## Supported Drivers

> Unable to connect with "Drivers XXXX is not installed"? Check [this issue](https://github.com/mtxr/vscode-sqltools/issues/590).
**Official Drivers**

|Driver||Main Maintainer(s)|
|-|-|-|
|![AWS Redshift](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.pg/icons/redshift/default.png)|AWS Redshift|[@mtxr](https://github.com/mtxr)|
|![MariaDB](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mysql/icons/mariadb/default.png)|MariaDB|[@mtxr](https://github.com/mtxr) - ***looking for help***|
|![MSSQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mssql/icons/default.png)|Microsoft SQL Server|[@mtxr](https://github.com/mtxr) - ***looking for help***|
|![MySQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mysql/icons/default.png)|MySQL|[@mtxr](https://github.com/mtxr) - ***looking for help***|
|![PostgreSQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.pg/icons/pg/default.png)|PostgreSQL|[@mtxr](https://github.com/mtxr)|
|![SQLite](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.sqlite/icons/default.png)|SQLite|[@mtxr](https://github.com/mtxr) - ***looking for help***|
||Driver|Marketplace|Package|
|-|-|-|-|
|![AWS Redshift](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.pg/icons/redshift/default.png)|AWS Redshift|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-pg)|[packages/driver.pg](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.pg)|
|![MariaDB](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mysql/icons/mariadb/default.png)|MariaDB|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-mysql)|[packages/driver.mysql](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.mysql)|
|![MSSQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mssql/icons/default.png)|Microsoft SQL Server/Azure|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-mssql)|[packages/driver.mssql](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.mssql)|
|![MySQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.mysql/icons/default.png)|MySQL|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-mysql)|[packages/driver.mysql](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.mysql)|
|![PostgreSQL](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.pg/icons/pg/default.png)|PostgreSQL|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-pg)|[packages/driver.pg](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.pg)|
|![SQLite](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/driver.sqlite/icons/default.png)|SQLite|[Link](https://marketplace.visualstudio.com/items?itemName=mtxr.sqltools-driver-sqlite)|[packages/driver.sqlite](https://github.com/mtxr/vscode-sqltools/tree/master/packages/driver.sqlite)|

> I'm looking for maintainers for each driver, if you are interested on maintain/test any driver, please contact me. https://mteixeira.dev
**Community Drivers:**

> Community drivers are available for now on version v0.21.x. For v0.22 and newer we are still migrating those drivers. Please use v0.21 for now. More info [here](https://github.com/mtxr/vscode-sqltools/issues/586)
||Driver|Marketplace|Maintainer and Repository|
|-|-|-|-|
|![InterSystems IRIS logo](https://raw.githubusercontent.com/intersystems-community/sqltools-intersystems-driver/master/icons/default.png)|InterSystems IRIS|[Link](https://marketplace.visualstudio.com/items?itemName=intersystems-community.sqltools-intersystems-driver)|[@daimor](https://github.com/daimor) <br/> [intersystems-community/sqltools-intersystems-driver](https://github.com/intersystems-community/sqltools-intersystems-driver)|
|![SAP HANA](https://raw.githubusercontent.com/SAP/sap-hana-driver-for-sqltools/master/icons/default.png)|SAP HANA|[Link](https://marketplace.visualstudio.com/items?itemName=SAPOSS.sap-hana-driver-for-sqltools)|[@SAP](https://github.com/SAP) <br/> [SAP/sap-hana-driver-for-sqltools](https://github.com/SAP/sap-hana-driver-for-sqltools)|

|Driver||Main Maintainer(s)|
|-|-|-|
|![Cassandra](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/drivers/icons/cassandra/default.png)|Cassandra|[@EpicEric](https://github.com/EpicEric)|
|![IBM DB2](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/drivers/icons/db2/default.png)|IBM DB2|[@snyang](https://github.com/snyang)|
|![InterSystems IRIS logo](https://raw.githubusercontent.com/intersystems-community/sqltools-intersystems-driver/master/icons/default.png)|InterSystems IRIS|[@daimor](https://github.com/daimor)|
|![OracleDB](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/drivers/icons/oracledb/default.png)|OracleDB|[@mickeypearce](https://github.com/mickeypearce)|
|![SAPHana](https://raw.githubusercontent.com/mtxr/vscode-sqltools/master/packages/drivers/icons/saphana/default.png)|SAPHana|[@ariel-bentu](https://github.com/ariel-bentu)|
Do you want to add a new driver? We have a tool to help you. See [support new drivers](https://vscode-sqltools.mteixeira.dev/contributing/support-new-drivers) guide.

**Drivers supported till v0.21.9:**

Special thanks to this amazing developers that keep the project running!
|Driver|Maintainer|
|-|-|
|Cassandra|[@EpicEric](https://github.com/EpicEric)|
|IBM DB2|[@snyang](https://github.com/snyang)|
|OracleDB|[@mickeypearce](https://github.com/mickeypearce)|

Do you want to add a new driver? We have a tool to help you. See [support new drivers](https://vscode-sqltools.mteixeira.dev/contributing/support-new-drivers) guide.
> These drivers are being migrated to be compatible with v0.22 or newer. If you need one of them, you need to install v0.21.9.
#### Know Driver Issues

> I'm looking for maintainers for each driver, if you are interested on maintain/test any driver, please contact me. https://mteixeira.dev
- Unable to connect with "Drivers XXXX is not installed"? Check [this issue](https://github.com/mtxr/vscode-sqltools/issues/590).
3 changes: 2 additions & 1 deletion docs/src/pages/contributing/support-new-drivers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ Launch you extension and happy coding!
4. Follow this guide to publish on VSCode Marketpalce: https://code.visualstudio.com/api/working-with-extensions/publishing-extension
5. Submit a PR to https://github.com/mtxr/vscode-sqltools updating this files to list your driver:
- https://github.com/mtxr/vscode-sqltools/blob/master/README.md
- https://github.com/mtxr/vscode-sqltools/blob/master/docs/src/pages/contributing/support-new-drivers.mdx
- https://github.com/mtxr/vscode-sqltools/blob/master/packages/extension/README.md
- https://github.com/mtxr/vscode-sqltools/blob/master/docs/src/content/current-drivers.mdx
3 changes: 2 additions & 1 deletion .vscodeignore → packages/extension/.vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jest.config.js
**/jest.config.js
# exceptions
!static/icon.png
!icons/**
!language/**
!README.md
!LICENSE.md
!CHANGELOG.md
21 changes: 21 additions & 0 deletions packages/extension/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016-present Matheus Teixeira

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 27b707c

Please sign in to comment.