Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Releases: src-d/go-git

v4.0.0-rc7

19 Jan 13:33
Compare
Choose a tag to compare
v4.0.0-rc7 Pre-release
Pre-release

Public API

  • remote: add Push (#178)
  • server: add git server implementation (#190)
  • doc: clarify return values of Pull/Fetch. (#205)
  • remote: fix empty-git-upload-pack error in fetch, when the reference points
    to a non-commit object (#209)
  • repository: fix pull when fetch returns up-to-date (#207)
  • blame: make line and its members public so they can be actually used (#213)

Plumbing

  • plumbing: fix signature with > before < parsing (#204)

Formats

  • packfile/decoder: speed up packfile iterator when specific type (#200)
  • packfile/scanner: reset zlib reader instead of new one (#201)

Transport

  • transport: remove SetAuth, fixes #206 (#210)

Test

  • fixtures: new fixture with multiple root commits (#212)
  • fixtures: initialize fixtures into separated methods (#214)
  • test: restore default protocol. (#215)

Internals

  • fix typo in docs for plumbing/difftree/internal/merkletrie/iter.go (#192)

v4.0.0-rc6

19 Dec 17:39
Compare
Choose a tag to compare
v4.0.0-rc6 Pre-release
Pre-release
  • fix plumbing/difftree package name (#191)
  • utils/fs: extract billy (#173)

v4.0.0-rc5

16 Dec 21:54
Compare
Choose a tag to compare
v4.0.0-rc5 Pre-release
Pre-release

Public API:

  • remote: make Fetch atomic. (#185)
  • remote: sideband support (#164)
  • move plumbing from top level package to plumbing (#183)
  • repository: Ref -> Reference; Refs -> References. (#168)
  • file: return error on File.Contents() if reader fails (#150)
  • rev-list command implementation for objects (#135)
  • difftree: merkletrie internal package with iterator (#133)

Config:

  • bare flag (#177)
  • support delete refspecs (IsDelete). (#166)

Storage:

  • filesystem, clean close when the packfile is not used (#140)
  • shallow storage (#180)

Protocols:

  • packp: add report status message. (#162)
  • packp: add reference update request encoder. (#147)
  • packp: add upload pack response message (#161)
  • capabilities: implementation (#144, #151, #153, #170)
  • sideband: muxer and demuxer (#143)

Formats:

  • packfile: packfile write (#131)
  • packfile: delta calculation (#182, #186, #172, #159)
  • pktline: fix readPayloadLen err handling (#148)

Utils:

  • fs: memory fix read offset
  • fs: memory fix ReadDir, error getting filename

Transports:

  • http: Add configurable http client factory (fixes #120) (#121)
  • git: new git protocol (#175)
  • ssh: keeping the original path (#189)
  • local/ssh: add git-send-pack support (#163)
  • local: add local transport (#145)
  • create Client interface (#132)

v4.0.0-rc4

14 Nov 21:15
Compare
Choose a tag to compare
v4.0.0-rc4 Pre-release
Pre-release

Global:

  • storage interface refactor (#112)
  • new plumbing package (#118)

Fixes:

  • utils/fs: add ReadAt to memory file and tests. (#122)
  • format/packfile: Fix nil tx bug (#124)

v4.0.0-rc3

07 Nov 11:03
Compare
Choose a tag to compare
v4.0.0-rc3 Pre-release
Pre-release

Utils:

  • utils/fs: Fix O_CREATE flag check in OpenFile #116
  • utils/fs: utils/fs: added test for open-read-seek #117

v4.0.0-rc2

04 Nov 15:24
Compare
Choose a tag to compare
v4.0.0-rc2 Pre-release
Pre-release

Core

  • added Blobs, Trees and Objects iterators to Repository #114

Clients

  • ssh: fix ssh client #96

Formats

  • packp: package advrefs encodes and decodes advertised references messages #92
  • packp: package ulreq encodes and decodes upload-request messages #106
  • index: added index format support #91 #105
  • config: package to encode, decode and manipulate git config files #97

Utils

  • binary: new package that collect all the spare helper functions about binary operations #102
  • fs: move 'os' and 'test' to separate packages #93
  • fs: add Remove() #94
  • fs: add OpenFile method to filesystem interface #104
  • fs: new memory file system #108

v4.0.0-rc1

27 Sep 10:43
Compare
Choose a tag to compare
v4.0.0-rc1 Pre-release
Pre-release

Core:

Formats:

Clients:

  • common: new Endpoint implementation and InstallProtocol function fcdabab
  • common: Endpoint SCP like support 5bc503f
  • fix: common: GitUploadPackInfo correct handling capabilities and symrefs b024ef7
  • http: better error handling on empty repositories and connection errors 5135923
  • http/ssh: default auth creation based on URL 8e282db

Storage:

Public API:

  • important changes in Repository and Remote entities 998511e
  • Repository.Clone and Remote.Fetch 5578008 b7c471f
  • New Remote.Pull method 86a411c
  • New Remote.Fetch method 501a972
  • NewFilesystemRepository and example 890a0e3
  • Repository and Remotes based on core.ConfigStore 1b72ad7
  • Commit.History and new WalkCommitHistory 9013848
  • Tree/Commit/Blob.Encode implementation cac95dd
  • TreeWalker optimization 57f7a36
  • DiffTree based on TreeWalker 180de1e
  • impovements on *.String() methods a35adcf

v3.2.0

30 Nov 15:24
Compare
Choose a tag to compare
  • add simple difftree implementation (#63)
  • avoid panic if repository is not specified (#79)
  • fix sourcegraph/go-vcsurl (#66)
  • fix decode tree bug: incomplete reads break the decoding process (#64)

v3.1.1: Repository head (#61)

02 Aug 08:59
Compare
Choose a tag to compare
* add Repository.Head() tests

* add head support for remote repos and more tests

* add head support for local repos

* clean code

* remove dead code

v3.1.0: Adds support to open local repositories and to use file-based object …

05 Jul 12:30
Compare
Choose a tag to compare

API changes:

  • changed repository.Commits(): now it also returns an error.
  • changed repository.Tags(): now it also returns an error.
  • new function: repository.NewRepositoryFromFS(fs, path) creates go-git repositories from .git directories on disk, although, the filesystem is an interface that can be implemented to access git repositories stored anywhere in any format.