
Security News
Rspack Introduces Rslint, a TypeScript-First Linter Written in Go
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Simple CLI wrapper around Postgres.ai CLI to drop directly into a PSQL session.
Install the gem by executing:
gem install pgai
For an overview of available commands, execute:
pgai -h
Before usage pgai config
must be executed and at least an environment must be configured with pgai env add
.
An access token will be required and it can be obtained from: https://console.postgres.ai/gitlab/tokens
Example:
pgai config --prefix=<gitlab handle>
To configure environments:
pgai env add --alias ci --id ci.lab.internal --port 2345 -n gitlabhq_dblab
The environment id and port can be found by clicking on the Connect
button on a database instance page.
The the id attributes must be configured for SSH port forwarding via the ~/.ssh/config
file. Example:
Host <bastion>
User <username>
IdentityFile ~/.ssh/id_ed25519
Host *.lab.internal
User <username>
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_ed25519
ProxyCommand ssh <bastion> -W %h:%p
pgai connect <env alias>
Multiple connect
commands for an environment will connect to the same clone, it won't start a new one.
pgai use --only <env alias> -- command
can be used to run commands with access to a clone. Example for connecting a Rails console to the CI
database:
pgai use -o ci -v -- bin/rails c -e test
caffeinate
~/.dblab/
and its contents can be removed~/.config/pgai/config.pstore
should be removed and recreated with pgai config
Bug reports and pull requests are welcome on GitLab at https://gitlab.com/mbobin/pgai.
FAQs
Unknown package
We found that pgai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.