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

Define jqlang/jq <-> stedolan/jq relationship #2594

Closed
nicowilliams opened this issue May 22, 2023 · 21 comments
Closed

Define jqlang/jq <-> stedolan/jq relationship #2594

nicowilliams opened this issue May 22, 2023 · 21 comments

Comments

@nicowilliams
Copy link
Contributor

Prior to @stedolan accepting the ownership invitation my plan had been to set up a mirror from jqlang/jq -> stedolan/jq and then ask users to create issues/PRs against jqlang/jq. Now that @stedolan is here perhaps Stephen can tell us what he'd like to see going forward.

My own preference is still for stedolan/jq to be the canonical home of jq -at least for the wiki, the docs, the source code (with a mirroring setup), and GitHub releases made via GitHub Actions in jqlang/jq- but moving issues and PRs to jqlang/jq. I'd also like to accept help in constructing a language specification under jqlang/spec.

As a reminder, the motivation for creating the jqlang org was that the existing maintainers ran out of energy and became non-responsive (myself included, sadly) and there was no way for us to add maintainers to a personal project that none of us owned. To that end, besides creating jqlang I've recruited (with others' help) a number of new maintainers who will hopefully be able to help weed through a bunch of PRs and make releases.

@stedolan
Copy link
Contributor

stedolan commented May 22, 2023 via email

@nicowilliams
Copy link
Contributor Author

@stedolan did you know that there used to be a wikipedia page for jq but it got deleted because "it's a personal project"? I fought it but I couldn't get the pedant editor to stuff it. Maybe now they can restore it.

@nicowilliams
Copy link
Contributor Author

For the actual move, I think the mechanically simplest thing to do is to temporarily delete the current jqlang/jq fork, and then I can do the https://docs.github.com/en/repositories/creating-and-managing-repositories/transferring-a-repository process, which pulls PRs, issues, etc. along with it.

Naturally you'd have to be the one doing that :)

@nicowilliams
Copy link
Contributor Author

Transferring stedolan/jq to jqlang/jq would definitely leave no doubt about which is which.

@owenthereal
Copy link
Member

I'd be happy to move the canonical home to jqlang/jq and make stedolan/jq point to it.

👍 to transfering stedolan/jq to jqlang/jq. This would be the most seamless change for users.

@stedolan
Copy link
Contributor

OK, I'll do that then. From reading https://gist.github.com/domenic/1f286d415559b56d725bee51a62c24a7 it looks like the simplest way to keep links working is for me to create a new stedolan/jq and use html <meta> redirects / weird javascript 404 pages for deep links. (That gist is 6 years old, though - anyone know if a less hacky way has emerged?)

@nicowilliams
Copy link
Contributor Author

nicowilliams commented May 23, 2023 via email

@nicowilliams
Copy link
Contributor Author

Comments I got on IRC:

i think if you transfer the repo, github will do redirects for you. Make a new test repo and try it.

hmm, but maybe not github pages

@tst2005
Copy link

tst2005 commented May 24, 2023

Transfering stedolan/jq to jqlang/jq it will also help for referencing : people will not wrongly comes to the old repo just because it is still shown at first result in google or github.
I'm really enjoyed by the @stedolan answer.
It is for me the clearest way, the one I dreamed of without considering it was possible before today.

@stedolan
Copy link
Contributor

OK, I'll do this over the weekend. Current plan is:

  1. Delete jqlang/jq
  2. Transfer stedolan/jq to jqlang/jq
  3. Create a new stedolan/jq with a big arrow to jqlang/jq, disabling PRs and issues on stedolan/jq
  4. Push a github pages site to stedolan/jq that redirects all pages to jqlang/jq

Does that sound right or am I missing some steps?

@itchyny
Copy link
Contributor

itchyny commented May 25, 2023

First of all, I'm glad to see this happen and really appreciated the corporation of stedolan. But I'm against to creating the new stedolan/jq repository, because it breaks the redirection of old the issue and pull request links (linked from other web sites). Creating a new user pages site couldn't help?

@dtolnay
Copy link
Member

dtolnay commented May 26, 2023

As @itchyny said, please do not do step 3 of #4 (comment). That will break links to issues and repository contents. If you do not do step 3, GitHub will automatically redirect all URLs under github.com/stedolan/jq to the correct new location under github.com/jqlang/jq. On the other hand by doing step 3, they will all 404.

For the website, here is a demo of what you need to get it redirected: https://github.com/dtolnay-contrib/dtolnay-contrib.github.io.

Examples:

Put that repo (with find . -name '*.html' | xargs sed -i 's/stedolan/jqlang/') at https://github.com/stedolan/stedolan.github.io.

@dtolnay
Copy link
Member

dtolnay commented May 26, 2023

Consider adding this step above the step 1 in #4 (comment):

  1. Transfer all issues from jqlang/jq to stedolan/jq

That lets us keep this record of how this was coordinated.

There is a "Transfer issue" mechanism at the bottom of the sidebar for org members who are on a team (https://github.com/orgs/jqlang/teams) that has at least "Write" permission on this repo.

@nicowilliams
Copy link
Contributor Author

nicowilliams commented May 26, 2023 via email

@stedolan
Copy link
Contributor

OK, thanks! I'll do the user page trick following @dtolnay 's example and rename rather than delete jqlang/jq.

@stedolan stedolan transferred this issue from another repository May 28, 2023
@stedolan
Copy link
Contributor

stedolan commented May 28, 2023

I've done the following things:

  • Temporarily renamed jqlang/jq to jqlang/jqlang-jq
  • Transferred stedolan/jq to jqlang/jq
  • Pushed the old jqlang/jq master branch to old-jqlang-master
  • Fixed URLs in jqlang/jq to point at jqlang instead of stedolan
    (mostly in docs, but also pkg-config, etc.)
  • Deleted temporary jqlang/jqlang-jq, after moving issues and PRs to jqlang/jq
    (the one open PR was turned into an issue)
  • Added a stedolan.github.io/jq redirect following @dtolnay's template

I haven't changed the following things, which should probably also be updated:

  • The KEYS file still refers to jq Release Signing Key <[email protected]>
  • The README has CI badges (Coveralls, Travis & Appveyor) which still point to stedolan/jq
  • There are 4 commits on old-jqlang-master that should probably be pushed to master

@owenthereal
Copy link
Member

owenthereal commented May 28, 2023

Thanks for doing that, @stedolan! Excited to see jq now officially in this org!

A few of us volunteering maintainers are hanging out at this discord server: #2550 (comment). Please join. I will make you an admin after you are in 😃.

@owenthereal
Copy link
Member

owenthereal commented May 28, 2023

There are 4 commits on old-jqlang-master that should probably be pushed to master

I proposed a PR to merge the 4 missing commits after the transfer: #2596. PTAL.

@kasperk81
Copy link

looking forward to jq 2.0 release 👍

@itchyny
Copy link
Contributor

itchyny commented Jun 11, 2023

@nicowilliams Would you change the role of me and @owenthereal to be the owner of the organization? I want to invite @pkoppstein as a maintainer to the organization. I think it is preferable there are multiple active owners for sustainable development. Thanks.

@nicowilliams
Copy link
Contributor Author

@nicowilliams Would you change the role of me and @owenthereal to be the owner of the organization? I want to invite @pkoppstein as a maintainer to the organization. I think it is preferable there are multiple active owners for sustainable development. Thanks.

I agree that we need more owners, and I just made some of the maintainers into owners. However, I defer to @stedolan, and if he wants a different set of owners -including or excluding me- I assume he'll make those changes.

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

No branches or pull requests

7 participants