Closed jjhelmus closed 4 years ago
Note that there are a number of TODO
still in the code. This refactor aims to produce the same repodata.json
files are currently exists, bugs included. The TODO
entry point out locations where the currently logic is likely producing incorrect patch instructions.
Refactor patching of main and the testing script.
Patching is done in-place on the
record
object so that patches of patches are automatically applied. The final patch instructions are generated by comparing the contents of a record with a reference prior to any modification. Path instructions are only generated if these differ.The
test-hotfix.py
script was modified to work from therepodata_from_packages.json
file in the same manner as is done whenconda index
is run. The difference between the local results of patching and patched repodata.json files in the package repository are displayed for one or more subdirs.