Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish errors as webfeed #4815

Open
ghost opened this issue Dec 27, 2020 · 2 comments
Open

publish errors as webfeed #4815

ghost opened this issue Dec 27, 2020 · 2 comments
Labels
enhancement Actionable - add an enhancement to the source code

Comments

@ghost
Copy link

ghost commented Dec 27, 2020

This issue is inspired by the #feed-nsi-github channel on the OSM-US Slack (slack.openstreetmap.us for those unfamiliar). I'm not sure how it works (RSS? Webhooks? Buzzword-of-the-month?) but it is very useful to see what issues are being updated with questions or new information. I desire the same for the errorlist that various of the npm run commands produce. Here's the comment I queried @bhousel on the Slack with:

would it be possible to have a feed like #feed-nsi-github but for the errors instead of the issue comments? I don't know how that would work but it would be nice to know which problems are newly-arisen and which have been kicking around awhile.

In particular I am interested in the build_wikidata.js errors, but I imagine putting all errors and warnings in the same feed if possible would be most fruitful.

edit:this time in the right repo

@1ec5
Copy link
Member

1ec5 commented Dec 27, 2020

The #feed-nsi-github channel works by setting up Slack’s RSS application to read the RSS feed produced by this repository. So the build script could produce the same output but in RSS format. That would be pretty straightforward in a static GitHub Pages setup, but I’m not sure how it would interact with the single-page application here.

@bhousel bhousel added the enhancement Actionable - add an enhancement to the source code label Dec 28, 2020
@bhousel
Copy link
Member

bhousel commented Sep 17, 2021

Update on this - I added some code to rework the warnings that we get from the npm run wikidata script, and I'm saving them to a warnings file here:
https://github.com/osmlab/name-suggestion-index/blob/main/dist/warnings.json

It's not perfect but we can change it. I'm open to the idea of making this an RSS somehow, but I don't know much about that, so I'd love some help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Actionable - add an enhancement to the source code
Projects
None yet
Development

No branches or pull requests

2 participants