Skip to content

Conversation

@moseshll
Copy link
Collaborator

@moseshll moseshll commented Jul 2, 2025

  • Changes to DB credentials break a longstanding assumption that dev and prod DB passwords are the same.
  • CRMS::Config module can now understand YAML subkeys that are {production, training, development}.
  • TIDY commits can be ignored. There was some cruft adjacent to this ticket that screamed for removal.

Reviewer:

  • The profusion of files touched can be mostly laid at the feet of the last few TIDY commits.
  • I am mainly interested in the emerging shape of lib/CRMS/Auth.pm
    • The "singletonizing" effort should make it possible to decouple the 200-pound CRMS object from data models (CRMS.pm is like the $C that gets passed around everywhere in babel).

moseshll added 12 commits July 2, 2025 15:43
- Changes to DB credentials break a longstanding assumption that dev and prod DB passwords are the same.
- `CRMS::Config` module can now understand YAML subkeys that are {production, training, development}.
- I'd like to change over to `dotenv` or some other system but this is the least potentially disruptive.
… leverage config subkeys.

  - CRMS.pm no longer needs to explicitly choose dev host based on instance.
  - CRMS.pm no longer needs to explicitly choose training database name based on instance.
…re remnants of CRMS-US/CRMS-World separation.
@moseshll moseshll requested a review from mwarin July 3, 2025 17:34
@moseshll moseshll marked this pull request as ready for review July 3, 2025 17:38
Copy link

@mwarin mwarin left a comment

Choose a reason for hiding this comment

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

I see nothing wrong here. Accidentally made a couple of comments as single comments, but meant for them to be part of the review.

Regardless, APPROVE!

@moseshll moseshll merged commit 569a929 into main Jul 8, 2025
1 check passed
@moseshll moseshll deleted the ETT-400_credentials branch July 8, 2025 16:12
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.

3 participants