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

Migrating: Doobie #126

Open
2 of 5 tasks
valencik opened this issue Jan 14, 2024 · 8 comments
Open
2 of 5 tasks

Migrating: Doobie #126

valencik opened this issue Jan 14, 2024 · 8 comments
Labels
projects Requests to join or leave the project

Comments

@valencik
Copy link
Member

valencik commented Jan 14, 2024

Migration Checklist

Project Submission Issue: #125

For Organization Projects:

  • Create a team for the repo with maintainer as team member
  • After repo transfer, add repo with write permissions to the created team

For All Projects:

Announcements

These steps are optional but encouraged.

  • Write a blog post announcing the change
  • Post to our social channels (Mastodon)
@valencik valencik added the projects Requests to join or leave the project label Jan 14, 2024
@samspills
Copy link
Contributor

Hey @jatcwang! I'd like to get the ball rolling on the package switch from tpolecat -> typelevel. Step 1 is the repo transfer. If you give me admin access to the doobie repo I can trigger that transfer and then finish setting up the doobie team.

How do you feel about that plan? Would this timing work for you??

@jatcwang
Copy link

Thanks @samspills. Currently I believe there's a blocker for repo transfer which is the docs site on https://tpolecat.github.io/doobie/ with many years of links to it so ideally we should setup a redirect to https://typelevel.org/doobie/.

I need to figure that part out and we can proceed with the repo transfer. (I'm not an admin for tpolecat/doobie so will need to ask Rob to set that up)

@armanbilge
Copy link
Member

so ideally we should setup a redirect to https://typelevel.org/doobie/

After we move this repo, I think we'll have to setup a doobie repo under tpolecat again that publishes a redirect index.html file to its GH pages branch e.g.

https://github.com/http4s/http4s-jdk-http-client/blob/3bbf3b984d26710b4bfa9c9f6d519d83717e0c5c/index.html


I'm not an admin for tpolecat/doobie so will need to ask Rob to set that up

For personal repos I'm not sure if it's possible for anyone besides the owner to admin.

@jatcwang
Copy link

Good to know we've done that already thanks @armanbilge. I'm guessing we will need an .index file per existing page since with just index.html at top level will only redirect the homepage I think? Will play around with it

@armanbilge
Copy link
Member

armanbilge commented Mar 13, 2024

I'm guessing we will need an .index file per existing page since with just index.html at top level will only redirect the homepage I think?

Hmm. That would be the best way but annoying to set up.

Alternatively, I think GitHub lets you customize the 404 page. So we could redirect all 404s to the new site, although not to the specific page requested. Edit: well maybe with some JavaScript it could be possible, but not sure.

@jatcwang
Copy link

Ok I've tested the docs redirect (Created a redirect html file for every doobie doc page) so we should be sorted on that front.

However, I am thinking of doing another RC release with the current credentials (should hopefully be out in a few weeks). Will reach out once we're ready :) Thanks!

@jatcwang
Copy link

jatcwang commented Sep 5, 2024

Repo transfer is complete and docs redirect are working 👍 Thanks for your help!

Regarding publishing, I'm guessing I can remove github secrets like PGP_PASSPHRASE and publishing should just work by inheriting org secrets?

@samspills
Copy link
Contributor

samspills commented Sep 5, 2024

Regarding publishing, I'm guessing I can remove github secrets like PGP_PASSPHRASE and publishing should just work by inheriting org secrets?

@jatcwang Yup! Just remove all the repo secrets
Edit: actually, I'm not sure if you have permissions to access repo secrets now that it's a Typelevel repo. I can go ahead and remove them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
projects Requests to join or leave the project
Projects
None yet
Development

No branches or pull requests

4 participants