GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Include pg-connection-string into monorepo by brianc · Pull Request #2184 · brianc/node-postgres

Conversation

@brianc

@brianc brianc commented Apr 28, 2020

Copy link
Copy Markdown
Owner

After some discussions I'm going to bring pg-connection-string into this repo. This will help out w/ making it easier to control the SSL parameters from the connection string.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

benjie and revolunet reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
phated and others added 30 commits July 5, 2014 16:22
@phated
Initial commit
88aafd7
@phated
initial commit
92c1fed
@phated
attach port always - ref #604
df2a24c
@phated
0.1.1
cb9bee1
matthew.blasius
Support usage of relative urls to set database on the default host
ba511f7
@phated
Merge pull request #1 from slickmb/task/relative_url
c502985
Support usage of relative urls to set database on the default host
@phated
0.1.2
245abd6
Ivan Sorokin
Add supporting password with colon
fbdd033
@phated
Merge pull request #2 from asynxis/master
0a07e3d
Add supporting password with colon
@phated
0.1.3
4c151b9
@misaxi
Update README.md
c612dfa
@phated
Merge pull request #6 from misaxi/master
07a7143
Update README.md
@motiz88
Copy all but special-cased params from URL query string to config
cdf06ed
@NoNameProvided
feat: add basic typings
54c2044
To make this app consumable by Typescript apps a typings file must be present.
@monteslu
Merge pull request #7 from motiz88/extra-keys
e6643e4
Copy all but special-cased params from URL query string to config
@monteslu
Merge pull request #10 from NoNameProvided/patch-1
45d8232
Add support for Typescript typings

thanks @NoNameProvided  !
@caub
allow min/max params for pg-pool
9ab62ff
@monteslu
Merge pull request #11 from caub/max
cf107b0
thanks, @caub !
@monteslu @warbrett
Use mocha, istanbul, and coveralls (#16)
1368735
* some tests

* coveralls and mocha

* coveralls post test hook

* remove done calls
@monteslu
2.0.0
eafb7ac
@ywkim
Add supporting username and password for socket connections
279fdea
This fix adds the ability to use username and password even when using
a socket.
@benny-medflyt
Fix typings
929fcb7
@benny-medflyt
typings: turns out "host" can actually be null
ece7645
@benjie
Only publish the required files
c11dbb1
Details: https://docs.npmjs.com/files/package.json#files
@hjr3
Add support for TLS parameters in URI
e9270e8
The connection string now supports the following parameters:

- sslcert
- sslkey
- sslrootcert

Fixes #25.
@hjr3
Merge pull request #26 from hjr3/ssl-support
ac63695
Add support for TLS parameters in URI
@hjr3
Merge pull request #24 from benjie/patch-1
b53c2bd
Only publish the required files
@hjr3
Merge pull request #17 from ywkim/master
43114f4
Add supporting username and password for socket connections
@hjr3
ssl=0 is now parses to false
7b62226
Fixes #20
@hjr3
Merge pull request #28 from hjr3/ssl-parsing
d7b96e6
ssl=0 is now parses to false
Andrew Bowerman and others added 14 commits June 18, 2019 20:12
Andrew Bowerman
2.1.0
06c46ac
Andrew Bowerman
Update coveralls badge
c9ee9cd
Closes #15
@monteslu
Merge pull request #30 from iceddev/fix-coverall-badge
0f72f29
Update coveralls badge
Andrew Bowerman
fix readme newline typo
c75c392
Andrew Bowerman
actually include coveralls
e4c1002
@monteslu
Merge pull request #31 from iceddev/fix-coverall-badge
a483bdf
fix readme newline typo
@danielrozenberg
host= query param takes precedence
0ff40e7
@danielrozenberg
Support URL-encoded socket names
b309db0
@danielrozenberg
Use regex instead of startsWith which is unsupported in node 0.10
7ec9b70
@hjr3
Merge pull request #34 from danielrozenberg/support-other-socket-modes
9b89828
Support more modes to set the host as a socket
@djmitche
Include documentation on the URL format in the README
b4e0ba3
This summarizes the common forms, but omits some of the more particular,
and unnecessary forms, such as specifying UNIX domain sockets with
`pg://` URLs.
@hjr3
Merge pull request #36 from djmitche/format-docs
4356679
Include documentation on the URL format in the README
@hjr3
Release v2.2.0
5233b3e
@brianc
Add 'packages/pg-connection-string/' from commit '5233b3e77e396a36813…
4aff01e
…0709e762fca836290a528'

git-subtree-dir: packages/pg-connection-string
git-subtree-mainline: 3532880
git-subtree-split: 5233b3e
@brianc

brianc commented Apr 28, 2020

Copy link
Copy Markdown
Owner Author

note: need to merge this with a merge commit to preserve history.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

brianc added 3 commits April 28, 2020 10:02
@brianc
Run lint --fix
3a831fc
@brianc
Update test command for travis
16344cb
I think the new syntax I'm using here is compatible with `sh`...let's see.
@brianc
Check for the correct binary
ddf8112
This was referenced Apr 28, 2020
style guide and development tools for pg related modules #2172
Open
Moving this module into node-postgres monorepo iceddev/pg-connection-string#37
Closed
@brianc

brianc commented Apr 28, 2020

Copy link
Copy Markdown
Owner Author

@hjr3 Thanks for your help in getting this moved over!

Before I can take dependency on this version from within the monorepo I'd like to make sure I have enough access to the npm package on npmjs.com to be a maintainer of it long term. That means enough access to publish to the package & add/remove collaborators. You're absolutely welcome to be a co-owner...I just need to have enough access in case you ever decide you don't wanna bother anymore so we can have continuity of ownership! If there's anything you need from me to help w/ this that isn't able to be discussed in public please feel free to email me or just ping me here!

monteslu reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hjr3

hjr3 commented Apr 28, 2020

Copy link
Copy Markdown
Collaborator

Glad I could help. I pinged the repo (and I think npm?) owners in iceddev/pg-connection-string#37 (comment) . I believe @monteslu is the person who can help with the transition.

monteslu reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@monteslu

monteslu commented Apr 28, 2020

Copy link
Copy Markdown
Contributor

Not super familiar with monorepos yet. We get to keep the commit history with moving this right?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brianc

brianc commented Apr 28, 2020

Copy link
Copy Markdown
Owner Author

Not super familiar with monorepos yet. We get to keep the commit history with moving this right?

Indeed - as long as I merge this w/ a merge commit (which is the merge method I have selected RN)
image

Then it should be good. I used this command to pull in the full history of the other repo:

~/src/node-postgres (bmc/pg-connection-string)
$ git subtree add --prefix packages/pg-connection-string https://github.com/iceddev/pg-connection-string.git master

which is what I did when I merged in pg-pool, pg-cursor, etc into this repo. You can see the huuuuge list of commits above, they should all be preserved! 👯

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@monteslu

monteslu commented Apr 28, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

perfect!

I've added you to the npm package.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brianc

brianc commented Apr 29, 2020

Copy link
Copy Markdown
Owner Author

awesome thanks @monteslu - I'm gonna try publishing a new patch version now. You might wanna redirect the existing iceddev repo over here. Please feel free to collab & contribute here as much or as little as you want. I'll consider myself a "co-owner" in that I'll take responsibility for anything that merges in and shepherd the project if you get burnt out or want to go do something else, but I don't plan on standing in your way at all if you want to continue to drive it forward yourself over here too! ❤️

The main motivation here is to make it easier to integrate changes to pg-connection-string back into the mainline as the two repos are kinda tightly coupled.

monteslu and revolunet reacted with thumbs up emoji monteslu reacted with heart emoji
All reactions
  • 👍 2 reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brianc
brianc merged commit e93ecac into master Apr 29, 2020
@brianc
brianc deleted the bmc/pg-connection-string branch April 29, 2020 02:55
@brianc

brianc commented Apr 29, 2020

Copy link
Copy Markdown
Owner Author
lerna http fetch PUT 200 https://registry.npmjs.org/pg-connection-string 2945ms
Successfully published:
 - [email protected]
lerna success published 1 package
   Done in 35.10s.

💃

I'll work on getting a semver minor release of pg & friends out tomorrow to re-baseline on top of this version of pg-connection-string. Work is pretty crazy right now so might not be until end of week but probably tomorrow! 🤞

revolunet reacted with thumbs up emoji benjie reacted with hooray emoji benjie reacted with heart emoji
All reactions
  • 👍 1 reaction
  • 🎉 1 reaction
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hjr3 hjr3 mentioned this pull request Apr 29, 2020
Support for RDS JSON-style connection strings iceddev/pg-connection-string#38
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

13 participants

@brianc @hjr3 @monteslu @phated @misaxi @motiz88 @NoNameProvided @caub @ywkim @benny-medflyt @benjie @danielrozenberg @djmitche
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.