diff --git a/data/migration/argparse__click__yubico@yubioath-desktop__9d601b4f.yaml b/data/migration/argparse__click__yubico@yubioath-desktop__9d601b4f.yaml index b2a9d0c..19bc268 100644 --- a/data/migration/argparse__click__yubico@yubioath-desktop__9d601b4f.yaml +++ b/data/migration/argparse__click__yubico@yubioath-desktop__9d601b4f.yaml @@ -154,7 +154,7 @@ files: properties: [argument addition, argument deletion, element name change, parameter addition to decorated function] source_apis: [add_argument] target_apis: [option] - - line: "62-64:73-74" + - line: "62-64:77-78" cardinality: one-to-one source_program_elements: [function call] target_program_elements: [decorator] diff --git a/data/migration/bunch__munch__fedora-infra@python-fedora__aca2a20a.yaml b/data/migration/bunch__munch__fedora-infra@python-fedora__aca2a20a.yaml index 76b26c8..77521cc 100644 --- a/data/migration/bunch__munch__fedora-infra@python-fedora__aca2a20a.yaml +++ b/data/migration/bunch__munch__fedora-infra@python-fedora__aca2a20a.yaml @@ -60,13 +60,6 @@ files: target_apis: [Munch] - path: "fedora/tg2/utils.py" code_changes: - - line: "160:160" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [bunch.Bunch] - target_apis: [munch.Munch] - line: "39:39" cardinality: not applicable source_program_elements: [import] diff --git a/data/migration/celery__rq__sapfir0@premier-eye__a7375ccc.yaml b/data/migration/celery__rq__sapfir0@premier-eye__a7375ccc.yaml deleted file mode 100644 index 4eb5b6a..0000000 --- a/data/migration/celery__rq__sapfir0@premier-eye__a7375ccc.yaml +++ /dev/null @@ -1,16 +0,0 @@ -repo: sapfir0/premier-eye -commit: a7375ccc40885f04faf4a05852591e6de4ba676d -source: celery -target: rq -commit_url: https://github.com/sapfir0/premier-eye/commit/a7375ccc -domain: Multitasking/multiprocessing -files: -- path: "pyfront/app/__init__.py" - code_changes: - - line: "2:3" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [celery.Celery] - target_apis: [rq] diff --git a/data/migration/cheetah__jinja2__shingetsu@saku__d1ad50a9.yaml b/data/migration/cheetah__jinja2__shingetsu@saku__d1ad50a9.yaml deleted file mode 100644 index 0b0b33e..0000000 --- a/data/migration/cheetah__jinja2__shingetsu@saku__d1ad50a9.yaml +++ /dev/null @@ -1,23 +0,0 @@ -repo: shingetsu/saku -commit: d1ad50a9baedf58b37fd8527c09d9b0668d59013 -source: cheetah -target: jinja2 -commit_url: https://github.com/shingetsu/saku/commit/d1ad50a9 -domain: Web Framework -files: -- path: "shingetsu/template.py" - code_changes: - - line: "34:32" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [Cheetah.Template] - target_apis: [jinja2] - - line: "72:67" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [function call] - properties: [argument transformation, element name change] - source_apis: [compile] - target_apis: [get_template] diff --git a/data/migration/ethereum__ethereum-utils__omisego@plasma-contracts__fc4ac19f.yaml b/data/migration/ethereum__ethereum-utils__omisego@plasma-contracts__fc4ac19f.yaml deleted file mode 100644 index ad3a1bd..0000000 --- a/data/migration/ethereum__ethereum-utils__omisego@plasma-contracts__fc4ac19f.yaml +++ /dev/null @@ -1,212 +0,0 @@ -repo: omisego/plasma-contracts -commit: fc4ac19f5d4f0d9f26125cd8042908a0bc46f4f0 -source: ethereum -target: ethereum-utils -commit_url: https://github.com/omisego/plasma-contracts/commit/fc4ac19f -domain: Crypto -files: -- path: "plasma_core/constants.py" - code_changes: - - line: "1:" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [] - properties: [] - source_apis: [ethereum.utils] - target_apis: [] -- path: "plasma_core/utils/merkle/fixed_merkle.py" - code_changes: - - line: "1:3" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.utils.sha3] - target_apis: [eth_utils.keccak] -- path: "plasma_core/utils/signatures.py" - code_changes: - - line: "1:1" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.utils] - target_apis: [eth_utils] -- path: "plasma_core/utils/utils.py" - code_changes: - - line: "1:" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [] - properties: [] - source_apis: [ethereum.utils] - target_apis: [] - - line: ":1" - cardinality: not applicable - source_program_elements: [] - target_program_elements: [import] - properties: [] - source_apis: [] - target_apis: [eth_utils.decode_hex] -- path: "tests/conftest.py" - code_changes: - - line: "3:3" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.utils] - target_apis: [eth_utils] -- path: "tests/contracts/priority_queue/test_priority_queue.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/rlp/test_plasma_core.py" - code_changes: - - line: "3:3" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_challenge_in_flight_exit_input_spent.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_challenge_in_flight_exit_not_canonical.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_challenge_in_flight_exit_output_spent.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_challenge_standard_exit.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_deposit.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_fee_exit.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_init.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_piggyback_in_flight_exit.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_process_exits.py" - code_changes: - - line: "4:4" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_respond_to_non_canonical_challenge.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_start_in_flight_exit.py" - code_changes: - - line: "3:3" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_start_standard_exit.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_submit_block.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/contracts/root_chain/test_tokens.py" - code_changes: - - line: "2:2" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.tools.tester.TransactionFailed] - target_apis: [eth_tester.exceptions.TransactionFailed] -- path: "tests/utils/test_fixed_merkle.py" - code_changes: - - line: "3:3" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ethereum.utils.sha3] - target_apis: [eth_utils.keccak] diff --git a/data/migration/flask-restplus__flask-restx__apryor6@flaskerize__59d83193.yaml b/data/migration/flask-restplus__flask-restx__apryor6@flaskerize__59d83193.yaml index 5e4244f..896000b 100644 --- a/data/migration/flask-restplus__flask-restx__apryor6@flaskerize__59d83193.yaml +++ b/data/migration/flask-restplus__flask-restx__apryor6@flaskerize__59d83193.yaml @@ -5,15 +5,6 @@ target: flask-restx commit_url: https://github.com/apryor6/flaskerize/commit/59d83193 domain: Development framework/extension files: -- path: "flaskerize/generate.py" - code_changes: - - line: "152:152" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [flask_restplus.Namespace, flask_restplus.Resource] - target_apis: [flask_restx.Namespace, flask_restx.Resource] - path: "flaskerize/schematics/entity/files/{{ name }}.template/controller.py.template" code_changes: - line: "1:1" diff --git a/data/migration/flask__tornado__krischer@instaseis__13c26a6d.yaml b/data/migration/flask__tornado__krischer@instaseis__13c26a6d.yaml deleted file mode 100644 index c4fb8e9..0000000 --- a/data/migration/flask__tornado__krischer@instaseis__13c26a6d.yaml +++ /dev/null @@ -1,16 +0,0 @@ -repo: krischer/instaseis -commit: 13c26a6d59942807a3bf4607c29ba391511d8af6 -source: flask -target: tornado -commit_url: https://github.com/krischer/instaseis/commit/13c26a6d -domain: Web Framework -files: -- path: "instaseis/server/app.py" - code_changes: - - line: "13-15:16-17" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [flask, flask.Flask, flask.make_response, flask.ext.restful.reqparse] - target_apis: [tornado.ioloop, tornado.web] diff --git a/data/migration/httplib2__requests__ankitects@anki__f6245cdf.yaml b/data/migration/httplib2__requests__ankitects@anki__f6245cdf.yaml deleted file mode 100644 index 6c3d39f..0000000 --- a/data/migration/httplib2__requests__ankitects@anki__f6245cdf.yaml +++ /dev/null @@ -1,146 +0,0 @@ -repo: ankitects/anki -commit: f6245cdfd1e81fecb581a17d3ee314ed0d72698d -source: httplib2 -target: requests -commit_url: https://github.com/ankitects/anki/commit/f6245cdf -domain: HTTP Clients -files: -- path: "anki/sync.py" - code_changes: - - line: "12:8" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [httplib2] - target_apis: [requests] - - line: "25:" - cardinality: one-to-zero - source_program_elements: [function call] - target_program_elements: [] - properties: [] - source_apis: [RETRIES] - target_apis: [] - - line: "29:" - cardinality: one-to-zero - source_program_elements: [function reference] - target_program_elements: [] - properties: [] - source_apis: [proxy_info_from_environment] - target_apis: [] - - line: "30:" - cardinality: one-to-zero - source_program_elements: [function reference] - target_program_elements: [] - properties: [] - source_apis: [proxy_info_from_url] - target_apis: [] - - line: "33:" - cardinality: one-to-zero - source_program_elements: [function reference] - target_program_elements: [] - properties: [] - source_apis: [from_environment] - target_apis: [] - - line: "34:" - cardinality: one-to-zero - source_program_elements: [function reference] - target_program_elements: [] - properties: [] - source_apis: [from_url] - target_apis: [] - - line: "51-54:" - cardinality: one-to-zero - source_program_elements: [function call] - target_program_elements: [] - properties: [] - source_apis: [Http] - target_apis: [] - - line: ":463" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [function call] - properties: [] - source_apis: [] - target_apis: [Session] - - line: ":467" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [function call] - properties: [] - source_apis: [] - target_apis: [post] - - line: ":470" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [function call] - properties: [] - source_apis: [] - target_apis: [get] -- path: "aqt/sync.py" - code_changes: - - line: "429:" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [] - properties: [] - source_apis: [http.client, httplib2] - target_apis: [] - - line: "470-471:" - cardinality: one-to-zero - source_program_elements: [exception] - target_program_elements: [] - properties: [] - source_apis: [ServerNotFoundError] - target_apis: [] - - line: "472:" - cardinality: one-to-zero - source_program_elements: [exception] - target_program_elements: [] - properties: [] - source_apis: [ssl_SSLError] - target_apis: [] - - line: "503:" - cardinality: one-to-zero - source_program_elements: [function call] - target_program_elements: [] - properties: [] - source_apis: [Response] - target_apis: [] - - line: "505:" - cardinality: one-to-zero - source_program_elements: [function call] - target_program_elements: [] - properties: [] - source_apis: [_decompressContent] - target_apis: [] -- path: "aqt/update.py" - code_changes: - - line: ":40" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [function call] - properties: [] - source_apis: [] - target_apis: [post] - - line: ":41" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [function call] - properties: [] - source_apis: [] - target_apis: [raise_for_status] - - line: ":42" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [function call] - properties: [] - source_apis: [] - target_apis: [json] - - line: ":6" - cardinality: not applicable - source_program_elements: [] - target_program_elements: [import] - properties: [] - source_apis: [] - target_apis: [requests] diff --git a/data/migration/httplib2__requests__hasgeek@flask-lastuser__6114ad5c.yaml b/data/migration/httplib2__requests__hasgeek@flask-lastuser__6114ad5c.yaml index 6f8b01d..7948e1c 100644 --- a/data/migration/httplib2__requests__hasgeek@flask-lastuser__6114ad5c.yaml +++ b/data/migration/httplib2__requests__hasgeek@flask-lastuser__6114ad5c.yaml @@ -21,7 +21,7 @@ files: properties: [] source_apis: [Http] target_apis: [] - - line: "273-283:304-309" + - line: "273-283:304-310" cardinality: one-to-many source_program_elements: [function call] target_program_elements: [function call, attribute] diff --git a/data/migration/ipaddr__py2-ipaddress__evgeni@bley__dcc42853.yaml b/data/migration/ipaddr__ipaddress__evgeni@bley__dcc42853.yaml similarity index 99% rename from data/migration/ipaddr__py2-ipaddress__evgeni@bley__dcc42853.yaml rename to data/migration/ipaddr__ipaddress__evgeni@bley__dcc42853.yaml index b421971..3f48629 100644 --- a/data/migration/ipaddr__py2-ipaddress__evgeni@bley__dcc42853.yaml +++ b/data/migration/ipaddr__ipaddress__evgeni@bley__dcc42853.yaml @@ -1,7 +1,7 @@ repo: evgeni/bley commit: dcc428536d19b0f43604d4052ecaadabadef5e64 source: ipaddr -target: py2-ipaddress +target: ipaddress commit_url: https://github.com/evgeni/bley/commit/dcc42853 domain: HTTP Clients files: diff --git a/data/migration/ipaddr__py2-ipaddress__magic-wormhole@magic-wormhole__5b23669c.yaml b/data/migration/ipaddr__ipaddress__magic-wormhole@magic-wormhole__5b23669c.yaml similarity index 96% rename from data/migration/ipaddr__py2-ipaddress__magic-wormhole@magic-wormhole__5b23669c.yaml rename to data/migration/ipaddr__ipaddress__magic-wormhole@magic-wormhole__5b23669c.yaml index 300290f..7f27ff2 100644 --- a/data/migration/ipaddr__py2-ipaddress__magic-wormhole@magic-wormhole__5b23669c.yaml +++ b/data/migration/ipaddr__ipaddress__magic-wormhole@magic-wormhole__5b23669c.yaml @@ -1,7 +1,7 @@ repo: magic-wormhole/magic-wormhole commit: 5b23669cf3fec46471bbc30620651ffc188c578c source: ipaddr -target: py2-ipaddress +target: ipaddress commit_url: https://github.com/magic-wormhole/magic-wormhole/commit/5b23669c domain: HTTP Clients files: diff --git a/data/migration/ipaddr__py2-ipaddress__meejah@txtorcon__c8fdba0a.yaml b/data/migration/ipaddr__ipaddress__meejah@txtorcon__c8fdba0a.yaml similarity index 96% rename from data/migration/ipaddr__py2-ipaddress__meejah@txtorcon__c8fdba0a.yaml rename to data/migration/ipaddr__ipaddress__meejah@txtorcon__c8fdba0a.yaml index 7250562..93467ae 100644 --- a/data/migration/ipaddr__py2-ipaddress__meejah@txtorcon__c8fdba0a.yaml +++ b/data/migration/ipaddr__ipaddress__meejah@txtorcon__c8fdba0a.yaml @@ -1,7 +1,7 @@ repo: meejah/txtorcon commit: c8fdba0a3494a41ceb499a3473956faf48034a0c source: ipaddr -target: py2-ipaddress +target: ipaddress commit_url: https://github.com/meejah/txtorcon/commit/c8fdba0a domain: HTTP Clients files: diff --git a/data/migration/ipaddr__py2-ipaddress__redhat-cip@hardware__a429c38c.yaml b/data/migration/ipaddr__ipaddress__redhat-cip@hardware__a429c38c.yaml similarity index 97% rename from data/migration/ipaddr__py2-ipaddress__redhat-cip@hardware__a429c38c.yaml rename to data/migration/ipaddr__ipaddress__redhat-cip@hardware__a429c38c.yaml index e1a9512..23df2ad 100644 --- a/data/migration/ipaddr__py2-ipaddress__redhat-cip@hardware__a429c38c.yaml +++ b/data/migration/ipaddr__ipaddress__redhat-cip@hardware__a429c38c.yaml @@ -1,7 +1,7 @@ repo: redhat-cip/hardware commit: a429c38cf6e6630f6bc1d1793f1aa2a75b21cc03 source: ipaddr -target: py2-ipaddress +target: ipaddress commit_url: https://github.com/redhat-cip/hardware/commit/a429c38c domain: HTTP Clients files: diff --git a/data/migration/ipaddr__py2-ipaddress__stackstorm@st2__4022aea9.yaml b/data/migration/ipaddr__ipaddress__stackstorm@st2__4022aea9.yaml similarity index 70% rename from data/migration/ipaddr__py2-ipaddress__stackstorm@st2__4022aea9.yaml rename to data/migration/ipaddr__ipaddress__stackstorm@st2__4022aea9.yaml index ef6c300..f0f6931 100644 --- a/data/migration/ipaddr__py2-ipaddress__stackstorm@st2__4022aea9.yaml +++ b/data/migration/ipaddr__ipaddress__stackstorm@st2__4022aea9.yaml @@ -1,7 +1,7 @@ repo: stackstorm/st2 commit: 4022aea911726ab98e376860cfba75987e4b3df4 source: ipaddr -target: py2-ipaddress +target: ipaddress commit_url: https://github.com/stackstorm/st2/commit/4022aea9 domain: HTTP Clients files: @@ -14,7 +14,14 @@ files: properties: [] source_apis: [ipaddr] target_apis: [ipaddress] - - line: "43,59:43,59" + - line: "43:43" + cardinality: one-to-one + source_program_elements: [function call] + target_program_elements: [function call] + properties: [element name change] + source_apis: [IPAddress] + target_apis: [ip_address] + - line: "59:59" cardinality: one-to-one source_program_elements: [function call] target_program_elements: [function call] diff --git a/data/migration/ipaddr__netaddr__openstack@fuel-devops__5d0df078.yaml b/data/migration/ipaddr__netaddr__openstack@fuel-devops__5d0df078.yaml index bbeae61..8f44e8b 100644 --- a/data/migration/ipaddr__netaddr__openstack@fuel-devops__5d0df078.yaml +++ b/data/migration/ipaddr__netaddr__openstack@fuel-devops__5d0df078.yaml @@ -19,8 +19,8 @@ files: source_program_elements: [function call] target_program_elements: [function call] properties: [] - source_apis: [IPNetwork] - target_apis: [IPNetwork] + source_apis: [IPAddress] + target_apis: [IPAddress] - line: "24:25" cardinality: not applicable source_program_elements: [import] diff --git a/data/migration/ipaddr__py2-ipaddress__rvojcik@rtapi__2c25c053.yaml b/data/migration/ipaddr__py2-ipaddress__rvojcik@rtapi__2c25c053.yaml deleted file mode 100644 index 7b0e50f..0000000 --- a/data/migration/ipaddr__py2-ipaddress__rvojcik@rtapi__2c25c053.yaml +++ /dev/null @@ -1,23 +0,0 @@ -repo: rvojcik/rtapi -commit: 2c25c0539c8bc46812a0f1e75da97066af76905b -source: ipaddr -target: py2-ipaddress -commit_url: https://github.com/rvojcik/rtapi/commit/2c25c053 -domain: HTTP Clients -files: -- path: "rtapi/__init__.py" - code_changes: - - line: "50:50" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [ipaddr] - target_apis: [ipaddress] - - line: "613,924:613,924" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [function call] - properties: [element name change] - source_apis: [IPAddress] - target_apis: [IPv6Address] diff --git a/data/migration/kafka-python__confluent-kafka__biznetgio@restknot__6b103453.yaml b/data/migration/kafka-python__confluent-kafka__biznetgio@restknot__6b103453.yaml deleted file mode 100644 index d1394fd..0000000 --- a/data/migration/kafka-python__confluent-kafka__biznetgio@restknot__6b103453.yaml +++ /dev/null @@ -1,39 +0,0 @@ -repo: biznetgio/restknot -commit: 6b10345398630fbb418f84ca7268d481ecad56ee -source: kafka-python -target: confluent-kafka -commit_url: https://github.com/biznetgio/restknot/commit/6b103453 -domain: API wrapper -files: -- path: "agent/dnsagent/clis/start.py" - code_changes: - - line: "35:35-36" - cardinality: one-to-many - source_program_elements: [function call] - target_program_elements: [function call, function call] - properties: [argument transformation, element name change] - source_apis: [get_kafka_consumer] - target_apis: [Consumer, suscribe] -- path: "api/app/helpers/producer.py" - code_changes: - - line: "18-21:20" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [function call] - properties: [argument deletion, argument transformation, element name change] - source_apis: [KafkaProducer] - target_apis: [Producer] - - line: "31:36" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [function call] - properties: [argument addition, argument transformation, element name change] - source_apis: [send] - target_apis: [produce] - - line: "5:5" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [kafka.KafkaProducer] - target_apis: [confluent_kafka.Producer] diff --git a/data/migration/lxml__defusedxml__haiwen@seafdav__5e1291f1.yaml b/data/migration/lxml__defusedxml__haiwen@seafdav__5e1291f1.yaml index 998e361..25da0e7 100644 --- a/data/migration/lxml__defusedxml__haiwen@seafdav__5e1291f1.yaml +++ b/data/migration/lxml__defusedxml__haiwen@seafdav__5e1291f1.yaml @@ -21,17 +21,4 @@ files: properties: [] source_apis: [] target_apis: [Element] - - line: ":33" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [type] - properties: [] - source_apis: [] - target_apis: [SubElement] - - line: ":34" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [function reference] - properties: [] - source_apis: [] - target_apis: [tostring] + diff --git a/data/migration/netaddr__py2-ipaddress__nitmir@policyd-rate-limit__c024e06a.yaml b/data/migration/netaddr__ipaddress__nitmir@policyd-rate-limit__c024e06a.yaml similarity index 98% rename from data/migration/netaddr__py2-ipaddress__nitmir@policyd-rate-limit__c024e06a.yaml rename to data/migration/netaddr__ipaddress__nitmir@policyd-rate-limit__c024e06a.yaml index e82617b..8c81c81 100644 --- a/data/migration/netaddr__py2-ipaddress__nitmir@policyd-rate-limit__c024e06a.yaml +++ b/data/migration/netaddr__ipaddress__nitmir@policyd-rate-limit__c024e06a.yaml @@ -1,7 +1,7 @@ repo: nitmir/policyd-rate-limit commit: c024e06ab9313b2b4dae1e1962aa9c2a4de4d62e source: netaddr -target: py2-ipaddress +target: ipaddress commit_url: https://github.com/nitmir/policyd-rate-limit/commit/c024e06a domain: HTTP Clients files: diff --git a/data/migration/progressbar__tqdm__redkyn@assigner__f132d03c.yaml b/data/migration/progressbar__tqdm__redkyn@assigner__f132d03c.yaml deleted file mode 100644 index a04819e..0000000 --- a/data/migration/progressbar__tqdm__redkyn@assigner__f132d03c.yaml +++ /dev/null @@ -1,23 +0,0 @@ -repo: redkyn/assigner -commit: f132d03c9154401da28316e552fc6ca0bd51cf31 -source: progressbar -target: tqdm -commit_url: https://github.com/redkyn/assigner/commit/f132d03c -domain: Utility -files: -- path: "assigner/commands/get.py" - code_changes: - - line: "12:12" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [progressbar.ProgressBar] - target_apis: [assigner.progress.Progress] - - line: "44:" - cardinality: one-to-zero - source_program_elements: [function call] - target_program_elements: [] - properties: [] - source_apis: [update] - target_apis: [] diff --git a/data/migration/pydotplus__pydot2__networkx@networkx__481f3e8e.yaml b/data/migration/pydotplus__pydot__networkx@networkx__481f3e8e.yaml similarity index 99% rename from data/migration/pydotplus__pydot2__networkx@networkx__481f3e8e.yaml rename to data/migration/pydotplus__pydot__networkx@networkx__481f3e8e.yaml index ab8bc1e..c42ae46 100644 --- a/data/migration/pydotplus__pydot2__networkx@networkx__481f3e8e.yaml +++ b/data/migration/pydotplus__pydot__networkx@networkx__481f3e8e.yaml @@ -1,7 +1,7 @@ repo: networkx/networkx commit: 481f3e8e405cafc05c570e8fc5a2a4d531f86121 source: pydotplus -target: pydot2 +target: pydot commit_url: https://github.com/networkx/networkx/commit/481f3e8e domain: Graphic files: diff --git a/data/migration/pydotplus__pydot2__trungdong@prov__acb9b05f.yaml b/data/migration/pydotplus__pydot__trungdong@prov__acb9b05f.yaml similarity index 96% rename from data/migration/pydotplus__pydot2__trungdong@prov__acb9b05f.yaml rename to data/migration/pydotplus__pydot__trungdong@prov__acb9b05f.yaml index 1ff9386..8c48fdc 100644 --- a/data/migration/pydotplus__pydot2__trungdong@prov__acb9b05f.yaml +++ b/data/migration/pydotplus__pydot__trungdong@prov__acb9b05f.yaml @@ -1,7 +1,7 @@ repo: trungdong/prov commit: acb9b05f0bd99b3fbd58e5f1a684d1cfc28961f8 source: pydotplus -target: pydot2 +target: pydot commit_url: https://github.com/trungdong/prov/commit/acb9b05f domain: Graphic files: diff --git a/data/migration/pyopenssl__cryptography__celery@celery__9b39fc41.yaml b/data/migration/pyopenssl__cryptography__celery@celery__9b39fc41.yaml index d769572..d90483f 100644 --- a/data/migration/pyopenssl__cryptography__celery@celery__9b39fc41.yaml +++ b/data/migration/pyopenssl__cryptography__celery@celery__9b39fc41.yaml @@ -14,73 +14,6 @@ files: properties: [] source_apis: [OpenSSL.crypto] target_apis: [cryptography] -- path: "celery/security/certificate.py" - code_changes: - - line: "13:10-12" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [utils.crypto] - target_apis: [cryptography.x509.load_pem_x509_certificate, cryptography.hazmat.backends.default_backend, cryptography.hazmat.primitives.asymmetric.padding] - - line: "24:30-31" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [function call] - properties: [argument addition, argument deletion, argument transformation, element name change] - source_apis: [load_certificate] - target_apis: [load_pem_x509_certificate] - - line: "28:35" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [attribute] - properties: [element name change] - source_apis: [has_expired] - target_apis: [not_valid_after] - - line: "32:43" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [attribute] - properties: [element name change] - source_apis: [get_serial_number] - target_apis: [serial_number] - - line: "37:47" - cardinality: many-to-one - source_program_elements: [function call, function call] - target_program_elements: [attribute] - properties: [element name change] - source_apis: [get_issuer, get_components] - target_apis: [issuer] - - line: "46:57-62" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [function call] - properties: [argument addition, argument deletion, argument transformation] - source_apis: [verify] - target_apis: [verify] -- path: "celery/security/key.py" - code_changes: - - line: "17:22-25" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [function call] - properties: [argument addition, argument deletion, argument transformation, element name change] - source_apis: [load_privatekey] - target_apis: [load_pem_private_key] - - line: "22:31-35" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [function call] - properties: [argument addition, argument deletion] - source_apis: [sign] - target_apis: [sign] - - line: "7:6-8" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [utils.crypto] - target_apis: [cryptography.hazmat.primitives.serialization, cryptography.hazmat.primitives.asymmetric.padding, cryptography.hazmat.backends.default_backend] - path: "celery/security/utils.py" code_changes: - line: "12:8-9" diff --git a/data/migration/pytorch-pretrained-bert__transformers__tiiiger@bert_score__04376e1e.yaml b/data/migration/pytorch-pretrained-bert__transformers__tiiiger@bert_score__04376e1e.yaml deleted file mode 100644 index adc2bf5..0000000 --- a/data/migration/pytorch-pretrained-bert__transformers__tiiiger@bert_score__04376e1e.yaml +++ /dev/null @@ -1,30 +0,0 @@ -repo: tiiiger/bert_score -commit: 04376e1e50d452f698b454a074d526d5ecd6a76b -source: pytorch-pretrained-bert -target: transformers -commit_url: https://github.com/tiiiger/bert_score/commit/04376e1e -domain: Deep Learning -files: -- path: "bert_score/score.py" - code_changes: - - line: "33:72" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [function call] - properties: [argument transformation] - source_apis: [from_pretrained] - target_apis: [from_pretrained] - - line: "85:134" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [function call] - properties: [argument transformation] - source_apis: [from_pretrained] - target_apis: [from_pretrained] - - line: "6:10" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [pytorch_pretrained_bert.BertTokenizer, pytorch_pretrained_bert.BertModel, pytorch_pretrained_bert.BertForMaskedLM] - target_apis: [transformers.AutoModel, transformers.AutoTokenizer] diff --git a/data/migration/pytorch-transformers__transformers__intellabs@nlp-architect__9f067f27.yaml b/data/migration/pytorch-transformers__transformers__intellabs@nlp-architect__9f067f27.yaml index fc5268e..bdc611c 100644 --- a/data/migration/pytorch-transformers__transformers__intellabs@nlp-architect__9f067f27.yaml +++ b/data/migration/pytorch-transformers__transformers__intellabs@nlp-architect__9f067f27.yaml @@ -55,38 +55,4 @@ files: properties: [] source_apis: [XLNetPreTrainedModel] target_apis: [XLNetPreTrainedModel] - - line: ":135" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [type] - properties: [] - source_apis: [] - target_apis: [BertPreTrainedModel] - - line: ":143" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [type] - properties: [] - source_apis: [] - target_apis: [RobertaConfig] - - line: ":144" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [type] - properties: [] - source_apis: [] - target_apis: [ROBERTA_PRETRAINED_MODEL_ARCHIVE_MAP] - - line: ":151" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [function call] - properties: [] - source_apis: [] - target_apis: [RobertaModel] - - line: ":160" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [function call] - properties: [] - source_apis: [] - target_apis: [roberta] + diff --git a/data/migration/requests-oauth2__requests-oauthlib__getsentry@sentry__0bfe540d.yaml b/data/migration/requests-oauth2__requests-oauthlib__getsentry@sentry__0bfe540d.yaml deleted file mode 100644 index 03ae87f..0000000 --- a/data/migration/requests-oauth2__requests-oauthlib__getsentry@sentry__0bfe540d.yaml +++ /dev/null @@ -1,16 +0,0 @@ -repo: getsentry/sentry -commit: 0bfe540d62bd38483de26796e20ae014b2f06d54 -source: requests-oauth2 -target: requests-oauthlib -commit_url: https://github.com/getsentry/sentry/commit/0bfe540d -domain: Auth -files: -- path: "src/social_auth/backends/__init__.py" - code_changes: - - line: "45:19" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [oauth2.Consumer, oauth2.Token, oauth2.Request] - target_apis: [requests_oauthlib.OAuth1] diff --git a/data/migration/requests-oauth2__requests-oauthlib__sarumont@py-trello__ede0ceb1.yaml b/data/migration/requests-oauth2__requests-oauthlib__sarumont@py-trello__ede0ceb1.yaml deleted file mode 100644 index 726fce5..0000000 --- a/data/migration/requests-oauth2__requests-oauthlib__sarumont@py-trello__ede0ceb1.yaml +++ /dev/null @@ -1,44 +0,0 @@ -repo: sarumont/py-trello -commit: ede0ceb10b1e08451767f2b709b52445ada72f37 -source: requests-oauth2 -target: requests-oauthlib -commit_url: https://github.com/sarumont/py-trello/commit/ede0ceb1 -domain: Auth -files: -- path: "trello/__init__.py" - code_changes: - - line: "51:" - cardinality: one-to-zero - source_program_elements: [function call] - target_program_elements: [] - properties: [] - source_apis: [Consumer] - target_apis: [] - - line: "52:" - cardinality: one-to-zero - source_program_elements: [function call] - target_program_elements: [] - properties: [] - source_apis: [Token] - target_apis: [] - - line: "53:" - cardinality: one-to-zero - source_program_elements: [function call] - target_program_elements: [] - properties: [] - source_apis: [Client] - target_apis: [] - - line: "6:4" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [oauth2] - target_apis: [requests_oauthlib.OAuth1] - - line: ":44" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [function call] - properties: [] - source_apis: [] - target_apis: [OAuth1] diff --git a/data/migration/requests-oauth2__requests__sybrenstuvel@flickrapi__c4f8d794.yaml b/data/migration/requests-oauth2__requests__sybrenstuvel@flickrapi__c4f8d794.yaml deleted file mode 100644 index 73f0bc4..0000000 --- a/data/migration/requests-oauth2__requests__sybrenstuvel@flickrapi__c4f8d794.yaml +++ /dev/null @@ -1,37 +0,0 @@ -repo: sybrenstuvel/flickrapi -commit: c4f8d7940d28080bfa358e3460d2f7f6ff2176e4 -source: requests-oauth2 -target: requests -commit_url: https://github.com/sybrenstuvel/flickrapi/commit/c4f8d794 -domain: Auth&HTTP Clients -files: -- path: "flickrapi/auth.py" - code_changes: - - line: "111:115" - cardinality: one-to-one - source_program_elements: [function call] - target_program_elements: [function call] - properties: [argument deletion, argument transformation, element name change] - source_apis: [Consumer] - target_apis: [OAuth1] - - line: "119:122" - cardinality: one-to-one - source_program_elements: [attribute] - target_program_elements: [attribute] - properties: [element name change] - source_apis: [key] - target_apis: [client_key] - - line: "73:" - cardinality: one-to-zero - source_program_elements: [attribute] - target_program_elements: [] - properties: [] - source_apis: [Token] - target_apis: [] - - line: "9:13-14" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [oauth2] - target_apis: [requests, requests.auth.OAuth1] diff --git a/data/migration/retrying__tenacity__pokainc@cfn-cross-region-export__8d0ec687.yaml b/data/migration/retrying__tenacity__pokainc@cfn-cross-region-export__8d0ec687.yaml deleted file mode 100644 index f76a42d..0000000 --- a/data/migration/retrying__tenacity__pokainc@cfn-cross-region-export__8d0ec687.yaml +++ /dev/null @@ -1,16 +0,0 @@ -repo: pokainc/cfn-cross-region-export -commit: 8d0ec687838ea69612d7b1236e2341198aef7937 -source: retrying -target: tenacity -commit_url: https://github.com/pokainc/cfn-cross-region-export/commit/8d0ec687 -domain: Utilities -files: -- path: "importer/lambda/cross_region_importer.py" - code_changes: - - line: "10:10" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [import] - properties: [] - source_apis: [retrying.retry] - target_apis: [tenacity.retry, tenacity.retry_if_exception_type, tenacity.wait_random_exponential] diff --git a/data/migration/urllib3__requests__finish06@pyunifi__3e534821.yaml b/data/migration/urllib3__requests__finish06@pyunifi__3e534821.yaml index 2285ca5..19d05b3 100644 --- a/data/migration/urllib3__requests__finish06@pyunifi__3e534821.yaml +++ b/data/migration/urllib3__requests__finish06@pyunifi__3e534821.yaml @@ -21,13 +21,6 @@ files: properties: [element name change] source_apis: [open] target_apis: [post] - - line: ":279" - cardinality: zero-to-one - source_program_elements: [] - target_program_elements: [function call] - properties: [] - source_apis: [] - target_apis: [post] - line: ":294" cardinality: zero-to-one source_program_elements: [] diff --git a/data/migration/urllib3__requests__mixpanel@mixpanel-python__e8a93304.yaml b/data/migration/urllib3__requests__mixpanel@mixpanel-python__e8a93304.yaml index a74f9e7..a9a38a4 100644 --- a/data/migration/urllib3__requests__mixpanel@mixpanel-python__e8a93304.yaml +++ b/data/migration/urllib3__requests__mixpanel@mixpanel-python__e8a93304.yaml @@ -56,12 +56,4 @@ files: properties: [] source_apis: [] target_apis: [mount] -- path: "test_mixpanel.py" - code_changes: - - line: "13:" - cardinality: not applicable - source_program_elements: [import] - target_program_elements: [] - properties: [] - source_apis: [urllib3] - target_apis: [] + diff --git a/data/migration/webapp2__flask__c4rlo@vimhelp__7a5fadfd.yaml b/data/migration/webapp2__flask__c4rlo@vimhelp__7a5fadfd.yaml index 826d845..adfd45b 100644 --- a/data/migration/webapp2__flask__c4rlo@vimhelp__7a5fadfd.yaml +++ b/data/migration/webapp2__flask__c4rlo@vimhelp__7a5fadfd.yaml @@ -35,7 +35,7 @@ files: properties: [] source_apis: [query_string] target_apis: [query_string] - - line: "69:69" + - line: "69:74" cardinality: one-to-one source_program_elements: [attribute] target_program_elements: [attribute]