Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix goreportcard warnings | Oleg Kovalov | 2020-07-01 | 3 | -3/+3 |
| | |||||
* | ci: based on github actionsv5.0.0 | Máximo Cuadros | 2020-03-15 | 1 | -5/+1 |
| | |||||
* | *: migration from go-git-fixtures/v4 and go-git/gcfg | Máximo Cuadros | 2020-03-10 | 4 | -9/+5 |
| | |||||
* | *: migration from gopkg to go modules | Máximo Cuadros | 2020-03-10 | 8 | -13/+13 |
| | |||||
* | Fix typos in comments, variables and function names | Oleksandr Redko | 2019-10-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com> | ||||
* | *: avoid unnecessary conversions | Christian Muehlhaeuser | 2019-07-29 | 1 | -1/+1 |
| | | | | | | | No need to convert these values, they're already of the right type. Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com> (cherry picked from commit a1d8a7ac8bd0e4aff0f27dbb8bb37b8bd13a1346) | ||||
* | plumbing/format: idxfile, unsigned values are never < 0 | Christian Muehlhaeuser | 2019-07-29 | 1 | -4/+0 |
| | | | | | Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com> (cherry picked from commit 047bb4f6d0657389ddd4ca3230ff3bee08d66a6b) | ||||
* | plumbing: format/idxfile, avoid looking up the fanout mapping in the ↵ | Filip Navara | 2019-04-26 | 1 | -10/+7 |
| | | | | | | iterator twice Signed-off-by: Filip Navara <filip.navara@gmail.com> | ||||
* | plumbing: format/idxfile, save another 18% of time in genOffsetHash by not ↵ | Filip Navara | 2019-04-25 | 1 | -14/+11 |
| | | | | | | using iterator and not loading CRC Signed-off-by: Filip Navara <filip.navara@gmail.com> | ||||
* | plumbing: format/idxfile, avoid creating temporary buffers to decode integers | Filip Navara | 2019-04-25 | 1 | -32/+15 |
| | | | | Signed-off-by: Filip Navara <filip.navara@gmail.com> | ||||
* | plumbing: idxfile, avoid unnecessary building of reverse offset/hash map | Filip Navara | 2019-04-20 | 1 | -4/+26 |
| | | | | Signed-off-by: Filip Navara <navara@emclient.com> | ||||
* | plumbing/idxfile: object iterators returns entries in offset order | Javi Fontan | 2018-08-21 | 2 | -0/+84 |
| | | | | | | | | | | | In the latest change the order was changed from offset order in packfiles to hash order. This makes reading all the objects not as efficient as before. It also created problems when the previous order was expected. Also added EntriesByOffset to indexes. Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | plumbing: idxfile, Crc32 to CRC32 and return ok from findHashIndex | Miguel Molina | 2018-08-10 | 4 | -23/+23 |
| | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | plumbing: packfile, allow non-seekable sources on Parser | Miguel Molina | 2018-08-08 | 1 | -2/+3 |
| | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | *: use parser to populate non writable storages and bug fixes | Miguel Molina | 2018-08-07 | 2 | -2/+2 |
| | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | plumbing: packfile, fix package tests | Miguel Molina | 2018-07-30 | 2 | -1/+18 |
| | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | plumbing/idxfile: test FindHash and writer with 64 bit offsets | Javi Fontan | 2018-07-27 | 2 | -10/+107 |
| | | | | Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | plumbing: packfile, lazy object reads with DiskObjects | Miguel Molina | 2018-07-27 | 1 | -14/+11 |
| | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | plumbing/idxfile: index is created only once and retrieved with Index | Javi Fontan | 2018-07-26 | 2 | -35/+70 |
| | | | | | | Index is also automatically generated when OnFooter is called. Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | plumbing/idxfile: add offset/hash mapping to index | Javi Fontan | 2018-07-26 | 1 | -0/+51 |
| | | | | | | | This functionality may be moved elsewhere in the future but is needed now to fit filesystem.ObjectStorage and the new index. Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | plumbing/idxfile: fix bug searching in MemoryIndex | Javi Fontan | 2018-07-26 | 1 | -2/+2 |
| | | | | Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | plumbing/idxfile: support offset64 generating indexes | Javi Fontan | 2018-07-26 | 2 | -5/+65 |
| | | | | Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | plumbing/idxfile: use Entry to hold object data | Javi Fontan | 2018-07-26 | 1 | -16/+11 |
| | | | | Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | plumbing: idxfile, add idxfile.Writer with Observer interface | Javi Fontan | 2018-07-26 | 1 | -0/+132 |
| | | | | | | | | | It's still not complete: * 64 bit offsets * IdxChecksum Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | plumbing/format/idxfile: add new Index and MemoryIndex | Miguel Molina | 2018-07-19 | 6 | -204/+466 |
| | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | idxfile: optimise allocations in readObjectNames | David Symonds | 2018-05-30 | 1 | -4/+4 |
| | | | | | | | This makes all the required Entry allocations in one go, instead of huge amounts of small individual allocations. Signed-off-by: David Symonds <dsymonds@golang.org> | ||||
* | update to go-billy.v4 and go-git-fixtures.v3 | Máximo Cuadros | 2017-11-23 | 2 | -2/+2 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | format: idxfile, support for >2Gb packfiles | Máximo Cuadros | 2017-07-27 | 4 | -1/+106 |
| | |||||
* | packfile: create packfile.Index and reuse it | Santiago M. Mola | 2017-07-26 | 5 | -11/+13 |
| | | | | | | | | | | | | | | | There was an internal type (i.e. storage/filesystem.idx) to use as in-memory index for packfiles. This was not convenient to reuse in the packfile. This commit creates a new representation (format/packfile.Index) that can be converted to and from idxfile.Idxfile. A packfile.Index now contains the functionality that was scattered on storage/filesystem.idx and packfile.Decoder's internals. storage/filesystem now reuses packfile.Index instances and this also results in higher cache hit ratios when resolving deltas. | ||||
* | Use buffered IO for decoding index files. | JP Sugarbroad | 2017-07-10 | 1 | -2/+3 |
| | | | | This reduces syscall CPU time from >40% to <10% in my local repository. | ||||
* | fix gofmt | Santiago M. Mola | 2017-06-13 | 2 | -2/+4 |
| | |||||
* | project: move imports from srcd.works to gopkg.in | Antonio Jesus Navarro Perez | 2017-03-07 | 5 | -7/+7 |
| | | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release. | ||||
* | Return values of Read not checked (fix #65) | Antonio Jesus Navarro Perez | 2017-03-02 | 1 | -4/+4 |
| | |||||
* | package plumbing documentation improvements (#248) | Máximo Cuadros | 2017-02-07 | 4 | -141/+137 |
| | |||||
* | new srcd.works/go-git.v4 path | Máximo Cuadros | 2017-01-30 | 5 | -7/+7 |
| | |||||
* | new git fixture path | Máximo Cuadros | 2017-01-30 | 2 | -2/+2 |
| | |||||
* | Fix some typos in plumbing docs (#244) | Sergio Arbeo | 2017-01-30 | 1 | -1/+1 |
| | |||||
* | new plumbing package (#118) | Máximo Cuadros | 2016-11-08 | 6 | -0/+590 |
* plumbing: now core was renamed to core, and formats and clients moved inside |