-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1694 from EnterpriseDB/release/2021-08-10
Release/2021 08 10 Former-commit-id: a29075d
- Loading branch information
Showing
40 changed files
with
3,149 additions
and
330 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,16 +9,15 @@ jobs: | |
steps: | ||
- name: Cleanup disk | ||
uses: curoky/[email protected] | ||
with: | ||
retain: "python,node" | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
ref: develop | ||
fetch-depth: 0 # fetch whole repo so git-restore-mtime can work | ||
- name: Adjust file watchers limit | ||
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | ||
|
||
- uses: actions/setup-node@v1 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14.x" | ||
- name: Install yarn | ||
|
@@ -28,6 +27,20 @@ jobs: | |
env: | ||
NODE_ENV: ${{ secrets.NODE_ENV }} | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.x" | ||
- uses: r-lib/actions/setup-pandoc@v1 | ||
with: | ||
pandoc-version: "2.14.1" | ||
- name: Install wkhtmltopdf | ||
run: | | ||
curl -L https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb > wkhtmltopdf.deb | ||
sudo apt-get install ./wkhtmltopdf.deb | ||
- name: Build all pdfs | ||
run: npm run build-all-pdfs-ci | ||
|
||
- name: Checking Gatsby cache | ||
id: gatsby-cache-build | ||
uses: actions/cache@v2 | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
name: Deploy branch draft on Netlify | ||
on: | ||
pull_request: | ||
types: [labeled, opened, synchronize] | ||
|
||
concurrency: | ||
group: ${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-deploy: | ||
if: | | ||
(github.event.action == 'labeled' && github.event.label.name == 'deploy') || | ||
(github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'deploy')) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: inject slug/short variables | ||
uses: rlespinasse/[email protected] | ||
|
||
- name: compose a name for the build environment | ||
run: echo "BUILD_ENV_NAME=pr-${{ github.event.number }}-${{ env.GITHUB_HEAD_REF_SLUG }}" >> $GITHUB_ENV | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
fetch-depth: 0 # fetch whole repo so git-restore-mtime can work | ||
|
||
- name: Adjust file watchers limit | ||
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | ||
|
||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '14.x' | ||
|
||
# ref: https://github.com/actions/cache/blob/main/examples.md#node---yarn | ||
- name: Get yarn cache directory | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
||
- name: Checking Yarn cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Yarn install | ||
run: npx yarn install --immutable | ||
env: | ||
NODE_ENV: ${{ secrets.NODE_ENV }} | ||
|
||
- name: Checking Gatsby cache | ||
id: gatsby-cache-build | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
public | ||
.cache | ||
key: ${{ runner.os }}-gatsby-build-draft-${{ github.head_ref }} | ||
|
||
- name: Fix mtimes | ||
run: yarn fix-mtimes --force | ||
|
||
- name: Gatsby build | ||
run: yarn build | ||
env: | ||
APP_ENV: staging | ||
NODE_ENV: ${{ secrets.NODE_ENV }} | ||
NODE_OPTIONS: --max-old-space-size=4096 | ||
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }} | ||
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} | ||
ALGOLIA_INDEX_NAME: edb-docs-staging | ||
INDEX_ON_BUILD: false | ||
|
||
- name: Deploy to Netlify | ||
id: netlify-deploy | ||
uses: nwtgck/[email protected] | ||
with: | ||
publish-dir: './public' | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
deploy-message: ${{ github.event.pull_request.title }} | ||
enable-commit-comment: false | ||
github-deployment-environment: ${{ env.BUILD_ENV_NAME }} | ||
env: | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_DEVELOP_SITE_ID }} | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,16 +9,15 @@ jobs: | |
steps: | ||
- name: Cleanup disk | ||
uses: curoky/[email protected] | ||
with: | ||
retain: "python,node" | ||
|
||
- uses: actions/checkout@v2 | ||
with: | ||
ref: main | ||
fetch-depth: 0 # fetch whole repo so git-restore-mtime can work | ||
- name: Adjust file watchers limit | ||
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | ||
|
||
- uses: actions/setup-node@v1 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "14.x" | ||
- name: Install yarn | ||
|
@@ -28,6 +27,21 @@ jobs: | |
env: | ||
NODE_ENV: ${{ secrets.NODE_ENV }} | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: "3.x" | ||
- uses: r-lib/actions/setup-pandoc@v1 | ||
with: | ||
pandoc-version: "2.14.1" | ||
- name: Install wkhtmltopdf | ||
run: | | ||
curl -L https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb > wkhtmltopdf.deb | ||
sudo apt-get install ./wkhtmltopdf.deb | ||
- name: Build all pdfs | ||
run: npm run build-all-pdfs-ci | ||
|
||
|
||
- name: Checking Gatsby cache | ||
id: gatsby-cache-build | ||
uses: actions/cache@v2 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,12 @@ | |
|
||
This repo contains the React/Gatsby application that powers [the EDB Docs website](https://www.enterprisedb.com/docs/). The site pulls [Markdown](https://www.markdownguide.org/) content from several repos in a process called "sourcing", and then renders it all into high-performance markup. You can install the application on your local computer for easy editing, viewing, and eventually publishing to the GitHub repo. | ||
|
||
## Please remove and re-clone your local repositories after August 13, 2021 | ||
|
||
We've been checking PDF files into Git. That's not a good plan, so [we've stopped doing that](https://github.com/EnterpriseDB/docs/issues/1632). The next step is to remove these files from Git history and [move other large files to LFS](https://docs.github.com/en/github/managing-large-files/versioning-large-files/moving-a-file-in-your-repository-to-git-large-file-storage). Among many other good things, that ought to reduce the time to clone this repository substantially. | ||
|
||
But it comes at a cost. If there are any local repositories that were cloned before the change, we risk introducing dirty history back into the repository. So we're asking that everyone who has a local repository they **cloned before (or on) August 13, 2021** to delete those repositories. Unfortunately, we'll need to reject any pull requests that introduce PDF files back into Git history. (If you need any help with this, please contact [email protected].) | ||
|
||
## MacOS Installation | ||
|
||
We recommend using MacOS to work with the EDB Docs application. | ||
|
@@ -279,3 +285,4 @@ Option 2: on GitHub | |
|
||
1. Edit a file on GitHub. | ||
2. Submit changes as a PR on a new branch. | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: "What’s New" | ||
|
||
legacyRedirectsGenerated: | ||
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key. | ||
- "/edb-docs/d/edb-postgres-net-connector/user-guides/net-guide/4.1.6.1/whats_new.html" | ||
--- | ||
|
||
<div id="whats_new" class="registered_link"></div> | ||
|
||
The following features are added to create EDB .NET Connector 5.0.7.1: | ||
|
||
- Merged with the upstream Npgsql driver version 5.0.7. For more information about the merge updates, visit <https://www.nuget.org/packages/Npgsql/5.0.7>. | ||
- Support for .NET 5.0 and .NET Core 3.1 (earlier available as .NET Core 3.0). |
26 changes: 26 additions & 0 deletions
26
product_docs/docs/net_connector/5.0.7.1/02_requirements_overview.mdx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: "Requirements Overview" | ||
--- | ||
|
||
<div id="requirements_overview" class="registered_link"></div> | ||
|
||
The following section details the supported platforms for the EDB .NET Connector. | ||
|
||
## Supported Server Versions and Platforms | ||
|
||
The EDB .NET Connector is certified with Advanced Server version 9.6 and above. | ||
|
||
The EDB .NET Connector graphical installers are supported on the following Windows platforms: | ||
|
||
64-bit Windows: | ||
|
||
- Windows Server 2019 | ||
- Windows Server 2016 | ||
- Windows Server 2012 R2 | ||
- Windows 10 | ||
- Windows 8.1 | ||
|
||
32-bit Windows: | ||
|
||
- Windows 10 | ||
- Windows 8.1 |
35 changes: 35 additions & 0 deletions
35
...cs/docs/net_connector/5.0.7.1/03_the_advanced_server_net_connector_overview.mdx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: "The EDB .NET Connector - Overview" | ||
|
||
--- | ||
|
||
<div id="the_advanced_server_net_connector_overview" class="registered_link"></div> | ||
|
||
The EDB .NET Connector is a .NET data provider that allows a client application to connect to a database stored on an Advanced Server host. The .NET Connector accesses the data directly, allowing the client application optimal performance, a broad spectrum of functionality, and access to Advanced Server features. | ||
|
||
The .NET Connector supports following frameworks: | ||
|
||
- .NET 5.0 | ||
- .NET Core 3.1 | ||
- .NET Standard 2.0 and 2.1 | ||
|
||
|
||
## The .NET Class Hierarchy | ||
|
||
The .NET Class Hierarchy contains a number of classes that you can use to create objects that control a connection to the Advanced Server database and manipulate the data stored on the server. The following are just a few of the most commonly used object classes: | ||
|
||
`EDBConnection` | ||
|
||
The `EDBConnection` class represents a connection to Advanced Server. An `EDBConnection` object contains a `ConnectionString` that instructs the .NET client how to connect to an Advanced Server database. | ||
|
||
`EDBCommand` | ||
|
||
An `EDBCommand` object contains an SQL command that the client will execute against Advanced Server. Before you can execute an `EDBCommand` object, you must link it to an `EDBConnection` object. | ||
|
||
`EDBDataReader` | ||
|
||
An `EDBDataReader` object provides a way to read an Advanced Server result set. You can use an `EDBDataReader` object to step through one row at a time, forward-only. | ||
|
||
`EDBDataAdapter` | ||
|
||
An `EDBDataAdapter` object links a result set to the Advanced Server database. You can modify values and use the `EDBDataAdapter` class to update the data stored in an Advanced Server database. |
Oops, something went wrong.