mapbox / mapbox/sandy

broken symlinks

Open
#2 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1
Forks
4
PR merge metrics
No merged PRs in 30d

Description

I'm unable to build or serve the jekyll site locally due to symlinks that point to absolute paths that are specific to @ian29's machine:

```
~/Development/sandy $ jekyll build
Configuration file: none
Source: /Users/john/Development/sandy
Destination: /Users/john/Development/sandy/_site
Generating... error: No such file or directory @ rb_sysopen - /Users/john/Development/sandy/tiles/tilemill/sandy/layers/al052012lin/al052012_lin.dbf. Use --trace to view backtrace
~/Development/sandy $ ll /Users/john/Development/sandy/tiles/tilemill/sandy/layers/al052012lin
total 32
drwxr-xr-x 6 john staff 204 Jan 27 13:50 .
drwxr-xr-x 12 john staff 408 Jan 27 13:50 ..
lrwxr-xr-x 1 john staff 71 Jan 27 13:50 al052012_lin.dbf -> /Users/ianvilleda/Downloads/al052012_best_track_latest/al052012_lin.dbf
lrwxr-xr-x 1 john staff 71 Jan 27 13:50 al052012_lin.prj -> /Users/ianvilleda/Downloads/al052012_best_track_latest/al052012_lin.prj
lrwxr-xr-x 1 john staff 71 Jan 27 13:50 al052012_lin.shp -> /Users/ianvilleda/Downloads/al052012_best_track_latest/al052012_lin.shp
lrwxr-xr-x 1 john staff 71 Jan 27 13:50 al052012_lin.shx -> /Users/ianvilleda/Downloads/al052012_best_track_latest/al052012_lin.shx
```

I suspect this is a problem in production too, because https://www.mapbox.com/sandy/ is a 404.

Do we need to keep this working?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running `jekyll build` and inspecting the symlinks under `tiles/tilemill/sandy/layers/al052012lin`, especially the links targeting `/Users/ianvilleda/Downloads/...`. Check whether the production site at `https://www.mapbox.com/sandy/` is affected. Done means the site can build and serve locally without machine-specific paths and the production URL no longer returns 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jekyll
Domain
build-system, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.