Skip to content

Conversation

@joshtrichards
Copy link
Member

@joshtrichards joshtrichards commented Sep 23, 2025

Improved entrypoint script clarity:

  • General code reformatting
  • Refactors to keep most lines <=90 characters
  • Updates existing comments for clarity/consistency/usefulness
  • Adds new, clarifying comments
  • Adds/enhances descriptions for all utility functions
  • Adds reminder language re: ash/dash script compatibility
  • Minor adjustments to some error/general output (cosmetic only)
  • Notes some future "TODO" (possible) items
  • Documents the current reasoning for deploying code onto persistent volume

No logic changes per se but:

  • Moves rsync base config/callilng into a dedicated function
  • Fixes non-POSIX variable compliance
  • Adjusts how the PHP Redis session config file is built for clarity purposes (content does not change)

Improved entrypoint script clarity:

- General code reformatting
- Refactors to keep most lines <=90 characters 
- Updates existing comments for clarity/consistency/usefulness
- Adds new, clarifying comments
- Adds/enhances descriptions for all utility functions
- Adds reminder language re: ash/dash script compatibility
- Minor adjustments to some error/general output
- Noted some future "TODO" (possible) items
- Fix non-POSIX variable compliance

No logic changes.

Signed-off-by: Josh <[email protected]>
Also: Implement rsync_wrapper for safer rsync usage and reformat rsync usage for greater readability.

Signed-off-by: Josh <[email protected]>
Refactor docker-entrypoint.sh to improve readability and organization while maintaining backwards compatibility.

Signed-off-by: Josh <[email protected]>
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