Community
Participate
Working Groups
* StoredObjectRepresentationNotAvailableException: ObjectToPack. * BitmapIndex.BitmapBuilder.removeAllOrNone(): PackBitmapIndex. * PackParser.parse(): PackLock. * UploadPack.setCachedPackUriProvider(): CachedPackUriProvider. Can we fix these for 6.0?
PackParser.parse() returning PackLock: the only thing a user should do with the returned object is unlock it to make sure the pack is unlocked. Can we turn this into an interface, exposing only the unlock() method? Then have an internal PackLockImpl, and use that internally?
UploadPack.setCachedPackUriProvider(): none of the methods of CachePack appear to be pertinent to a CachedPackUriProvider. So I'd make CachedPackUriProvider public, but replace CachedPack by an (empty) marker interface ICachedPack. CachedPack would implement ICachedPack, but itself remain internal. Making CachedPack public would require also making ObjectToPack and StoredObjectRepresentation public...
New Gerrit change created: https://git.eclipse.org/r/c/jgit/jgit/+/187491
New Gerrit change created: https://git.eclipse.org/r/c/jgit/jgit/+/187492
BitmapIndex.BitmapBuilder.removeAllOrNone(): not quite clear to me what to do about the internal type PackBitmapIndex. Perhaps also a public interface; but would it make sense to expose some of the methods on the current abstract class, and if so, which ones? Or should this removeAllOrNone() methods not be public at all?
Gerrit change https://git.eclipse.org/r/c/jgit/jgit/+/187447 was merged to [master]. Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=1e37438cb7b2b16b2733693292904d03f1ecd906
Gerrit change https://git.eclipse.org/r/c/jgit/jgit/+/187491 was merged to [master]. Commit: http://git.eclipse.org/c/jgit/jgit.git/commit/?id=51545854392a08077631813dd8acdde3b642762c