Knowledge
When having trouble reproducing an issue, or testing a patch, start clean
I put this list together of things to try when one person in an issue is reporting results, but someone else is getting different results.
- git stash
- git checkout 8.x
- sudo rm -r sites
- git checkout sites
- git pull --rebase
The rm of sites, removes configuration files that might be left over from a previous install.
If things are really strange:
- sudo rm -r drupal
- git clone --recursive --branch 8.x http://git.drupal.org/project/drupal.git
Which is copy and pasted from http://drupal.org/project/drupal/git-instructions)
If I'm lucky and these work, then something like:
- drush am 432962
to get the most recent patch on an issue, checkout a new branch, and apply the patch.
(re) Installing
If I'm not testing an install screen, I use drush to install for me:
- drush -y si --account-pass=admin --db-url="mysql://root:root@localhost/drupal" --site-name="disable checker 432962"
If testing install, or just want to install by hand this is helpful to drop the tables before doing the install:
- drush -y sql-drop --db-url="mysql://root:root@localhost/drupal"
Browser cache
Then, if things are still strange, I clear my browser cache (or do a shift refresh/reload).







Kommentare
Would you do that instead of the git stash?