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

CUE has moved to a new home! #1078

Closed
mpvl opened this issue Jul 3, 2021 · 1 comment
Closed

CUE has moved to a new home! #1078

mpvl opened this issue Jul 3, 2021 · 1 comment

Comments

@mpvl
Copy link
Member

mpvl commented Jul 3, 2021

CUE has moved to a new home! The cuelang/cue repository (this repository) and other cuelang/* repositories have moved to the cue-lang GitHub organization, and code review has moved from googlesource.com to GerritHub. This post explains the impact and details of the move for users of CUE and contributors, and covers other frequently asked questions.

If you are experiencing any problems as a result of the migration, please open an issue.

Follow the latest CUE announcements and news via our official Twitter account: https://twitter.com/cue_lang.

What do I need to do first?

You need to "star" the project in its new home!

Now read on to check if you are affected by the migration.

How am I affected as a CUE user?

Most users will not be affected by this move. go get, go install and friends will continue to work as before. Imports of cuelang.org/go/... packages will continue to work, and historic versions of CUE have been retained.

Some users will be affected in the following scenarios:

  • Users who manually install from GitHub release assets must now reference releases in the cue-lang/cue repository. All historic releases have been migrated, but new releases will only exist in the cue-lang repository.
  • Installing CUE via Homebrew now uses a different tap location: brew install cue-lang/tap/cue. The old command (brew install cuelang/tap/cue) will continue to work, but will redirect to the new tap location and echo a warning about following that redirect.
  • Users will need to subscribe to issues/discussions that have been migrated to the new repository. Because we have not transferred the CUE repository from cuelang/cue to cue-lang/cue (see FAQ) we needed to recreate issues/discussions using our cueckoo bot user (issue/discussion numbers were preserved in this process). Each issue/discussion references the original author, links back to the original, the old issue/discussion then links forward to the new location, all old issues have been closed, and the cuelang/cue repository has been archived. But this does mean that subscriptions to original issues/discussions have been lost, and users will need to resubscribe to issues of interest.
  • Links to https://github.com/cuelang/* endpoints will need to be updated to https://github.com/cue-lang/*. For convenience, cuelang.org/issue/NNN automatically redirects to the corresponding issue number NNN in the issue tracker (this is how we refer to issues in the project; others are encouraged to do the same because it remains portable).

How am I affected as a CUE contributor?

Contributors are affected by two changes:

For more details, please see the contributing guide.

Why is CUE moving?

The GitHub organization https://github.com/cuelang is part of Google's Enterprise GitHub account. Moving the CUE project to https://github.com/cue-lang gives it a neutral home, and gives the project maintainers more flexibility to run the project and build for its long-term sustainability. We plan to move CUE to a foundation in the near future.

Isn't this going to break lots of stuff?

We hope not! As far as possible we have tested this migration, but no doubt there will be some edge cases. If you do run into a problem, please open an issue.

We chose not to transfer the cuelang/* repositories to cue-lang/* because ownership transfer is a complicated and drawn-out legal process. As such, we also can't have an automatic redirect in place from the old repository to the new repository. The "fork" we have created at https://github.com/cue-lang also makes it very clear to users and contributors that there has been a change.

The short term pain of losing all those hard-earned stars, people updating links, re-subscribing to issues/discussions etc will be far outweighed by the benefits this new home will bring the project.

Where did all the stars go?

Because we were not able to transfer the cuelang/* repositories to cue-lang/*, we leave behind all those hard-earned stars! At the time of writing we have over 3,180 stars - thank you to all those who have supported the project thus far, we look forward to making CUE even better in this new home!

To help CUE settle into its new home, please star the project:

What happened to the "Most helpful" discussion leaderboard?

Firstly, a big thank you to all our contributors who help to answer questions via the GitHub Discussions forum!

Migrating the cuelang/* repositories to their new home, we used the cueckoo bot to recreate issues/discussions with the same issue/discussion number. However, this means that all issues/discussions currently have cueckoo as the author. This also explains why the leaderboard no longer reflects contributions from other contributors. This temporary anomaly will be just that, temporary, and over time cueckoo will fall off the bottom of the list!

I use the cuelang.org/go/... packages as dependencies; what do I need to do?

Nothing! The remote import path cuelang.org/go/... has been reconfigured to point to the new repository. Module versions will continue to resolve via proxy.golang.org and verify via sum.golang.org.

How can I find issues/discussions that I created/commented on?

Migrating the cuelang/* repositories to their new home, we used the cueckoo bot to recreate issues/discussions with the same issue/discussion number. However, this means that all issues/discussions currently have cueckoo as the author!

However, the issues, discussions, comments and replies have all been recreated using structured prefixes. For example, the following issue search query finds all issues previously created by the @gopher user:

is:issue is:open "Originally opened by @gopher" 

Similarly, the following discussion search query finds all comments/replies by previously created by the @gopher user:

"Original reply by @gopher" 

What will happen to cuelang.org?

cuelang.org will be unaffected by the migration.

For contributors to cuelang.org, the repository behind the site is now hosted at https://github.com/cue-lang/cuelang.org.

@mpvl mpvl pinned this issue Jul 3, 2021
@cue-lang cue-lang locked as resolved and limited conversation to collaborators Jul 3, 2021
@myitcv myitcv added the Triage Requires triage/attention label Jul 15, 2021
@myitcv myitcv removed the Triage Requires triage/attention label Jul 26, 2021
@myitcv myitcv unpinned this issue May 25, 2022
@myitcv
Copy link
Member

myitcv commented Aug 24, 2022

It's been over a year since this happened, so I think we can close this 🎉

@myitcv myitcv closed this as completed Aug 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants