Skip to content

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 force-pushed the kyle/rename-module branch from 694320d to 21d4511 Compare July 26, 2023 15:21
@kyleconroy kyleconroy merged commit d361c5d into main Jul 26, 2023
@kyleconroy kyleconroy deleted the kyle/rename-module branch July 26, 2023 16:12
alfonsodev pushed a commit to ExponentiaTeam/sqlc that referenced this pull request Oct 13, 2025
* chore!: Rename kyleconroy/sqlc to sqlc-dev/sqlc

* chore: Update import paths en masse

* chore(endtoend): Update testdata with new import path

* build(endtoend): Clean up testdata go.mod
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.

2 participants