Updating code from git in openemr flex image


(Kyle Nave) #1

After updating my repository or the branch name in the docker-compose.yaml, I’m not seeing the updated code represented in the OpenEMR docker runtime.

OpenEMR Version
I’m using OpenEMR version ‘rel-502’ … I was trying to pull in the latest to my forked repository because I know there is a bug fix in there I want.

Browser:
I’m using primarily Chrome.

Operating System
I’m using Ubuntu 18.04

I can see the “clone” output in docker-compose up and there do not appear to be any errors… also on the host environment (not the docker container) it appears to check out the latest files (side note - I’m not sure why they are showing up on my host…seems like they should just be going into the container. Maybe its a symptom of the underlying problem).

Thanks for any insight.


(Stephen Waite) #2

hi @KyleNave, just to reiterate from openemr/CONTRIBUTING.md at master · openemr/openemr · GitHub you have to update docker-compose.yml to have both your repo and branch

also make sure you have rel-502 as a branch in your local

openemr$ git checkout rel-502
Switched to branch 'rel-502'
openemr$ git fetch upstream rel-502
From git://github.com/openemr/openemr
 * branch                rel-502    -> FETCH_HEAD
openemr$ git pull upstream rel-502
From git://github.com/openemr/openemr
 * branch                rel-502    -> FETCH_HEAD
Updating 728f4bdd4..0bdb82c8a
Fast-forward
 interface/patient_file/merge_patients.php | 2 +-
 library/options.inc.php                   | 7 ++++++-
 portal/report/pat_ledger.php              | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)