-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat!: rename directories, "-" → "_" (for django 3) #176
Conversation
If deployed on relevant sites, site pages will be missing template. All pages need template re-assigned through CMS admin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filenames do not matter.
The directories that matter are apps, and directories named identical to apps, like …/texascale_org
and …/texascale_org/static/texascale_org
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good except LCCF, where the subdir still has its hyphen in two files (see comments).
Not sure if the settings_custom need to be updated as well.
Otherwise, all good!
Approving.
Thanks, @taoteg. I updated all the I think what is next to do is test them all. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch on brainmap!
Some CMS projects rely on
I investigate alternatives. |
SolutionsFor any solution:
Then continue with any chosen solution. 👎 A. Edit Pages to Use New Templates
Untested. ✅ B. Add "Redirect" Templates
Tested on DemData. Footnotes |
[I moved this status update to the PR description.] |
These projects have been migrated to: https://github.com/TACC/Core-CMS-Custom/ Or, in the case of tup_cms, are in their own repo: https://github.com/TACC/tup-ui
I merged this so that CMS v3.12 can be released. All un-migrated sites (except TAPIS) are deployed with CMS v3.11. To avoid the problem and encourage migration, sites must not be deployed with CMS v3.12 unless migrated. I have stated such in the README. |
Status
These are each being tested during migration to https://github.com/TACC/Core-CMS-Custom.
I warn in README to not deploy sites via this repo using Core-CMS v3.12, and instead migrate.
Overview / Changes
Rename
…-cms
|org
to…_cms
|org
.Related
Testing & UI
See TACC/Core-CMS#626.
Notes
Without this PR, TACC/Core-CMS#625 build fails with:
This update will break all Jenkins builds until edited. Also, I'd like to test these changes before merge. But I am willing to just bite the bullet and merge, then test each as they need to be re-deployed or as we have time. Fixes can always go into sites as they need them, and blame this PR as the origin of the problem.