Skip to content

feat(#1949): Preparing for CHT 5.0, remove existing upgrades dir - #1953

Merged
mrjones-plip merged 48 commits into
mainfrom
1949-preparing-for-5x
Oct 29, 2025
Merged

mrjones-plip merged 48 commits into
mainfrom
1949-preparing-for-5x

Conversation

@mrjones-plip

@mrjones-plip mrjones-plip commented Aug 8, 2025 •

Copy link
Copy Markdown
Contributor

Description

This PR:

  • Adds a new Preparing for CHT 5.0 page under existing "migration guides"
  • moves existing Preparing for CHT 4.o page under existing "migration guides"
  • moves Feature Flag and Remote Collect Update up a level to be under "Quick Guides"
  • Updates all relevant links for moves above
  • adds aliases so link checker passes:
    Total URLs checked: 465
    Redirects (200): 4
    Other errors: 0
    404 Not Found: 0
  • each section in the Preparing for CHT 5.0 page has:
    • Title
    • subset of 4.x the change Applies
    • write up of change
    • background links
Screenshot of new Preparing for CHT 5.0 page and navigation changes image

closes #1949

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

@mrjones-plip
mrjones-plip marked this pull request as ready for review August 18, 2025 20:39
@mrjones-plip
mrjones-plip requested a review from jkuester August 18, 2025 20:39
@mrjones-plip

Copy link
Copy Markdown
Contributor Author

@jkuester - there's a couple TK values in there, but I wanted to get this out for an earlier review while we tidy up the other parts (mainly 1943 and 8157)

Co-authored-by: Andra Blaj <andra@medic.org>
@mrjones-plip
mrjones-plip requested a review from jkuester August 22, 2025 20:14
@andrablaj

Copy link
Copy Markdown
Member

@mrjones-plip I was looking yesterday into the newer versions of Hextra (draft PR #1978) and I really love the banner feature to announce 5.0! We can leverage it if we merge the Hextra upgrade soon. ✨

@mrjones-plip

Copy link
Copy Markdown
Contributor Author

oh - fun! I created a local, dummy test branch off your branch, did a little of this in the hugo.toml 👍

[params.banner]
  key = "announcement"
  message = "🎉 CHT 5.0 [Released](#foo) - reduce server disk space by up to 30%!"

And it looks great!

image

@mrjones-plip

Copy link
Copy Markdown
Contributor Author

@jkuester or @dianabarsan - do we know the least expensive upgrade to account for our ecmaversion linting? That is, if I'm on 4.4 and version 4.5 has zero ddoc changes, and thus no re-indexing, I want to go that version first and then version 5.x. The other way is go to 4.22 do a massive re-index and then go to 5.x and do another massive re-index.

I also may be miss-understanding the way to upgrade - so feel free to set me straight!

@jkuester

jkuester commented Sep 3, 2025

Copy link
Copy Markdown
Contributor

@jkuester or @dianabarsan - do we know the least expensive upgrade to account for our medic/cht-core#9202? That is, if I'm on 4.4 and version 4.5 has zero ddoc changes, and thus no re-indexing, I want to go that version first and then version 5.x. The other way is go to 4.22 do a massive re-index and then go to 5.x and do another massive re-index.

Yeah, I think you are on the right track here. (Though, I double checked and I did not see anything about a Couch upgrade in the 4.5.0 release notes. I think the minimum version for an update to 5.0.0 would be 4.6.0 when we upgraded to Couch 3.3.3.).

Either way, it does not look like 4.5.0 or 4.6.0 have any ddoc changes. So, the easiest upgrade from a lower version would be to go to 4.6.0 and then upgrade to 5.0.0.

@mrjones-plip

Copy link
Copy Markdown
Contributor Author

Awesome - thanks for confirming @jkuester !

Co-authored-by: Joshua Kuestersteffen <jkuester@kuester7.com>
@mrjones-plip

Copy link
Copy Markdown
Contributor Author

Really appreciate the detailed feedback @jkuester ! I'll dive into this in the coming day or three

@mrjones-plip

mrjones-plip commented Oct 29, 2025 •

Copy link
Copy Markdown
Contributor Author

I think this is good to go! @andrablaj if you want to give a read through for grammar and cohesiveness, that'd be rad, but I suspect that @dianabarsan's final technical sighn off is sufficient as so many folks have looked at this already.

thanks all!

@andrablaj andrablaj left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So excited about this work! ❤️ The migration guide is extra clear!

I found a few small typos and a building/guides folder that should not be there. Otherwise, looks good!

suggestion: Should we update the cards on the Migration homepage to include the missing sections? Unclear why we added cards only for half of them.

Comment thread content/en/building/guides/_index.md Resolved

@dianabarsan dianabarsan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! I added some minor comments. Everything is super clear and supportive for anyone who wants to upgrade.

mrjones-plip and others added 20 commits October 29, 2025 10:20
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
Co-authored-by: Andra Blaj <andra@medic.org>
@mrjones-plip

Copy link
Copy Markdown
Contributor Author

@dianabarsan - I'm assuming you're OK with this PR as is (you reviewed and not approved or requested changes)

@andrablaj - you requested changes so over to you to approve!

@andrablaj andrablaj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Go for it!

@mrjones-plip
mrjones-plip merged commit 3ce37ea into main Oct 29, 2025
2 checks passed
@mrjones-plip
mrjones-plip deleted the 1949-preparing-for-5x branch October 29, 2025 20:44
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.

Add "Preparing for CHT 5.0" document

6 participants