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

Create a module dedicated to issue text body parsing #3166

Open
karlcow opened this issue Jan 22, 2020 · 1 comment
Open

Create a module dedicated to issue text body parsing #3166

karlcow opened this issue Jan 22, 2020 · 1 comment

Comments

@karlcow
Copy link
Contributor

@karlcow karlcow commented Jan 22, 2020

This module can be reused in webhooks, in issues, form, etc. And could even be used for normalizing data.

Basically we need to be able to parse the body of an issue to create a kind of issue object (dictionary, object, dataclass to be determined).

That would make the code clearer and less clutered here and there. And we could pass around an object when we need it.

This also makes it easier for DB export/import

@karlcow karlcow added this to To do in Webcompat Belt On via automation Jan 22, 2020
@karlcow

This comment has been minimized.

Copy link
Contributor Author

@karlcow karlcow commented Jan 22, 2020

Something to keep in mind, we need to make it versatile enough that it handles a couple of format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.