sclorg / mysql-container

MySQL container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
http://softwarecollections.org
Apache License 2.0
128 stars 200 forks source link

De-duplicate scripts #200

Closed hhorak closed 7 years ago

hhorak commented 7 years ago

We basically did this:

  git mv 5.7/root/ root-common
  git mv 5.7/test test
  git mv 5.7/examples/replica/ examples/
  rmdir 5.7/examples/
  rm -f  root-common/usr/share/container-scripts/mysql/README.md 
  git reset HEAD -- 5.7/root/usr/share/container-scripts/mysql/README.md
  git checkout 5.7/root/usr/share/container-scripts/mysql/README.md
  git rm -r 5.6/root
  git reset HEAD -- 5.6/root/usr/share/container-scripts/mysql/README.md
  git checkout 5.6/root/usr/share/container-scripts/mysql/README.md
  ln -s ../root-common 5.6/root-common
  ln -s ../root-common 5.7/root-common
  ln -s ../test 5.6/test
  ln -s ../test 5.7/test
  git add 5.6/test
  git add 5.7/test
  git add 5.6/root-common
  git add 5.7/root-common
hhorak commented 7 years ago

No change in functionality, just de-duplicating scripts, similar to mariadb containers, so I guess passed test is enough for the review.