junethack / Junethack

Junethack inter-server nethack tournament
Other
21 stars 9 forks source link

Webmocks appears to be spaghetti? #31

Open cheryl opened 11 years ago

cheryl commented 11 years ago

Webmocks I assume was originally some kind of drafts communication folder. It seems to have grown into far more than that, having images linked directly into there as well as much (presumed) clutter from previous years.

bhaak commented 11 years ago

I think webmocks was at the beginning a playground for static htmls to have something for design decisions.

We made a mistake in symlinking those files we actually used, so it's now harder to see in Git what were design proposals and what was actual changes to the used design.

A shell oneliner shows which symlinks point to webmocks find -type l | xargs ls -ld |grep webmocks

public/apple-touch-icon.png -> ../webmocks/graphics/v2/iconized.png public/banner_at2.png -> ../webmocks/graphics/v2/without_text.png public/blacktransparent.png -> ../webmocks/alt_design2/blacktransparent.png public/divider.png -> ../webmocks/alt_design2/divider.png public/favicon.ico -> ../webmocks/alt_design2/favicon.ico public/menu-arrow.png -> ../webmocks/alt_design2/menu-arrow.png public/scripts.js -> ../webmocks/alt_design2/scripts.js public/vivid_divider.png -> ../webmocks/graphics/v2/smallerized.png public/vivid_divider2.png -> ../webmocks/alt_design2/vivid2.png

Those symlinks could be deleted and the pngs copied into the public directory.

For that matter we could move the icons directory into public/ as well.

cheryl commented 11 years ago

That sounds good.

Once all the symlinks to /webmocks have been moved to /public, which folders should be deleted? It might still be nice to keep a record of past logos, designs, etc - just perhaps the main versions rather than every single slightly different spacing (etc), and not multiple copies.