HOWTO update the WP files from container-wp-volumes
The theme and our supported plugins are located in tow places:
- historically, in container-wp-volumes. This repository is used by jahiap, the historical repository of the project. That is the place where Aline pushes her updates
- in this repository/data. This is the source of the code for the current phase of the project
As for now, the current repository must be manually updated.
Pre-requisites
You have cloned the two repositories with your favorite method, i.e SSH or HTTPS.
We will make the assumptions that you have your repos in the following paths, in the master
branch:
container-wp-volumes (master) $
jahia2wp (master) $
Procedure
-
Update your repos (merge if necessary)
container-wp-volumes (master) $ git pull jahia2wp (master) $ git pull jahia2wp (master) $ git checkout fix-update-wp-content-from-container-wp-volumes jahia2wp (fix-update-wp-content-from-container-wp-volumes)$ git pull jahia2wp (fix-update-wp-content-from-container-wp-volumes)$ git merge origin master
-
RSync
jahia2wp (fix-...-wp-volumes) $ rsync -av ../container-wp-volumes/wp-content/ data/wp/wp-content/
-
Update changelog if necessary
-
Review, commit and push
jahia2wp (fix-...-wp-volumes) $ git status jahia2wp (fix-...-wp-volumes) $ git commit -am "updated wp-content with content of last sprint" jahia2wp (fix-...-wp-volumes) $ git push
-
Create PR on github. You probably can use your CHANGELOG description as the description of your PR