Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore!: Rename kyleconroy/sqlc to sqlc-dev/sqlc #2523

Merged
merged 4 commits into from
Jul 26, 2023
Merged

Conversation

kyleconroy
Copy link
Collaborator

@kyleconroy kyleconroy commented Jul 25, 2023

What's changing?

A few weeks ago we announced that we're working on sqlc full time. We've created a new GitHub organization, sqlc-dev, to house all of our open-source code. Most repositories were migrated a few weeks ago. This is the last repository to migrate.

What do I need to do after the transfer?

Nothing as of right now, but things will change next week once we release v1.20.0. When upgrading, you will need to change any imports paths from github.com/kyleconroy/sqlc to github.com/sqlc-dev/sqlc.

To install that release, you'll do:

go install github.com/sqlc-dev/sqlc/cmd/sqlc@v1.20.0

If you want to use sqlc in your Go module, you'll do

go get github.com/sqlc-dev/sqlc@v1.20.0

All previous versions of sqlc will be installed using the old import paths. Those commands will continue to work once the repository has been transferred to the sqlc-dev organization.

If you have an open pull-request, you may need to rebase as well.


Description

The majority of this change was done using the excellent go-imports-rename tool.

go install github.com/sirkon/go-imports-rename@latest
go-imports-rename --save 'github.com/kyleconroy/sqlc => github.com/sqlc-dev/sqlc'

@kyleconroy kyleconroy marked this pull request as ready for review July 25, 2023 21:00
@kyleconroy kyleconroy merged commit d361c5d into main Jul 26, 2023
8 checks passed
@kyleconroy kyleconroy deleted the kyle/rename-module branch July 26, 2023 16:12
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant