Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "JGit/New and Noteworthy/4.8"
< JGit | New and Noteworthy
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
=JGit= | =JGit= | ||
Line 7: | Line 5: | ||
* Allow DfsReader to be subclassed | * Allow DfsReader to be subclassed | ||
* Track read IO statistics for DfsReader | * Track read IO statistics for DfsReader | ||
− | * | + | * Support pulling remote branches to apply them on detached HEAD {{bug|485396}} |
− | + | ||
* Reset ObjectWalker when it starts a new walk | * Reset ObjectWalker when it starts a new walk | ||
* Clone: add --recurse-submodules option | * Clone: add --recurse-submodules option | ||
Line 14: | Line 11: | ||
* RepoCommand: Add linkfile support. | * RepoCommand: Add linkfile support. | ||
* BundleWriter: Allow constructing from only an ObjectReader | * BundleWriter: Allow constructing from only an ObjectReader | ||
+ | * Support creating Mergers without a Repository using an ObjectInserter and a config that declares a diff algorithm. | ||
+ | * Run auto GC in the background. Execute gc at maximum once per day if number of loose unreachable objects which didn't expire yet exceeds gc.auto limit. | ||
+ | * Allow to use an external ExecutorService for background auto-gc | ||
+ | * Use a dedicated executor to run auto-gc in command line interface | ||
+ | * Fetch: Add --recurse-submodules and --no-recurse-submodules options | ||
+ | |||
+ | ==Performance Improvements== | ||
+ | * Exclude refs/tags from bitmap commit selection to reduce the number of bitmaps created and reduce the memory pressure on the GC task. | ||
+ | * Reduce fetch bandwidth cost when objects described by the client are missing on the server | ||
==Build and Release Engineering== | ==Build and Release Engineering== | ||
+ | * Upgrade maven plugins | ||
+ | * Update jetty to 9.4.5 {{bug|516514}} | ||
+ | * Update Orbit dependencies to the Oxygen version R20170516192513 | ||
= Bug Fixes = | = Bug Fixes = | ||
− | [https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&list_id=10006180&order=Importance&product=JGit&query_format=advanced&resolution=FIXED&resolution=DUPLICATE&target_milestone=4.8 | + | [https://bugs.eclipse.org/bugs/buglist.cgi?classification=Technology&list_id=10006180&order=Importance&product=JGit&query_format=advanced&resolution=FIXED&resolution=DUPLICATE&target_milestone=4.8 No enhancement requests and 5 bugs] were closed |
+ | |||
+ | * Checkout should not use too long filenames {{bug|508823}} | ||
+ | * Clean up the disk when cloning fails {{bug|516303}} | ||
+ | * Add shutdown hook to cleanup unfinished clone when JVM is killed {{bug|516303}} | ||
+ | * Fix stack overflow in MergeBaseGenerator | ||
+ | * DfsGarbageCollector: Delete expired garbage even when there is no GC pack present. | ||
+ | * When looping through alternates, prevent visiting the same object directory twice. | ||
+ | * Fix RepoCommand to allow for relative URLs | ||
+ | * PackWriterBitmapWalker: only throw MissingObjectException when necessary | ||
+ | * Archive TarFormat: Use commit time as timestamp for entries | ||
+ | * Make diff locations more consistent fixing incorrectly removed or duplicated lines in 3-way merge {{bug|514095}} | ||
+ | * Fix out-of-bounds exception in RepoCommand#relative | ||
+ | * Fix null return from FS.readPipe when command fails to launch | ||
= Contributors = | = Contributors = | ||
− | The following | + | The following 18 developers worked on this release of JGit : |
+ | |||
+ | Andrey Loskutov, | ||
+ | Bryan Donlan, | ||
+ | Christian Halstrick, | ||
+ | Dan Willemsen, | ||
+ | Dave Borowitz, | ||
+ | David Pursehouse, | ||
+ | Han-Wen Nienhuys, | ||
+ | Jonathan Nieder, | ||
+ | KB Sriram, | ||
+ | Martin Fick, | ||
+ | Masaya SuzukiZhen Chen, | ||
+ | Mat Booth, | ||
+ | Matthias Sohn, | ||
+ | Mickael Istria, | ||
+ | Shawn Pearce, | ||
+ | Terry Parker, | ||
+ | Thirumala Reddy Mutchukota, | ||
+ | Thomas Wolf | ||
− | + | [[Category:JGit]] |
Latest revision as of 22:37, 29 November 2023
Contents
JGit
Features
- Allow DfsReader to be subclassed
- Track read IO statistics for DfsReader
- Support pulling remote branches to apply them on detached HEAD bug 485396
- Reset ObjectWalker when it starts a new walk
- Clone: add --recurse-submodules option
- Add parseCommit(AnyObjectId) method to Repository.
- RepoCommand: Add linkfile support.
- BundleWriter: Allow constructing from only an ObjectReader
- Support creating Mergers without a Repository using an ObjectInserter and a config that declares a diff algorithm.
- Run auto GC in the background. Execute gc at maximum once per day if number of loose unreachable objects which didn't expire yet exceeds gc.auto limit.
- Allow to use an external ExecutorService for background auto-gc
- Use a dedicated executor to run auto-gc in command line interface
- Fetch: Add --recurse-submodules and --no-recurse-submodules options
Performance Improvements
- Exclude refs/tags from bitmap commit selection to reduce the number of bitmaps created and reduce the memory pressure on the GC task.
- Reduce fetch bandwidth cost when objects described by the client are missing on the server
Build and Release Engineering
- Upgrade maven plugins
- Update jetty to 9.4.5 bug 516514
- Update Orbit dependencies to the Oxygen version R20170516192513
Bug Fixes
No enhancement requests and 5 bugs were closed
- Checkout should not use too long filenames bug 508823
- Clean up the disk when cloning fails bug 516303
- Add shutdown hook to cleanup unfinished clone when JVM is killed bug 516303
- Fix stack overflow in MergeBaseGenerator
- DfsGarbageCollector: Delete expired garbage even when there is no GC pack present.
- When looping through alternates, prevent visiting the same object directory twice.
- Fix RepoCommand to allow for relative URLs
- PackWriterBitmapWalker: only throw MissingObjectException when necessary
- Archive TarFormat: Use commit time as timestamp for entries
- Make diff locations more consistent fixing incorrectly removed or duplicated lines in 3-way merge bug 514095
- Fix out-of-bounds exception in RepoCommand#relative
- Fix null return from FS.readPipe when command fails to launch
Contributors
The following 18 developers worked on this release of JGit :
Andrey Loskutov, Bryan Donlan, Christian Halstrick, Dan Willemsen, Dave Borowitz, David Pursehouse, Han-Wen Nienhuys, Jonathan Nieder, KB Sriram, Martin Fick, Masaya SuzukiZhen Chen, Mat Booth, Matthias Sohn, Mickael Istria, Shawn Pearce, Terry Parker, Thirumala Reddy Mutchukota, Thomas Wolf