Skip to content

DRAFT: Fix propshaft theme support#600

Closed
jcormier wants to merge 2 commits into
masterfrom
fix-propshaft-theme-handling
Closed

DRAFT: Fix propshaft theme support#600
jcormier wants to merge 2 commits into
masterfrom
fix-propshaft-theme-handling

Conversation

@jcormier

@jcormier jcormier commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Issue #591

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR targets Issue #591 by improving Redmine 6.x theme handling in the container runtime, aiming to ensure theme assets are available under the /assets/themes/... path by syncing themes into the install tree and triggering asset compilation.

Changes:

  • Only runs theme installation when the themes directory exists and is non-empty.
  • Syncs themes into ${REDMINE_INSTALL_DIR}/themes/ via rsync with ownership/permission adjustments.
  • Runs assets:precompile after themes are installed to generate theme assets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread assets/runtime/functions Outdated
Comment thread assets/runtime/functions

install_themes() {
if [[ -d ${REDMINE_THEMES_DIR} ]]; then
if [[ -d ${REDMINE_THEMES_DIR} && -n "$(ls -A ${REDMINE_THEMES_DIR})" ]]; then
Comment thread assets/runtime/functions
Comment on lines +1189 to +1191
# if themes are installed, we need to precompile assets
echo "Precompiling assets. Please be patient, this could take a while..."
execute_raketask assets:precompile
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@jcormier

Copy link
Copy Markdown
Collaborator Author

Updated and merged changes manually

@jcormier jcormier closed this Jul 10, 2026
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.

2 participants