From: "Imran M Yousuf" <imyousuf@gmail.com>
To: "Robin Rosenberg" <robin.rosenberg@dewire.com>
Cc: "Shawn O. Pearce" <spearce@spearce.org>,
git@vger.kernel.org, "Dave Watson" <dwatson@mimvista.com>
Subject: Re: [jgit] index v2 pull request
Date: Mon, 10 Mar 2008 13:32:21 +0600 [thread overview]
Message-ID: <7bfdc29a0803100032q6b30f16el97c021f3b051b944@mail.gmail.com> (raw)
In-Reply-To: <200803100051.55367.robin.rosenberg@dewire.com>
I would like to volunteer to work in JGit;
can someone let me know where I can pick some tasks to implement?
Best regards,
Imran
On Mon, Mar 10, 2008 at 5:51 AM, Robin Rosenberg
<robin.rosenberg@dewire.com> wrote:
> Den Saturday 08 March 2008 03.50.27 skrev Shawn O. Pearce:
>
> > So I've started to hack on jgit again, to build out more of the lower
> > level library.
> Welcome back Shawn!
>
>
> > This particular series adds support for pack file index v2, which
> > Nico added to C Git several months ago and is slated to become the
> > default pack index file format in a future release of Git, due to
> > its increased error checking during delta reuse.
> This i great news. I've been thinking about it, praying that you'd come
> and do the work. :)
>
>
> > We now actually use the following .git/config options to control
> > how the window cache limits work:
> >
> > core.packedGitWindowSize
> > core.packedGitLimit
> > core.deltaBaseCacheLimit
> > core.packedGitMMAP
>
> Will the net effect, in practice, be the same on Jgit as on C Git?
>
>
> > repo.or.cz:/srv/git/egit/spearce.git master
> Something missing in the formatting?
>
>
> > Shawn O. Pearce (41):
> > Make the absolute path of a WindowedFile available to callers
> > Include the pack index file name when reporting a bad header
> > Report pack file open failures to the console
> > Refactor index reading code from PackFile to PackIndex
> > Rename PackIndex.readIndexHeader to loadVersion1
> > Read pack index files using FileInputStream and not WindowedFile
> > Don't bother checking the index file length after reading it
> > Move index:pack object count checking into PackFile class
> > Refactor PackIndex version 1 handling code into PackIndexV1
> > Fully document the PackIndex API
> > Hoist readFully and decodeUInt32 up from PackIndexV1 to PackIndex
> > Refactor PackIndex.readFully to support reading into the middle
> > Read the pack index header to perform automatic version detection
> > Add complete reading support for pack index v2
> Yum, yum. My 15 minute review so far likes it.
>
> > Stop creating "new format" loose objects as C Git no longer likes
> > them Refactor RepositoryConfig to be stacked many levels deep
> And there goes the unit test for reading them...
>
>
> > Don't make unit tests depend upon compressed file lengths
> > Corrected name of the method that reloads the packed-refs data
> > Cleanup misspelling in Javadoc of Repository class
> > Extract StGitPatch from Repository to its own top-level type
> I'm considering dropping stacked git support. We should have much
> more of it and I don't use it myself anymore to what support we have
> gets very little testing.
>
>
> > Refactor RepositoryState into its own top-level type
> \ No newline at end of file
>
>
> > Refactor PackFile construction to take the idxFile path from scan
> > Shuffle the length of a WindowedFile down into its provider
> > Defer opening pack files until we actually need object data
> > Use Java 5 bit twiddling APIs rather than hand-rolling bit counting
> I'm surprised *you* didn't know about them bitcounting algorithm java uses
> before. It's pretty common.
>
>
> > Support reading config file integers with k/m/g suffixes
> > Honor core.packedGitWindowSize, packedGitLimit, packedGitMMAP config
> > Enable easy access to the user's ~/.gitconfig
> > Use a single WindowCache for the entire Eclipse workspace
> > Modify the WindowedFile API to pass around a WindowCursor during reads
> > Change ByteWindow implementations to hold data by SoftReferences
> > Refactor WindowedFile/WindowCache so all windows are a uniform size
> > Simplify WindowCache and WindowedFile internal APIs to be private Use
> a proper ReferenceQueue to avoid duplpicate window entries
> > New RepositoryConfig getInt,getBoolean helper methods with no
> subsection Change delta packed object loaders to use a PackedObjectLoader for
> base Implement core.deltaBaseCacheLimit to improve unpacking performance
> > Remove unnecessary bitwise AND masks in readTree
> Good catch
>
> > Precount the number of tree entries during readTree
> this one too
>
> > Change the ObjectLoader.getType method to return int
> > Fix ArrayIndexOutOfBoundsException in WindowCache
>
> Very good work (as always) Shawn. I've only read the code so far. I'll do some
> testing too before pushing. Do you have any unit tests for the v2 pack format
> (config reading too for that matter)?
>
> -- robin
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Imran M Yousuf
Entrepreneur & Software Engineer
Smart IT Engineering
Dhaka, Bangladesh
Email: imran@smartitengineering.com
Mobile: +880-1711402557
next prev parent reply other threads:[~2008-03-10 7:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-08 2:50 [jgit] index v2 pull request Shawn O. Pearce
2008-03-08 9:08 ` Jakub Narebski
2008-03-09 0:51 ` Shawn O. Pearce
2008-03-09 23:51 ` Robin Rosenberg
2008-03-10 7:32 ` Imran M Yousuf [this message]
2008-03-10 21:53 ` Robin Rosenberg
2008-03-12 2:52 ` Imran M Yousuf
2008-03-12 7:07 ` Robin Rosenberg
2008-03-12 7:52 ` Shawn O. Pearce
2008-03-12 8:19 ` Imran M Yousuf
2008-03-11 0:35 ` Shawn O. Pearce
2008-03-11 2:24 ` Imran M Yousuf
2008-03-10 23:31 ` Shawn O. Pearce
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7bfdc29a0803100032q6b30f16el97c021f3b051b944@mail.gmail.com \
--to=imyousuf@gmail.com \
--cc=dwatson@mimvista.com \
--cc=git@vger.kernel.org \
--cc=robin.rosenberg@dewire.com \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).