Skip to content
This repository has been archived by the owner on Jul 21, 2019. It is now read-only.

Add check for image files (organizer, speaker and sponsor) - Fix #573 #668

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

somatorio
Copy link

@somatorio somatorio commented Oct 25, 2018

Please notice that this pr checks will likely fail, as my testing building was giving me A LOT of "image file missing" as you can see on the log below (you can also see that the return code wasn't 0)... but the building was working ok, just replacing the images with the same massage from the error when the image couldn't be found

Building sites … ERROR 2018/10/25 14:55:42 static/events/2018-cuba/organizers/enrique-carbonell.jpg not found
ERROR 2018/10/25 14:55:42 static/events/2018-cuba/organizers/manuel-oliver.jpg not found
ERROR 2018/10/25 14:55:42 static/events/2018-cuba/organizers/rudy-gevaert.jpg not found
ERROR 2018/10/25 14:55:42 static/events/2018-cuba/organizers/yadier-perdomo.jpg not found
ERROR 2018/10/25 14:55:50 static/events/2019-zurich/speakers/basil-brunner.jpg not found
ERROR 2018/10/25 14:55:50 static/events/2019-zurich/speakers/bernd-erk.jpg not found
ERROR 2018/10/25 14:55:50 static/events/2019-zurich/speakers/brian-christner.jpg not found
ERROR 2018/10/25 14:55:51 static/events/2019-zurich/speakers/christian-hirsig.jpg not found
ERROR 2018/10/25 14:55:51 static/events/2017-brasilia/organizers/gutocarvalho.jpg not found
ERROR 2018/10/25 14:55:51 static/events/2017-brasilia/organizers/tacianotres.jpg not found
ERROR 2018/10/25 14:55:51 static/events/2017-brasilia/organizers/laurosilveira.jpg not found
ERROR 2018/10/25 14:55:51 static/events/2017-brasilia/organizers/adrianovieira.jpg not found
ERROR 2018/10/25 14:55:52 static/events/2018-fortaleza/organizers/camila-mamede.jpeg not found
ERROR 2018/10/25 14:55:55 static/events/2019-zurich/speakers/franziska-buehler.jpg not found
ERROR 2018/10/25 14:55:55 static/events/2019-zurich/speakers/georgiana-gligor.jpg not found
ERROR 2018/10/25 14:55:55 static/events/2019-zurich/speakers/heinrich-hartmann.jpg not found
ERROR 2018/10/25 14:55:57 static/events/2019-zurich/speakers/kris-buytaert.jpg not found
ERROR 2018/10/25 14:55:59 static/events/2019-zurich/speakers/manuel-hutter.jpg not found
ERROR 2018/10/25 14:55:59 static/events/2019-zurich/speakers/marcin-niewiadomski.jpg not found
ERROR 2018/10/25 14:55:59 static/events/2019-zurich/speakers/maris-prabhakaran.jpg not found
ERROR 2018/10/25 14:55:59 static/events/2019-zurich/speakers/mathis-kretz.jpg not found
ERROR 2018/10/25 14:56:01 static/events/2019-zurich/speakers/paige-bernier.jpg not found
ERROR 2018/10/25 14:56:15 static/events/2019-zurich/speakers/rachael-byrne.jpg not found
ERROR 2018/10/25 14:56:15 static/events/2019-zurich/speakers/ramon-medrano-llamas.jpg not found
ERROR 2018/10/25 14:56:16 static/events/2019-zurich/speakers/serhat-can.jpg not found
ERROR 2018/10/25 14:56:17 static/events/2017-detroit/speakers/amin-yazdani.jpg not found
ERROR 2018/10/25 14:56:17 static/events/2017-detroit/speakers/barbara-bouldin.jpg not found
ERROR 2018/10/25 14:56:17 static/events/2017-detroit/speakers/chris-short.jpg not found
ERROR 2018/10/25 14:56:17 static/events/2017-detroit/speakers/david-laulusa.jpg not found
ERROR 2018/10/25 14:56:17 static/events/2017-detroit/speakers/don-ebben.jpg not found
ERROR 2018/10/25 14:56:17 static/events/2017-detroit/speakers/gene-kim.jpg not found
ERROR 2018/10/25 14:56:17 static/events/2017-detroit/speakers/john-willis.jpg not found
ERROR 2018/10/25 14:56:17 static/events/2017-detroit/speakers/julian-dunn.jpg not found
ERROR 2018/10/25 14:56:17 static/events/2017-edinburgh/speakers/paul-gillespie.jpg not found
ERROR 2018/10/25 14:56:17 static/events/2017-detroit/speakers/rebecca-fitzhugh.jpg not found
ERROR 2018/10/25 14:56:17 static/events/2017-detroit/speakers/sam-boyer.jpg not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/allan-ebdrup.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/anders-bruvik.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/anders-truelsen.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/aubrey-stearn.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/boyan.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/eduardo-piairo.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/giulio-vian.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/gloria-hornero.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/greg-wunderle.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/jeppe-andersen.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/lars-bendix.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/lars-kruse.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/laszlo-fogas.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/mandi-walls.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/niels-harre.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/thien-an-mac.png not found
ERROR 2018/10/25 14:56:18 static/events/2018-copenhagen/speakers/yves-hwang.png not found
ERROR 2018/10/25 14:56:18 static/events/2019-zurich/speakers/tanya-janca.jpg not found
ERROR 2018/10/25 14:56:18 static/events/2019-zurich/speakers/torben-hoeft.jpg not found
ERROR 2018/10/25 14:56:18 static/events/2019-zurich/speakers/nicole-becher.jpg not found
ERROR 2018/10/25 14:56:18 static/events/2019-zurich/speakers/philipp-krenn.jpg not found
ERROR 2018/10/25 14:56:30 static/events/2018-cuba/speakers/enrique-carbonell.jpg not found
ERROR 2018/10/25 14:56:41 static/events/2018-cuba/speakers/rudy-gevaert.jpg not found
ERROR 2018/10/25 14:56:44 static/events/2018-cuba/speakers/yadier-perdomo.jpg not found

                   |  EN   
+------------------+------+
  Pages            | 3852  
  Paginator pages  |    2  
  Non-page files   |   67  
  Static files     | 6271  
  Processed images |    0  
  Aliases          |  347  
  Sitemaps         |    1  
  Cleaned          |    0  

Total in 160807 ms
/src/devopsdays-theme/exampleSite # echo $?
255
/src/devopsdays-theme/exampleSite #

This change is Reviewable

@somatorio
Copy link
Author

I noticed that some "missing" files were actually at "content/" dir, so i added a check at this directory

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants