734 lines · 52.7 KB · Markdown
RawDownload

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.15.0 (2022-08-24)

Chore

  • uniformize deny attributes

New Features

  • Support for -c/--config in gix
  • gix remote refs to list all remote references of a suitable remote. This takes into account either a named remote, or the remote associated with the current branch, or the default remote it could deduce or obtain from the configuration.
  • use docsrs feature in code to show what is feature-gated automatically on docs.rs

Changed (BREAKING)

  • remove gix free remote ref-list in favor of gix remote refs The functinality is the same, but the latter is built on top of a repository which is slightly less flexible, but preferable over maintaining a non-repo version.

Commit Statistics

  • 14 commits contributed to the release over the course of 3 calendar days.
  • 6 days passed between releases.
  • 5 commits where understood as conventional.
  • 1 unique issue was worked on: #450

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details
  • #450
    • remove gix free remote ref-list in favor of gix remote refs (dda9957)
    • Support for -c/--config in gix (45a30f0)
    • refactor (e0be6e9)
    • Add support for passing urls directly to bypass all remote repository logic. (df3cf18)
    • gix remote refs to list all remote references of a suitable remote. (5d6d5ca)
    • Try to use maybe async for the simplest of possibly blocking remote interactions (db4df25)
    • basic parsing of gix remote refs without any implementation. (f8f1249)
  • Uncategorized
    • Merge branch 'example-write-blob' (afedd7f)
    • Merge pull request #494 from ultrasaurus/patch-1 (86fe22c)
    • Merge branch 'main' into remote-ls-refs (95f2f4f)
    • Merge branch 'example-new-repo' (946dd3a)
    • thanks clippy (bb6813a)
    • use docsrs feature in code to show what is feature-gated automatically on docs.rs (b1c40b0)
    • uniformize deny attributes (f7f136d)

0.14.0 (2022-08-17)

Changed

  • Invert behaviour to open::Options::strict_config(), with lenient being the default. This means API users will get libgit2 behaviour but commands like gix can change options to emulate git behaviour.

New Features

  • --cat-file flag for gix rev parse to cat instead of resolving.
  • gix rev previous-branches subcommand

Changed (BREAKING)

  • ein tools to ein tool for as it's more intuitive

New Features (BREAKING)

  • gix rev resolve --explain

Commit Statistics

  • 15 commits contributed to the release over the course of 26 calendar days.
  • 26 days passed between releases.
  • 5 commits where understood as conventional.
  • 1 unique issue was worked on: #427

Commit Details

view details
  • #427
    • --cat-file flag for gix rev parse to cat instead of resolving. (b83f6bd)
    • gix rev resolve --explain (c5846e0)
    • gix rev previous-branches subcommand (e972aad)
    • support for parsing multiple specs in one invocation (84b5448)
    • support overriding cache settings with environment variables in gix (b838202)
  • Uncategorized
    • Control which command is lenient or not. That way gix-config can be lenient. (6a9c58f)
    • Invert behaviour to open::Options::strict_config(), with lenient being the default. (0235111)
    • ein tools to ein tool for as it's more intuitive (edf73dd)
    • add aliases to make revision sub-commands more accessible (a6d79e3)
    • Merge branch 'write-index-files' into write-index-v2 (cddc2ca)
    • Merge branch 'write-index-files' into rev-parse-delegate (370110d)
    • Merge branch 'main' into rev-parse-delegate (4ae2bed)
    • Merge branch 'main' into rev-parse-delegate (6da8250)
    • make fmt (47724c0)
    • Fix typos (e9fcb70)

0.13.0 (2022-07-22)

New Features

  • gix config with section and sub-section filtering.
  • gix config lists all entries of all configuration files git considers. Filters allow to narrow down the output.

Commit Statistics

  • 38 commits contributed to the release over the course of 101 calendar days.
  • 108 days passed between releases.
  • 2 commits where understood as conventional.
  • 3 unique issues were worked on: #301, #331, #427

Thanks Clippy

Clippy helped 3 times to make code idiomatic.

Commit Details

view details
  • #301
    • Allow reading patterns from stdin (0c597fe)
    • Add --show-ignore-patterns to gix repo exclude query (09f904b)
    • Basic prefix support as well the first working version of exclude query (9cb8385)
    • Support for overrides on the command-line (7d98b21)
    • fix build (cb56f12)
    • refactor (3ff991d)
    • frame for gix repo exclude query (a331314)
    • make fmt (50ff7aa)
  • #331
    • fix journey tests after gix restructuring (59b95c9)
    • gix config with section and sub-section filtering. (eda39ec)
    • gix config lists all entries of all configuration files git considers. (d99453e)
    • refactor (a437abe)
    • move 'exclude' up one level and dissolve 'repo' subcommand (8e5b796)
    • move 'mailmap' up one level (5cf08ce)
    • move 'odb' up one level (0ed65da)
    • move 'tree' up one level (38a8350)
    • move 'commit' up one level (72876f1)
    • move 'verify' up one level (ac7d99a)
    • move 'revision' one level up (c9c78e8)
    • move 'remote' to 'free' (8967fcd)
    • move commitgraph to 'free' (f99c3b2)
    • move index to 'free' (83585bd)
    • move 'pack' to 'free' (1cdecbc)
    • migrate mailmap to the new 'free' section (141c5f1)
    • first step towards moving all repository-commands one level up. (f4e1810)
    • make obvious what plumbing and porcelain really are (faaf791)
    • adjustments due to breaking changes in git_path (4420ae9)
  • #427
    • Add rough but working version of rev-parse (f3f176d)
    • basic infrastructure for delegate implementation (d3c0bc6)
    • Hookup explain command (1049b00)
    • frame for gix repo rev explain (12e6277)
  • Uncategorized

0.12.0 (2022-04-05)

New Features

  • Add gix repo commit describe It supports typical but basic flags mostly similar to the ones in git.

Commit Statistics

  • 5 commits contributed to the release over the course of 1 calendar day.
  • 2 days passed between releases.
  • 1 commit where understood as conventional.
  • 1 unique issue was worked on: #298

Commit Details

view details
  • #298
    • Use all tags by default, instead of requiring annotated tags (00c42ca)
    • support for the --max-candidates flag (b9e6754)
    • Reduce amount of max candidates, add --debug flag (c8c13e3)
    • Add gix repo commit describe (7e99e6a)
    • a first sketch of the gix repo describe plumbing command (2d6ccef)

0.11.0 (2022-04-03)

Adapt to changes in git-features which change Send + Sync to Send + Clone. This happens to allow non-sync implementations (i.e. thread-local), along with Sync ones which usually are Clone too as they are passed by immutable reference (which is Clone + Copy).

Refactor (BREAKING)

  • Remove light* features, add 'lean-async' in its place; remove termion support

Changed (BREAKING)

  • remove Option<impl Progress> in favor of impl Progress
  • remove unnecessary Arc around should_interrupt flag
  • remove Sha1 mentions in index::verify::Mode::* variants The hash is repository defined and not hard-coded
  • Remove lean plumbing CLI

Bug Fixes

  • Collect all stdout messages in line renderer as well Otherwise the threaded line renderer will interfere with genuine program output.

New Features

  • gix mailmap verify command
  • ein find --debug to learn why it is slow
  • --counting-threads flag to configure amount of threads when counting The efficiency of multi-threaded counting is low per core, and despite some speedups might be desirable, one might not want to commit all cores to this amount of waste.
  • in-manifest and in-bin documentation of feature toggles Unfortunately, these don't show up on docs.rs due to it being a abinary only crate. One could consider throwing in a lib just for good measure.

Commit Statistics

Commit Details

view details
  • #215
    • Collect all stdout messages in line renderer as well (57ca045)
    • Fix compile warning (e4514a8)
    • Remove reference of pretty-cli in code tree (4bd2f29)
    • Remove lean plumbing CLI (51bf03f)
    • Remove light* features, add 'lean-async' in its place; remove termion support (4d2d433)
  • #263
    • fmt (fbeddeb)
    • A mad attempt to use thread-local everywhere and avoid Sync… (0af5077)
  • #266
    • Provide handle with a snapshot of the store's state (6e0cd6d)
  • #279
    • Fast-path multi-pack index verification in the CLI (bcde935)
    • Basic multi-pack index creation (89428b2)
    • 'index' with its own sub-commands (c4c5678)
    • even nicer printing (d2bea27)
    • remove Option<impl Progress> in favor of impl Progress (bf04644)
    • remove unnecessary Arc around should_interrupt flag (d851bed)
    • remove Sha1 mentions in index::verify::Mode::* variants (c2679a0)
  • #287
    • share and pass cli arguments for pack verification (db43e47)
    • Very rough version of repository verification (80a4a7a)
    • Adjustments to deal with changes to git-pack/git-odb (fcf8fde)
  • #289
    • 'pack' with its own sub-commands (fb64af4)
    • 'remote' with its own sub-commands (8677f7e)
    • 'commitgraph' with its own sub-commands (db0251e)
  • #293
    • faster writing to stdout/stderr for plumbing commands (d04dc01)
    • Add 'index verify' subcommand to 'gix' (1ac2c21)
    • Flag to hide extension details (34ea001)
    • Print basic index information, including the tree extension (9277cf8)
    • Basic entry information (239e7b2)
    • refactor (8bf585d)
    • JSON output for index entries (3fc1622)
  • #298
    • Simplify command-line options declaration (f790a55)
    • frame for printing index information (9ea98fd)
  • #301
    • greatly simplify render-line logic (a8fa53a)
    • pass thread-limit along to checkout (07e9081)
    • add thread-count and chunk-size computation; interrupt capability (8cbe85d)
    • a first sketch of access odb information using a sub-command (89b628a)
    • sub-command to print multi-index entries (6c10e09)
    • pack multi-index info subcommand (21c2dd5)
    • refactor (e6a3d43)
    • detailed report about issues after checkout (613483b)
    • keep-going support on the command-line (73a7393)
    • add tree-info subcommand to more easily test actual tree-traversal performance (29fb0c8)
    • frame for traversing tree entries (0e55fbb)
    • Properly use 'max-performance' feature toggle to get pack caches :D (a39d476)
    • allow writing empty files during checkout but also query the odb (5388d80)
    • support for repo to write actual objects (5494fb3)
    • basic version of index checkout via command-line (f23b8d2)
    • support for unicode-precomposition for gix apps (e90c123)
  • #329
    • in-manifest and in-bin documentation of feature toggles (25da30f)
  • #366
    • frame for printing mailmap entries using git-repository (2a01f47)
    • gix mailmap verify can now detect collisions (f89fe2f)
    • gix mailmap verify command (384ed66)
  • #67
    • --counting-threads flag to configure amount of threads when counting (0090961)
  • Uncategorized
    • make fmt (7cf3545)
    • small build now uses the line renderer as well (652a0ac)
    • Upgrade to prodash 19 (90c6c5a)
    • ein find --debug to learn why it is slow (70109be)
    • Merge branch 'short-id' (5849d5b)
    • fix clap warnings (aa51e05)
    • Merge branch 'AP2008-implement-worktree' (f32c669)
    • improve CLI docs (866530a)
    • rename 'gix commitgraph' back to 'gix commit-graph' (d6a72e7)
    • thanks clippy (b0f7328)

v0.10.0 (2021-10-20)

This release pins beta versions of clap to avoid it to automatically fetch the latest one during installation.

This is made possible due to clap itself pinning its dependency to the clap-derive crate.

Commit Statistics

  • 1 commit contributed to the release over the course of 1 calendar day.
  • 4 days passed between releases.
  • 0 commits where understood as conventional.
  • 1 unique issue was worked on: #222

Commit Details

view details

v0.9.0 (2021-10-15)

A first usable version of git-repository to make using gitoxide from your applications so much easier. It serves as a one-stop shop for application developers without sacrificing performance by default while making common use-cases more convenient.

Feature list

  • git-repository as hub crate for application development with focus on usability without sacrificing any knob to tune performance.
  • opt-in async for git-packetline, git-transport and git-protocol for fully async git clients, along with the light-async feature toggle to build a gix pack-receive with an async client instead of a blocking one.
  • Statistics for gix pack-create with the -s/--statistics flag to have data indicating the cost of the operation. Currently it's doing a lot of work that has to be avoided in order to be useable in production and the numbers underline that. Future iterations will cause key metrics to go down.
  • Packs are now reproducible by default, which means that the same tip will always generate a pack with the same hash. This may be a desirable property for some kinds of packs, but not for others which is why it can be turned off for a considerable speed boost.
  • git-tempfile crate
  • git-lock crate
  • git-ref crate with complete loose-ref, packed-ref and transaction support.

Performance

  • On M1, thanks to a new release, Sha1 is now computed much faster which unlocks a massive performance boost. In my test, verifying/decoding the entire linux kernel pack now happens in 17s, as compared to 37s for canonical git.
  • git-object parsing is a few percent faster thanks a reworked error handling for objects. By default, error collection is disabled entirely making the error case zero-sized. If needed, verbose and stacked errors can be turned on using a feature toggle for applications who expect repositories with malformed objects and need detailed diagnostics.

New Features

  • control pack and object cache size in megabytes in some sub-commands

Commit Statistics

  • 4 commits contributed to the release over the course of 26 calendar days.
  • 35 days passed between releases.
  • 1 commit where understood as conventional.
  • 2 unique issues were worked on: #200, #67

v0.8.4 (2021-09-10)

This is a maintenance release.

v0.8.3 (2021-09-07)

Commit Statistics

  • 1 commit contributed to the release over the course of 8 calendar days.
  • 20 days passed between releases.
  • 0 commits where understood as conventional.
  • 0 issues like '(#ID)' where seen in commit messages

v0.8.2 (2021-08-17)

Commit Statistics

  • 1 commit contributed to the release over the course of 1 calendar day.
  • 1 day passed between releases.
  • 0 commits where understood as conventional.
  • 0 issues like '(#ID)' where seen in commit messages

v0.8.1 (2021-08-15)

Commit Statistics

  • 43 commits contributed to the release over the course of 95 calendar days.
  • 98 days passed between releases.
  • 0 commits where understood as conventional.
  • 1 unique issue was worked on: #83

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

v0.7.0 (2021-05-09)

Commit Statistics

  • 33 commits contributed to the release over the course of 128 calendar days.
  • 143 days passed between releases.
  • 0 commits where understood as conventional.
  • 0 issues like '(#ID)' where seen in commit messages

Thanks Clippy

Clippy helped 3 times to make code idiomatic.

v0.6.0 (2020-12-16)

Maintenance release without any new features.

These are created to account for breaking changes within the dependency graph of gitoxide crates. Due to some blunders in the past the version on crates.io could not be installed anymore. This was eventually fixed with new minor releases across the ecosystem.

Finally, yet another breaking change due to the introduction of the git-hash crate to break a dependency cycle between git-object and git-features caused yet another maintenance release.

v0.5.0 (2020-12-15)

Maintenance release without any new features.

Commit Statistics

  • 3 commits contributed to the release over the course of 65 calendar days.
  • 84 days passed between releases.
  • 0 commits where understood as conventional.

Lines 1–500 of 734.