{"push_id":778927939,"size":4,"distinct_size":1,"ref":"refs/heads/master","head":"32b5e970f4b2c5e9c4f4eca6851fc0a4c09e111a","before":"d07e7994abdb907f9be2be9ed1fc7ded1fdd1c3c","commits":[{"sha":"abf62bf7f8e71cbd2c2c8313b23fbeabb0fe9809","author":{"email":"e7d46f11d5ed5f71b2612d792cc0b0b2252b80c5@yomimono.org","name":"Mindy Preston"},"message":"Store keys and values directly, rather than in a map.\n\nPreviously mirage-nat would construct a Map of translations and store\nthis map in Irmin on a per-protocol basis.  This meant any operations on\nthe table required fetching and reading the map from Irmin, then\ndoing a lookup on the specific key of interest; moreover changes\nrequired re-serialization of the entire table.\n\nThis commit changes the\nstrategy of mirage-nat to store keys and values directly in Irmin with a\ncustom Path and corresponding Step.  The Path does not actually\nimplement a hierarchy; while such a structure might be useful for\norganizing this data generally (e.g.,\nprotocol/source_port/destination_port/source_ip/destination_ip as a\npath), the interface specified in Irmin.Path.S isn't a good fit for it\nat the moment.\n\nStoring the data directly allows the easy use of watches; at the\nprevious granularity they served only as a notification that some change\nhad been made to the datastore, requiring the user to dig around in the\nmap themselves.","distinct":false,"url":"https://api.github.com/repos/yomimono/mirage-nat/commits/abf62bf7f8e71cbd2c2c8313b23fbeabb0fe9809"},{"sha":"0ec878abd7beb890d84e51df8787e8a3ff71b196","author":{"email":"e7d46f11d5ed5f71b2612d792cc0b0b2252b80c5@yomimono.org","name":"Mindy Preston"},"message":"restore expiration to nat_lookup","distinct":false,"url":"https://api.github.com/repos/yomimono/mirage-nat/commits/0ec878abd7beb890d84e51df8787e8a3ff71b196"},{"sha":"4d1718c4bb11a1ef83ce5d9f0accbce7ba4188d9","author":{"email":"e7d46f11d5ed5f71b2612d792cc0b0b2252b80c5@yomimono.org","name":"Mindy Preston"},"message":"bump version to 0.6.0","distinct":false,"url":"https://api.github.com/repos/yomimono/mirage-nat/commits/4d1718c4bb11a1ef83ce5d9f0accbce7ba4188d9"},{"sha":"32b5e970f4b2c5e9c4f4eca6851fc0a4c09e111a","author":{"email":"568ee19260ce5a5768df00a58ffa94aadd883a52@users.noreply.github.com","name":"Mindy Preston"},"message":"Merge pull request #13 from yomimono/lift_irmin\n\nStore the keys and values directly in Irmin","distinct":true,"url":"https://api.github.com/repos/yomimono/mirage-nat/commits/32b5e970f4b2c5e9c4f4eca6851fc0a4c09e111a"}]}