Skip to content

Releases: krshrimali/context-pilot-rs

DB Improvements: Optimizing Performance 🚀

28 Jun 17:53
3e62f43
Compare
Choose a tag to compare

This release comes with some important but minor DB improvements to ensure the performance of each call and repetitive call. Follow along with some of the PRs below to know what changed.

What's Changed

  • Update DB schema and add support for overlapping by @krshrimali in #8
  • Major revision: DB now contains per line indices, no overlapping needed by @krshrimali in #9
  • Type Aliasing for DB Type + Fix for Unique Output by @krshrimali in #10

Full Changelog: v0.0.2...v0.0.3

P.S: Special thanks to @shoaib30 and @saurabh1310 for their suggestions with this DB improvement release. 🔥 🙇🏻

DB Integration + Performance Improvements + Bug Fixes: Context Pilot

26 Jun 19:06
519d42e
Compare
Choose a tag to compare

Notes ✍🏻 👂🏻

Though, semantically - this is a minor release, but comes with major improvements (inline with the release goals for v1.0.0):

  1. (Beta Mode) DB Integration - now any repetitive calls will be fetched from in-house DB stored in $HOME/.context_pilot_db/db_common.json. This is still under beta mode, but wanted to ship for early testing, database sharding and grouping is still a TODO.
  2. DB integration gives performance boost for "exact same queries". In the future, for queries which are in proximity to existing queries, will be faster than present.
  3. Bug fixes on how context files are calculated.
  4. Make sure common algorithm is used, and if authors were generated - getting context files could re-use that output instead of re-calculating all the commit hashes.

Oh, and rust compiler reports NO warnings. Could be temporary, but a sweet win 😉 💯 🎉

What's Changed 🤔 🔥

  • Feature: Ignore files matching patterns with .gitignore by @krshrimali in #1
  • Refactor file utilities into file_utils, minor refactor with tests… by @krshrimali in #2
  • Fix: Handle case when files are moved/renamed in the git history by @krshrimali in #5
  • Preparing first release (dev to main) by @krshrimali in #3
  • Implement in-house DB to avoid repetitive calls (Part-1) by @krshrimali in #6
  • Re-organizing the algorithm to ease the integration of DB by @krshrimali in #7

New Contributors ✋🏻

Full Changelog: v0.0.1...v0.0.2

Context Pilot First Beta Release: v0.0.1 (Authors and Files)

17 Jun 06:42
Compare
Choose a tag to compare

This is the first beta release for anyone to try this out. Features supported are documented in the README here: https://github.com/krshrimali/context-pilot-rs/blob/631357e456d0bd8d9ca56d69c5c022c3b6a59610/README.md

This currently acts as a binary utility but will soon be converted into a server for it to run indexing and storing data into an in-house DB.

In case of any issues, please file your issue here: https://github.com/krshrimali/context-pilot-rs/issues