You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 13, 2021. It is now read-only.
Current implementation is to grep the changed files with pattern. Which is okay to return all cloud function to in a files.
There will be problem to apply this searching method to the patch files.
Scenario.
patch with the following
+ with _get_engine().begin() as conn:
+ trans = conn.begin()
+ conn.execute(sa.text('''SQL'''))
The patch file can contain no skygear.op declaration. But it modify the op function.
To achieve the goal, we will need to do a context analysis to see which function is got modify and see if that function is skygear.op or not. Cannot just grep the diff.
To make it happen, we need to parse the source code. We take a look at parser for python and Esprima for js