HomeSoftware Heritage

binary maps: change type IDs on Python side, to be compatible with Java

This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

binary maps: change type IDs on Python side, to be compatible with Java

Before this change we had an off-by-1: Java type integer IDs were 0-based,
Python ones 1-based. With this change they match and are both 0-based.

WARNING: with this change we break backward compatibility for the Python client when reading binary maps that were generated (via a Python hack) before this change. They will need to be regenerated either using the now available Java-based generation of binary maps or by rerunning the Python hack with the new code.

Details

Provenance
zackAuthored on Nov 4 2019, 11:44 AM
zackPushed on Nov 4 2019, 11:47 AM

Commit No Longer Exists

This commit no longer exists in the repository.