Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

/latest/run/{source}.zip URLs don't work for all sources #723

Open
arne-cl opened this issue Jun 18, 2019 · 2 comments
Open

/latest/run/{source}.zip URLs don't work for all sources #723

arne-cl opened this issue Jun 18, 2019 · 2 comments

Comments

@arne-cl
Copy link

arne-cl commented Jun 18, 2019

According to issue #706, the latest_run_processed_url URI template (http://results.openaddresses.io/latest/run/{source}.zip) should always
give me the latest version of that source file.

When testing sources from http://results.openaddresses.io/state.txt,
I found that a lot of them return a 404 error,
e.g. https://results.openaddresses.io/latest/run/ch/schwyz.zip .

(I stumbled upon this when trying to add custom sources to the pelias openaddresses importer pelias/openaddresses#425).

@migurski
Copy link
Member

In this case, the source is set to skip=true which means the latest version is unavailable intentionally. Are others that you’re finding similar?

Here’s the full history of ch/schwyz: http://results.openaddresses.io/sources/ch/schwyz

@arne-cl
Copy link
Author

arne-cl commented Jun 19, 2019

Hi @migurski,

out of 300 files I checked (Europe plus surrounding countries), 46 returned an error.

From my perspective, it would be great if /latest/run would point to the latest successful run instead of the latest run.

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

No branches or pull requests

2 participants