Skip to content
Permalink
Browse files

Item11267: Delete unneeded ImageGalleryPlugin

This plugin is not part of core, and was incorrectly included into the
distro repository.  It can be removed,  but the procedure is complex, so
moving it out of the way for now.  ImageGalleryPlugin should be
separately cloned. from https://github.com/foswiki/ImageGalleryPlugin

The command to completely remove it from the index is:

git filter-branch --index-filter 'git ls-files -- ImageGalleryPlugin |
xargs git update-index --remove' --tag-name-filter cat --prune-empty -f
-- --all;

Note that this will rewrite the commit hashes of all commits and will
break the HEAD pointer for anyone who has cloned the repository.  So
when we eventually want to get rid of it, the procedure will be:

0) Clone the repo as a backup
1) Run the filter-branch
2) git push --force all

Each developer must then:

3) git fetch   (NOT PULL)
4) for each local branch: git rebase --onto origin/master  master <local branch>
5) git checkout master
6) git pull --force

See
http://stackoverflow.com/questions/7561998/rebasing-everyone-onto-changed-git-history-after-filter-branch
  • Loading branch information...
gac410 committed Aug 21, 2014
1 parent 9bb9386 commit 52348c67c4f0239196d6dbd52ceb7c80801fce4b
Showing with 0 additions and 0 deletions.
  1. 0 {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/data/System/ImageGalleryPlugin.txt
  2. 0 {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/data/System/VarIMAGEGALLERY.txt
  3. 0 {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/data/System/VarNRIMAGES.txt
  4. 0 {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/lib/Foswiki/Plugins/ImageGalleryPlugin.pm
  5. 0 {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/lib/Foswiki/Plugins/ImageGalleryPlugin/Config.spec
  6. 0 {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/lib/Foswiki/Plugins/ImageGalleryPlugin/Core.pm
  7. 0 {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/lib/Foswiki/Plugins/ImageGalleryPlugin/DEPENDENCIES
  8. 0 {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/lib/Foswiki/Plugins/ImageGalleryPlugin/MANIFEST
  9. 0 {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/lib/Foswiki/Plugins/ImageGalleryPlugin/build.pl
  10. 0 {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/Makefile
  11. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/cascade.jpg
  12. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/control-end-gray.png
  13. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/control-end.png
  14. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/control-left-gray.png
  15. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/control-left.png
  16. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/control-right-gray.png
  17. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/control-right.png
  18. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/control-start-gray.png
  19. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/control-start.png
  20. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/cross.png
  21. 0 {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/style.uncompressed.css
  22. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/wave.jpg
  23. BIN {ImageGalleryPlugin → DEL_ImageGalleryPlugin}/pub/System/ImageGalleryPlugin/wintermountains.jpg

0 comments on commit 52348c6

Please sign in to comment.
You can’t perform that action at this time.