Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | storer: separate loose and packed object mgmt into optional ifaces | Jeremy Stribling | 2017-11-29 | 2 | -36/+25 |
| | | | | Suggested by mcuadros. | ||||
* | plumbing: add `HasEncodedObject` method to Storer | Jeremy Stribling | 2017-11-29 | 1 | -0/+9 |
| | | | | | | | This allows the user to check whether an object exists, without reading all the object data from storage. Issue: KBFS-2445 | ||||
* | Make object repacking more configurable | Taru Karttunen | 2017-11-29 | 2 | -2/+7 |
| | |||||
* | Support for repacking objects | Taru Karttunen | 2017-11-29 | 2 | -0/+9 |
| | |||||
* | Address CI and move code around | Taru Karttunen | 2017-11-29 | 1 | -2/+4 |
| | |||||
* | First pass of prune design | Taru Karttunen | 2017-11-29 | 2 | -0/+27 |
| | |||||
* | filesystem: implement PackRefs() | Jeremy Stribling | 2017-11-29 | 1 | -0/+2 |
| | | | | | | | | | | Currently this implementation is only valid for kbfsgit, since it assumes some things about the filesystem not being updated during the packing, and about conflict resolution rules. In the future, it would be nice to replace this with a more general one, and move this kbfsgit-optimized implementation into kbfsgit. Issue: KBFS-2517 | ||||
* | all: simplification | ferhat elmas | 2017-11-29 | 15 | -71/+29 |
| | | | | | | | | | | - no length for map initialization - don't check for boolean/error return - don't format string - use string method of bytes buffer instead of converting bytes to string - use `strings.Contains` instead of `strings.Index` - use `bytes.Equal` instead of `bytes.Compare` | ||||
* | dotgit: add CheckAndSetReference tests | Jeremy Stribling | 2017-11-28 | 1 | -0/+4 |
| | |||||
* | Use optionally locking when updating refs | Taru Karttunen | 2017-11-27 | 1 | -0/+1 |
| | |||||
* | plumbing/transport: Fix truncated comment in Endpoint | Ori Rawlings | 2017-11-27 | 1 | -1/+1 |
| | |||||
* | all: fixes for ineffective assign | ferhat elmas | 2017-11-26 | 1 | -0/+1 |
| | |||||
* | plumbing: object/{commit,tag}, encode method with sig optional | Sunny | 2017-11-24 | 2 | -11/+14 |
| | | | | | Adds Commit.encode() and Tag.encode() with optional `includeSig` parameter to include or exclude signature from the encoded object. | ||||
* | plumbing: object/tag, add signature verification | Sunny | 2017-11-24 | 2 | -0/+94 |
| | |||||
* | plumbing: object/tag, add PGPSignature support | Sunny | 2017-11-24 | 2 | -1/+69 |
| | |||||
* | Close http.Body reader when needed | Antonio Jesus Navarro Perez | 2017-11-24 | 1 | -1/+3 |
| | | | | If we don't do that, all the goroutines opened by the Body Reader are never closed, causing a 'fatal: morestack on g0' error. | ||||
* | test: plumbing/object fix Commit.Verify test | Sunny | 2017-11-24 | 1 | -2/+3 |
| | | | | | Test was failing because of the relative time zone attached to the commit. Adding a fixed location to the time fixes the issue. | ||||
* | Merge pull request #653 from darkowlzz/verify-commit | Máximo Cuadros | 2017-11-24 | 2 | -0/+95 |
|\ | | | | | plumbing: object, new Commit.Verify method | ||||
| * | test: plumbing.object, add test for Commit.Verify | Sunny | 2017-11-23 | 1 | -0/+65 |
| | | |||||
| * | plumbing: object, add Commit.Verify method | Sunny | 2017-11-23 | 1 | -0/+30 |
| | | | | | | | | | | Commit.Verify() performs PGP verification of a signed commit given an armored keyring. | ||||
* | | update to go-billy.v4 and go-git-fixtures.v3 | Máximo Cuadros | 2017-11-23 | 32 | -42/+37 |
| | | | | | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | | plumbing/object: add test for finding tree entry | ferhat elmas | 2017-11-22 | 1 | -0/+37 |
| | | |||||
* | | plumbing/object: do not eat error on tree decode | ferhat elmas | 2017-11-21 | 1 | -2/+2 |
|/ | |||||
* | transport: made public all the fields and standardize AuthMethod | Máximo Cuadros | 2017-11-21 | 5 | -55/+59 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | *: add pointer to the new transport.Endpoint struct | Máximo Cuadros | 2017-11-21 | 22 | -101/+82 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | transport: converts Endpoint interface into a struct | Máximo Cuadros | 2017-11-21 | 2 | -167/+195 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | transport: git and http, full mocked tests | Máximo Cuadros | 2017-11-20 | 2 | -8/+7 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | transport: git and http, full mocked tests | Máximo Cuadros | 2017-11-20 | 6 | -243/+211 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | transport: ssh, mocked SSH server, fixes #332 | Máximo Cuadros | 2017-11-20 | 1 | -16/+108 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | transport: ssh, fixes override HostKeyCallback from DefaultClient | Máximo Cuadros | 2017-11-20 | 2 | -4/+2 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | Merge pull request #647 from ferhatelmas/typo-fixes | Máximo Cuadros | 2017-11-20 | 7 | -10/+10 |
|\ | | | | | examples,plumbing,utils: typo fixes | ||||
| * | examples,plumbing,utils: typo fixes | ferhat elmas | 2017-11-20 | 7 | -10/+10 |
| | | |||||
* | | Merge pull request #646 from mcuadros/decode-object-at-fix | Máximo Cuadros | 2017-11-20 | 2 | -4/+29 |
|\ \ | |/ |/| | format: packfile fix DecodeObjectAt when Decoder has type | ||||
| * | format: packfile fix DecodeObjectAt when Decoder has type | Máximo Cuadros | 2017-11-19 | 2 | -4/+29 |
| | | | | | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | | Merge pull request #534 from josharian/firstparent | Máximo Cuadros | 2017-11-20 | 2 | -0/+24 |
|\ \ | | | | | | | plumbing: object, commit.Parent() method | ||||
| * | | plumbing: object, commit.Parent() method | Máximo Cuadros | 2017-11-20 | 2 | -6/+19 |
| | | | | | | | | | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
| * | | plumbing/object: add Commit.FirstParent | Josh Bleecher Snyder | 2017-08-03 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First parents are somewhat special in git. There's even a --first-parent flag to 'git log'. Add a helper method to look them up. This avoids boilerplate and spares the client from having to arrange for a handle to the Storer, which is stored in the unexported field Commit.s. | ||||
* | | | transport: http, fixes random failing test, #644 | Máximo Cuadros | 2017-11-20 | 1 | -60/+52 |
| |/ |/| | | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | | Merge pull request #613 from darkowlzz/482-commit-stats | Máximo Cuadros | 2017-11-08 | 3 | -0/+167 |
|\ \ | | | | | | | Add Stats() to Commit | ||||
| * | | Add Stats() to Patch and fix diffstat output | Sunny | 2017-11-02 | 3 | -53/+130 |
| | | | |||||
| * | | Add Stats() to Commit | Sunny | 2017-11-02 | 2 | -0/+90 |
| | | | | | | | | | | | | Stats() is similar to `git show --stat <hash>`. | ||||
* | | | Updating reference to the git object model | Antonio Troina | 2017-11-07 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #631 from keybase/strib/use-bytes-pool-for-diffs | Máximo Cuadros | 2017-10-31 | 1 | -4/+13 |
|\ \ | | | | | | | packfile: use buffer pool for diffs | ||||
| * | | packfile: use buffer pool for diffs | Jeremy Stribling | 2017-10-30 | 1 | -4/+13 |
| | | | |||||
* | | | packfile: delete index maps from memory when no longer needed | Jeremy Stribling | 2017-10-30 | 1 | -0/+6 |
|/ / | | | | | | | This helps keep memory usage stable while calculating deltas. | ||||
* | | Add support for signed commits (#616) | Sunny | 2017-10-29 | 2 | -0/+69 |
| | | | | | | | | | | | | | | | | | | * Add support for signed commits This change adds `GPGSignature` field to `Commit` object. This is used to store the signature of the commit, if any. * Rename gpg to pgp | ||||
* | | packp/capability: Skip argument validations for unknown capabilities | Ori Rawlings | 2017-10-23 | 3 | -11/+36 |
| | | | | | | | | Fixes #623 | ||||
* | | Fixed SCP regex | J. Fernando Sánchez | 2017-09-28 | 2 | -2/+2 |
| | | | | | | | | URLs should be user@server:port/path instead of user@server:port:path | ||||
* | | Adds port to SCP Endpoints | J. Fernando Sánchez | 2017-09-28 | 2 | -3/+23 |
| | | | | | | | | | | | | The port for SCP-like URLs was hardcoded to 22. This commit modifies the regex to find a port (optional), and adds a new test case that covers this scenario. | ||||
* | | revlist: do not revisit ancestors as long as all branches are visited | Miguel Molina | 2017-09-12 | 2 | -3/+84 |
| | | | | | | | | | | | | | | | | | | | | This change is the fixed version of the previous performance improvement that was reverted due to some bogus logic. Now it's fixed and only stops the iteration if and only if all of the branches we've come across have been visited, being a branch a parent commit of a commit we've visited. Signed-off-by: Miguel Molina <miguel@erizocosmi.co> |