commit | 011985ed32e3317a1157d723a2abc2b7773e2eb8 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Tue Aug 23 23:35:59 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 23 23:35:59 2022 +0000 |
tree | 10f6bc0a3a37c6638c28db1e339fffb4f560e3d7 | |
parent | bc671d3cc13814776220aac858cd4d90e507887b [diff] |
pw_tokenizer: Handle finding multiple CSVs in a directory database - Handle multiple untracked files by using the most recently modified file. - Check if HEAD is in an ancestor of the specified commit rather than HEAD~, which was unintentionally being used. This prevents updating a previously committed CSV. - Move the _new_entries() function to the Database class as difference(). - Use the .pw_tokenizer.csv extension in directory databases to indicate that the CSVs are for pw_tokenizer. - Rename DatabaseFile.create() to DatabaseFile.load() to more accurately express what it does. - Remove some unnecessary functions. Fixes: b/243040287 Change-Id: I63b4479847937f8ebaced568389d4eaa601c1c96 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/107965 Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.