-
Notifications
You must be signed in to change notification settings - Fork 3
Architecture of Issue Importer 2.0 #16
Comments
To reduce the complexity, we could impose an input format. In this case, no conversion at all, just checking the validity. And it also means that we do not need adapters at all. |
Looks good to me - although one light "adapter" script and one light "importer" script would also be usable? So one script which reads Bugzilla JSON data and outputs JSON data for webcompat, and one that just reads a JSON file and pushes data into the webcompat DB? The main question is where to add label logic - some of the labels depend on source data and maybe some can be deduced with some heuristics in the importer? |
That's what we have right now, no? So we're done.
OK, now we're half done. :p I think what you have in the first comment looks good to me if you want to take that approach. And if you think it's too complex we make a (temporary?) judgement call that you can only import a single issue at a time. Which is probably safer in terms of accidentally importing a bunch of unwanted things. Whichever approach you decide in the end, let's develop it in a branch so we can change our minds in the future. :) |
hehe. Nice try. We only handle one issue and not multiple issues. ^_~ But yes much simpler.
This is already the case. In some fashion, Give a list of bug numbers or generate manually one bug and then save it as JSON.
This is the case already for the bugzilla adapter branch. So yes a new branch would be necessary. |
@miketaylr So today I was working on the code and there were two many issues which were popping up with our discussions of the last few days. So before refactoring wildly and destroying everything that mike did. I want to know if it makes sense. ;)
Given a list of files with a JSON format containing each of them an issue,
A user may pipe the list of files to the issue importer to post them on Github.
(When I say
webcompat
below I may meant github in the backend)webcompat
, save them locally in a cache.webcompat
JSON with the relevant adapter [origin
]The text was updated successfully, but these errors were encountered: