Permalink
Commits on Sep 14, 2009
  1. Issue 20: Use CommitBuilder in CommitAction

    jonas committed Sep 11, 2009
    Makes it possible to update the index and write the commit in one go.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  2. Issue 20: Introduce CommitBuilder utility for creating commits

    jonas committed Sep 11, 2009
    It is currently just a facade for GitCommit.doCommit(). To ease testing
    the PersonIdent is now passed as an argument.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  3. GitCommand: Remove commit code dealing with multiple repositories

    jonas committed Sep 11, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  4. Issue 20: Make IndexBuilder print "M file" when adding modified files

    jonas committed Sep 11, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  5. Issue 20: Make IndexBuilder update the index incrementally

    jonas committed Sep 11, 2009
    This way checking for non-existing files is done automatically.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Commits on Sep 11, 2009
  1. Fix the test data generator setup script to unset the golden file path

    jonas committed Sep 11, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  2. Fix timing emulation in the test generators

    jonas committed Sep 11, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  3. Issue 20: Move GitCommand.doCat() into GitUtils.getFileRevision()

    jonas committed Sep 9, 2009
    IOExceptions thrown by the checkout will now be passed on.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  4. Issue 20: Move GitCommand.doRevert() to RevertModificationsAction

    jonas committed Sep 9, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  5. Issue 20: Use CheckoutBuilder in GitCommand.doCat()

    jonas committed Sep 9, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  6. Issue 20: Use CheckoutBuilder in GitCommand.doRevert()

    jonas committed Sep 9, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  7. Issue 20: Introduce CheckoutBuilder to wrap GitIndex checkout usage

    jonas committed Sep 9, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  8. Issue 20: Test IndexBuilder wrt. modified files and file modes

    jonas committed Sep 10, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  9. RepositoryTestCase: Move index comparison method from IndexBuilderTest

    jonas committed Sep 10, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  10. RepositoryTestCase: Make it possible to reuse repository test data

    jonas committed Sep 10, 2009
    Copy files from test/unit/data/$className/$repo.{git,workdir} as well as
    test/unit/data/$className/$test/$repo.{git,workdir}. This will help to
    limit the number of required data files.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  11. Issue 20: Factor out ClientBuilder from IndexBuilder

    jonas committed Sep 9, 2009
    It holds the basic utility methods and log management. Add test for
    logging.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  12. Change test generators to use "git add" etc instead of custom commands

    jonas committed Sep 10, 2009
    Should make tests more readable and will make it possible to more easily
    extend the supported git commands. Also add support for commit, merge
    and running gc to compress a repository.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  13. update-testdata: Fix matching from the root directory

    jonas committed Sep 10, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Commits on Sep 8, 2009
  1. Issue 20: Make IndexBuilder optionally log operations

    jonas committed Sep 4, 2009
    This changes the format of printed output more uniform and dense by
    using status modifiers such as "A", "D", and "R".
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  2. Issue 20: Move IndexBuilder usage from GitCommand to GitInterceptor

    jonas committed Sep 4, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  3. Issue 20: Move IndexBuilder usage from GitCommand to CommitAction

    jonas committed Sep 4, 2009
    Allows to batch both add and delete updates in one go.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  4. Issue 20: Use IndexBuilder in GitCommand.do{Add,Remove,Move}

    jonas committed Sep 4, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  5. Issue 20: Convert InitAction to use IndexBuilder

    jonas committed Aug 11, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  6. Issue 20: Add IndexBuild utility which encapsulates access to GitIndex

    jonas committed Sep 1, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  7. Add small framework for generating test data from simple specifications

    jonas committed Sep 8, 2009
    For now it is written in portable sh.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Commits on Sep 4, 2009
  1. RepositoryTestCase: Refactor copyFile into copyStream

    jonas committed Sep 2, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  2. RepositoryTestCase: Refactor to build abstract files from relative paths

    jonas committed Sep 2, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  3. RepositoryTestCase: Allow copying of only work or git dir

    jonas committed Sep 2, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  4. GitInterceptor: Replace GitCommand.doRenameAfter calls with Exceptions

    jonas committed Sep 4, 2009
    This is a defensive measure, as I don't know if they are really needed.
    They are currently unimplemented, and thus this code should be
    equivalent to the old one.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  5. GitInterceptor: Refactor renaming hook to use new GitCommand.doMove()

    jonas committed Sep 4, 2009
    So we can update the index in one go.
    
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  6. ConflictResolvedAction: Move unimplemented GitCommand.deleteConflictFile

    jonas committed Sep 4, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  7. UpdateAction: Move unimplemented calls from GitCommand

    jonas committed Sep 4, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
  8. GitUtils: Make forceStatusRefresh() iterate the Map.Entry set

    jonas committed Aug 12, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Commits on Sep 3, 2009
  1. Git: Remove unneeded import

    jonas committed Aug 12, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Commits on Aug 31, 2009
  1. nbgit-0.3

    jonas committed Aug 31, 2009
    Signed-off-by: Jonas Fonseca <fonseca@diku.dk>