{"thread":{"id":"15352","subject":"[JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","startedAt":"2008-09-03T09:10:22Z","lastAt":"2008-09-05T01:48:49Z","messageCount":13,"participants":["Jonas Fonseca","Shawn O. Pearce","Imran M Yousuf","Jakub Narebski"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"89604","messageId":"20080903091022.GC23406@diku.dk","threadId":"15352","inReplyTo":null,"subject":"[JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Jonas Fonseca","fromEmail":"fonseca@diku.dk","sentAt":"2008-09-03T09:10:22Z","receivedAt":"2008-09-03T09:10:22Z","isPatch":true,"sender":{"key":"fonseca@diku.dk","avatar":"https://gravatar.com/avatar/f82f3ad698717c51873b020c750a92438c820a24056dc39fe4d07baa10a92264?d=mp&s=160"},"body":"This simplifies the code for accessing files.\n\nSigned-off-by: Jonas Fonseca <fonseca@diku.dk>\n---\n\n This is a workaround patch disguised as a cleanup patch. For NetBeans I\n am not yet sure how to setup JGit as a project where everythng works.\n For now I need to be able to override the path to files used by the\n tests and this patch reduces that change to one single place.\n\n .../dircache/DirCacheCGitCompatabilityTest.java    |    4 ----\n .../tst/org/spearce/jgit/lib/PackIndexV1Test.java  |    6 ++----\n .../tst/org/spearce/jgit/lib/PackIndexV2Test.java  |    6 ++----\n .../org/spearce/jgit/lib/PackReverseIndexTest.java |    3 +--\n .../tst/org/spearce/jgit/lib/PackWriterTest.java   |    3 +--\n .../org/spearce/jgit/lib/RepositoryTestCase.java   |    8 ++++++--\n .../tst/org/spearce/jgit/lib/T0004_PackReader.java |    4 ++--\n .../org/spearce/jgit/transport/IndexPackTest.java  |    4 ++--\n 8 files changed, 16 insertions(+), 22 deletions(-)\n\ndiff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/dircache/DirCacheCGitCompatabilityTest.java b/org.spearce.jgit.test/tst/org/spearce/jgit/dircache/DirCacheCGitCompatabilityTest.java\nindex 43b23f6..f8f7fe9 100644\n--- a/org.spearce.jgit.test/tst/org/spearce/jgit/dircache/DirCacheCGitCompatabilityTest.java\n+++ b/org.spearce.jgit.test/tst/org/spearce/jgit/dircache/DirCacheCGitCompatabilityTest.java\n@@ -137,10 +137,6 @@ assertEquals(ObjectId\n \t\t}\n \t}\n \n-\tprivate File pathOf(final String name) {\n-\t\treturn new File(\"tst\", name);\n-\t}\n-\n \tprivate Map<String, CGitIndexRecord> readLsFiles() throws Exception {\n \t\tfinal LinkedHashMap<String, CGitIndexRecord> r = new LinkedHashMap<String, CGitIndexRecord>();\n \t\tfinal BufferedReader br = new BufferedReader(new InputStreamReader(\ndiff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackIndexV1Test.java b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackIndexV1Test.java\nindex 49235ca..036aacb 100644\n--- a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackIndexV1Test.java\n+++ b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackIndexV1Test.java\n@@ -44,14 +44,12 @@\n public class PackIndexV1Test extends PackIndexTest {\n \t@Override\n \tpublic File getFileForPack34be9032() {\n-\t\treturn new File(new File(\"tst\"),\n-\t\t\t\t\"pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idx\");\n+\t\treturn pathOf(\"pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idx\");\n \t}\n \n \t@Override\n \tpublic File getFileForPackdf2982f28() {\n-\t\treturn new File(new File(\"tst\"),\n-\t\t\t\t\"pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idx\");\n+\t\treturn pathOf(\"pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idx\");\n \t}\n \n \t/**\ndiff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackIndexV2Test.java b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackIndexV2Test.java\nindex c986c49..c44edcf 100644\n--- a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackIndexV2Test.java\n+++ b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackIndexV2Test.java\n@@ -44,14 +44,12 @@\n public class PackIndexV2Test extends PackIndexTest {\n \t@Override\n \tpublic File getFileForPack34be9032() {\n-\t\treturn new File(new File(\"tst\"),\n-\t\t\t\t\"pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idxV2\");\n+\t\treturn pathOf(\"pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idxV2\");\n \t}\n \n \t@Override\n \tpublic File getFileForPackdf2982f28() {\n-\t\treturn new File(new File(\"tst\"),\n-\t\t\t\t\"pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idxV2\");\n+\t\treturn pathOf(\"pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.idxV2\");\n \t}\n \n \t/**\ndiff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackReverseIndexTest.java b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackReverseIndexTest.java\nindex 52d1282..63bf083 100644\n--- a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackReverseIndexTest.java\n+++ b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackReverseIndexTest.java\n@@ -54,8 +54,7 @@\n \tpublic void setUp() throws Exception {\n \t\tsuper.setUp();\n \t\t// index with both small (< 2^31) and big offsets\n-\t\tidx = PackIndex.open(new File(new File(\"tst\"),\n-\t\t\t\t\"pack-huge.idx\"));\n+\t\tidx = PackIndex.open(pathOf(\"pack-huge.idx\"));\n \t\treverseIdx = new PackReverseIndex(idx);\n \t}\n \ndiff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackWriterTest.java b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackWriterTest.java\nindex 4dd4b2a..c715182 100644\n--- a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackWriterTest.java\n+++ b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/PackWriterTest.java\n@@ -239,8 +239,7 @@ public void testWritePack2DeltasCRC32Copy() throws IOException {\n \t\t\t\t\"pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.pack\");\n \t\tfinal File crc32Idx = new File(packDir,\n \t\t\t\t\"pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idx\");\n-\t\tcopyFile(new File(new File(\"tst\"),\n-\t\t\t\t\"pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idxV2\"),\n+\t\tcopyFile(pathOf(\"pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.idxV2\"),\n \t\t\t\tcrc32Idx);\n \t\tdb.openPack(crc32Pack, crc32Idx);\n \ndiff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/RepositoryTestCase.java b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/RepositoryTestCase.java\nindex 14e7179..610296f 100644\n--- a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/RepositoryTestCase.java\n+++ b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/RepositoryTestCase.java\n@@ -50,7 +50,7 @@\n \n public abstract class RepositoryTestCase extends TestCase {\n \n-\tprotected final File trashParent = new File(\"trash\");\n+\tprotected final File trashParent = pathOf(\"trash\");\n \n \tprotected File trash;\n \n@@ -65,6 +65,10 @@\n \t\tjcommitter = new PersonIdent(\"J. Committer\", \"jcommitter@example.com\");\n \t}\n \n+\tprotected static File pathOf(final String name) {\n+\t\treturn new File(\"tst\", name);\n+\t}\n+\n \tprotected static void recursiveDelete(final File dir) {\n \t\tfinal File[] ls = dir.listFiles();\n \t\tif (ls != null) {\n@@ -142,7 +146,7 @@ public void run() {\n \t\t\t\t\"pack-9fb5b411fe6dfa89cc2e6b89d2bd8e5de02b5745\",\n \t\t\t\t\"pack-e6d07037cbcf13376308a0a995d1fa48f8f76aaa\"\n \t\t};\n-\t\tfinal File tst = new File(\"tst\");\n+\t\tfinal File tst = pathOf(\".\");\n \t\tfinal File packDir = new File(db.getObjectsDirectory(), \"pack\");\n \t\tfor (int k = 0; k < packs.length; k++) {\n \t\t\tcopyFile(new File(tst, packs[k] + \".pack\"), new File(packDir,\ndiff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/T0004_PackReader.java b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/T0004_PackReader.java\nindex c036e79..fa95939 100644\n--- a/org.spearce.jgit.test/tst/org/spearce/jgit/lib/T0004_PackReader.java\n+++ b/org.spearce.jgit.test/tst/org/spearce/jgit/lib/T0004_PackReader.java\n@@ -43,7 +43,7 @@\n \n public class T0004_PackReader extends RepositoryTestCase {\n \tprivate static final String PACK_NAME = \"pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f\";\n-\tprivate static final File TEST_PACK = new File(new File(\"tst\"), PACK_NAME + \".pack\");\n+\tprivate static final File TEST_PACK = pathOf(PACK_NAME + \".pack\");\n \tprivate static final File TEST_IDX = new File(TEST_PACK.getParentFile(), PACK_NAME + \".idx\");\n \n \tpublic void test003_lookupCompressedObject() throws IOException {\n@@ -77,7 +77,7 @@ public void test004_lookupDeltifiedObject() throws IOException {\n \t}\n \n \tpublic void test005_todopack() throws IOException {\n-\t\tfinal File todopack = new File(new File(\"tst\"), \"todopack\");\n+\t\tfinal File todopack = pathOf(\"todopack\");\n \t\tif (!todopack.isDirectory()) {\n \t\t\tSystem.err.println(\"Skipping \" + getName() + \": no \" + todopack);\n \t\t\treturn;\ndiff --git a/org.spearce.jgit.test/tst/org/spearce/jgit/transport/IndexPackTest.java b/org.spearce.jgit.test/tst/org/spearce/jgit/transport/IndexPackTest.java\nindex ffa9142..18575c8 100644\n--- a/org.spearce.jgit.test/tst/org/spearce/jgit/transport/IndexPackTest.java\n+++ b/org.spearce.jgit.test/tst/org/spearce/jgit/transport/IndexPackTest.java\n@@ -63,7 +63,7 @@\n \t * @throws IOException\n \t */\n \tpublic void test1() throws  IOException {\n-\t\tFile packFile = new File(\"tst/pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.pack\");\n+\t\tFile packFile = pathOf(\"pack-34be9032ac282b11fa9babdc2b2a93ca996c9c2f.pack\");\n \t\tfinal InputStream is = new FileInputStream(packFile);\n \t\ttry {\n \t\t\tIndexPack pack = new IndexPack(db, is, new File(trash, \"tmp_pack1\"));\n@@ -89,7 +89,7 @@ public void test1() throws  IOException {\n \t * @throws IOException\n \t */\n \tpublic void test2() throws  IOException {\n-\t\tFile packFile = new File(\"tst/pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.pack\");\n+\t\tFile packFile = pathOf(\"pack-df2982f284bbabb6bdb59ee3fcc6eb0983e20371.pack\");\n \t\tfinal InputStream is = new FileInputStream(packFile);\n \t\ttry {\n \t\t\tIndexPack pack = new IndexPack(db, is, new File(trash, \"tmp_pack2\"));\n-- \n1.6.0.336.ga07ba\n\n\n\n-- \nJonas Fonseca\n"},{"id":"89649","messageId":"20080903170904.GB28315@spearce.org","threadId":"15352","inReplyTo":"20080903091022.GC23406@diku.dk","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-09-03T17:09:04Z","receivedAt":"2008-09-03T17:09:04Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Jonas Fonseca <fonseca@diku.dk> wrote:\n>  This is a workaround patch disguised as a cleanup patch. For NetBeans I\n>  am not yet sure how to setup JGit as a project where everythng works.\n>  For now I need to be able to override the path to files used by the\n>  tests and this patch reduces that change to one single place.\n\nI wonder if we shouldn't just prod Imran to finish the Maven stuff.\nHe has some patches in there that are specifically for this same\nissue under Maven.\n\n  http://repo.or.cz/w/egit/imyousuf.git?a=shortlog;h=refs/heads/mavenize-jgit\n \n-- \nShawn.\n"},{"id":"89690","messageId":"20080903214818.GB6316@diku.dk","threadId":"15352","inReplyTo":"20080903170904.GB28315@spearce.org","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Jonas Fonseca","fromEmail":"fonseca@diku.dk","sentAt":"2008-09-03T21:48:18Z","receivedAt":"2008-09-03T21:48:18Z","isPatch":true,"sender":{"key":"fonseca@diku.dk","avatar":"https://gravatar.com/avatar/f82f3ad698717c51873b020c750a92438c820a24056dc39fe4d07baa10a92264?d=mp&s=160"},"body":"Shawn O. Pearce <spearce@spearce.org> wrote Wed, Sep 03, 2008:\n> Jonas Fonseca <fonseca@diku.dk> wrote:\n> >  This is a workaround patch disguised as a cleanup patch. For NetBeans I\n> >  am not yet sure how to setup JGit as a project where everythng works.\n> >  For now I need to be able to override the path to files used by the\n> >  tests and this patch reduces that change to one single place.\n> \n> I wonder if we shouldn't just prod Imran to finish the Maven stuff.\n> He has some patches in there that are specifically for this same\n> issue under Maven.\n> \n>   http://repo.or.cz/w/egit/imyousuf.git?a=shortlog;h=refs/heads/mavenize-jgit\n\nI think the patch is a nice cleanup, even if it is a workaround. But\nanything that will help to make the build system more shell friendly is\ngreatly appreciated.\n\n-- \nJonas Fonseca\n"},{"id":"89702","messageId":"20080903230216.GI28315@spearce.org","threadId":"15352","inReplyTo":"20080903214818.GB6316@diku.dk","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-09-03T23:02:16Z","receivedAt":"2008-09-03T23:02:16Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Jonas Fonseca <fonseca@diku.dk> wrote:\n> Shawn O. Pearce <spearce@spearce.org> wrote Wed, Sep 03, 2008:\n> > Jonas Fonseca <fonseca@diku.dk> wrote:\n> > >  This is a workaround patch disguised as a cleanup patch. For NetBeans I\n> > >  am not yet sure how to setup JGit as a project where everythng works.\n> > >  For now I need to be able to override the path to files used by the\n> > >  tests and this patch reduces that change to one single place.\n> > \n> > I wonder if we shouldn't just prod Imran to finish the Maven stuff.\n> > He has some patches in there that are specifically for this same\n> > issue under Maven.\n> > \n> >   http://repo.or.cz/w/egit/imyousuf.git?a=shortlog;h=refs/heads/mavenize-jgit\n> \n> I think the patch is a nice cleanup, even if it is a workaround. But\n> anything that will help to make the build system more shell friendly is\n> greatly appreciated.\n\nIts going to cause a merge conflict with Imran's work.  So I was\nhoping to avoid that and just take his stuff.  But if we can't wait\nthen yea, it is a nice cleanup patch and is worthwhile bringing in.\n\nI'll hold onto it for about a day and see if Imran has any comment,\nand merge yours if I don't hear anything tomorrow-ish.\n\n-- \nShawn.\n"},{"id":"89705","messageId":"20080903235711.GA18666@diku.dk","threadId":"15352","inReplyTo":"20080903230216.GI28315@spearce.org","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Jonas Fonseca","fromEmail":"fonseca@diku.dk","sentAt":"2008-09-03T23:57:11Z","receivedAt":"2008-09-03T23:57:11Z","isPatch":true,"sender":{"key":"fonseca@diku.dk","avatar":"https://gravatar.com/avatar/f82f3ad698717c51873b020c750a92438c820a24056dc39fe4d07baa10a92264?d=mp&s=160"},"body":"Shawn O. Pearce <spearce@spearce.org> wrote Wed, Sep 03, 2008:\n> Jonas Fonseca <fonseca@diku.dk> wrote:\n> > I think the patch is a nice cleanup, even if it is a workaround.\n>\n> Its going to cause a merge conflict with Imran's work.  So I was\n> hoping to avoid that and just take his stuff.  But if we can't wait\n> then yea, it is a nice cleanup patch and is worthwhile bringing in.\n> \n> I'll hold onto it for about a day and see if Imran has any comment,\n> and merge yours if I don't hear anything tomorrow-ish.\n\nOK, no hurry.\n\nBTW, I have started a JGit tutorial on the EGit wiki. For now it \nmostly consists of stub sections, but I hope to put more work into\nit in the days to follow. \"Best viewed\" via:\n\n - http://code.google.com/docreader/#p=egit&t=JGitTutorial\n\nIdeas and improvements for the topics and general structure are very\nwelcome. The structure is given in the TableOfContents page.\n\n - http://code.google.com/p/egit/wiki/TableOfContents\n\n-- \nJonas Fonseca\n"},{"id":"89709","messageId":"9e85b2570809031847r34a760ecwea365930327eb205@mail.gmail.com","threadId":"15352","inReplyTo":"20080903170904.GB28315@spearce.org","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Imran M Yousuf","fromEmail":"imran@smartitengineering.com","sentAt":"2008-09-04T01:47:21Z","receivedAt":"2008-09-04T01:47:21Z","isPatch":true,"sender":{"key":"imran@smartitengineering.com","avatar":"https://gravatar.com/avatar/a9c5dcee49ab153a94c6fc26c5a1e6efe93261425b46f69ccfb8e0a151aa8a60?d=mp&s=160"},"body":"On Wed, Sep 3, 2008 at 11:09 PM, Shawn O. Pearce <spearce@spearce.org> wrote:\n> Jonas Fonseca <fonseca@diku.dk> wrote:\n>>  This is a workaround patch disguised as a cleanup patch. For NetBeans I\n>>  am not yet sure how to setup JGit as a project where everythng works.\n>>  For now I need to be able to override the path to files used by the\n>>  tests and this patch reduces that change to one single place.\n>\n> I wonder if we shouldn't just prod Imran to finish the Maven stuff.\n> He has some patches in there that are specifically for this same\n> issue under Maven.\n>\n\nAlmighty willing, I will submit my patches this weekend (on Saturday).\nI develop in NetBeans so that would make it easier for sure.\n\nCheers,\n\nImran\n\n>  http://repo.or.cz/w/egit/imyousuf.git?a=shortlog;h=refs/heads/mavenize-jgit\n>\n> --\n> Shawn.\n>\n\n\n\n-- \nImran M Yousuf\nEmail: imran@smartitengineering.com\nBlog: http://imyousuf-tech.blogs.smartitengineering.com/\nMobile: +880-1711402557\n"},{"id":"89714","messageId":"20080904032118.GA3262@spearce.org","threadId":"15352","inReplyTo":"9e85b2570809031847r34a760ecwea365930327eb205@mail.gmail.com","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-09-04T03:21:18Z","receivedAt":"2008-09-04T03:21:18Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Imran M Yousuf <imran@smartitengineering.com> wrote:\n> On Wed, Sep 3, 2008 at 11:09 PM, Shawn O. Pearce <spearce@spearce.org> wrote:\n> > Jonas Fonseca <fonseca@diku.dk> wrote:\n> >>  This is a workaround patch disguised as a cleanup patch. For NetBeans I\n> >>  am not yet sure how to setup JGit as a project where everythng works.\n> >>  For now I need to be able to override the path to files used by the\n> >>  tests and this patch reduces that change to one single place.\n> >\n> > I wonder if we shouldn't just prod Imran to finish the Maven stuff.\n> > He has some patches in there that are specifically for this same\n> > issue under Maven.\n> >\n> \n> Almighty willing, I will submit my patches this weekend (on Saturday).\n> I develop in NetBeans so that would make it easier for sure.\n\nAwesome.  Then I'll hold off on Jonas' patch for now.\n\n-- \nShawn.\n"},{"id":"89720","messageId":"20080904040929.GA3633@spearce.org","threadId":"15352","inReplyTo":"20080903235711.GA18666@diku.dk","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2008-09-04T04:09:29Z","receivedAt":"2008-09-04T04:09:29Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Jonas Fonseca <fonseca@diku.dk> wrote:\n> BTW, I have started a JGit tutorial on the EGit wiki. For now it \n> mostly consists of stub sections, but I hope to put more work into\n> it in the days to follow. \"Best viewed\" via:\n> \n>  - http://code.google.com/docreader/#p=egit&t=JGitTutorial\n\nThis is quite nice.  I like the starting page, where you walked\nthrough some of the command line tools.  Well written IMHO.\n \n> Ideas and improvements for the topics and general structure are very\n> welcome. The structure is given in the TableOfContents page.\n> \n>  - http://code.google.com/p/egit/wiki/TableOfContents\n\nThis also looks good.  When I can find some time I'll try to fill\none of these in.  I'm not sure my writing is quite as good as\nyours though.  ;-)\n\n-- \nShawn.\n"},{"id":"89721","messageId":"7bfdc29a0809032116x64448e38s55f512f261e88a62@mail.gmail.com","threadId":"15352","inReplyTo":"20080904040929.GA3633@spearce.org","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Imran M Yousuf","fromEmail":"imyousuf@gmail.com","sentAt":"2008-09-04T04:16:57Z","receivedAt":"2008-09-04T04:16:57Z","isPatch":true,"sender":{"key":"imyousuf@gmail.com","avatar":"https://gravatar.com/avatar/fda3c870262849d03c7b9c4d288842e128d6d80769fa7bc2d22731b7597928be?d=mp&s=160"},"body":"On Thu, Sep 4, 2008 at 10:09 AM, Shawn O. Pearce <spearce@spearce.org> wrote:\n> Jonas Fonseca <fonseca@diku.dk> wrote:\n>> BTW, I have started a JGit tutorial on the EGit wiki. For now it\n>> mostly consists of stub sections, but I hope to put more work into\n>> it in the days to follow. \"Best viewed\" via:\n>>\n>>  - http://code.google.com/docreader/#p=egit&t=JGitTutorial\n>\n> This is quite nice.  I like the starting page, where you walked\n> through some of the command line tools.  Well written IMHO.\n>\n\nA great and welcome initialive.\n\nBest regards,\n\nImran\n\n>> Ideas and improvements for the topics and general structure are very\n>> welcome. The structure is given in the TableOfContents page.\n>>\n>>  - http://code.google.com/p/egit/wiki/TableOfContents\n>\n> This also looks good.  When I can find some time I'll try to fill\n> one of these in.  I'm not sure my writing is quite as good as\n> yours though.  ;-)\n>\n> --\n> Shawn.\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n\n\n\n-- \nImran M Yousuf\nEntrepreneur & Software Engineer\nSmart IT Engineering\nDhaka, Bangladesh\nEmail: imran@smartitengineering.com\nBlog: http://imyousuf-tech.blogs.smartitengineering.com/\nMobile: +880-1711402557\n"},{"id":"89746","messageId":"20080904092311.GA25735@diku.dk","threadId":"15352","inReplyTo":"20080904032118.GA3262@spearce.org","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Jonas Fonseca","fromEmail":"fonseca@diku.dk","sentAt":"2008-09-04T09:23:11Z","receivedAt":"2008-09-04T09:23:11Z","isPatch":true,"sender":{"key":"fonseca@diku.dk","avatar":"https://gravatar.com/avatar/f82f3ad698717c51873b020c750a92438c820a24056dc39fe4d07baa10a92264?d=mp&s=160"},"body":"Shawn O. Pearce <spearce@spearce.org> wrote Wed, Sep 03, 2008:\n> Imran M Yousuf <imran@smartitengineering.com> wrote:\n> > Almighty willing, I will submit my patches this weekend (on Saturday).\n> > I develop in NetBeans so that would make it easier for sure.\n\nPerfect. You might be interested in the hopefully soon to be released\njgit-based nbgit module:\n\n - http://nbgit.googlecode.com/\n\nThe feature set is limited but some of the basics features should be\nthere.\n\n> Awesome.  Then I'll hold off on Jonas' patch for now.\n\nSuper.\n\n-- \nJonas Fonseca\n"},{"id":"89756","messageId":"m3prnkp4qq.fsf@localhost.localdomain","threadId":"15352","inReplyTo":"20080904092311.GA25735@diku.dk","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2008-09-04T10:47:35Z","receivedAt":"2008-09-04T10:47:35Z","isPatch":true,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Jonas Fonseca <fonseca@diku.dk> writes:\n\n> Shawn O. Pearce <spearce@spearce.org> wrote Wed, Sep 03, 2008:\n> > Imran M Yousuf <imran@smartitengineering.com> wrote:\n\n> > > Almighty willing, I will submit my patches this weekend (on Saturday).\n> > > I develop in NetBeans so that would make it easier for sure.\n> \n> Perfect. You might be interested in the hopefully soon to be released\n> jgit-based nbgit module:\n> \n>  - http://nbgit.googlecode.com/\n> \n> The feature set is limited but some of the basics features should be\n> there.\n\nCould you please add it to Git Wiki\n  http://git.or.cz/gitwiki/InterfacesFrontendsAndTools\nwhen it is ready, at least for testing purposes?\n\nTIA\n-- \nJakub Narebski\nPoland\nShadeHawk on #git\n"},{"id":"89758","messageId":"20080904111752.GA27590@diku.dk","threadId":"15352","inReplyTo":"m3prnkp4qq.fsf@localhost.localdomain","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Jonas Fonseca","fromEmail":"fonseca@diku.dk","sentAt":"2008-09-04T11:17:52Z","receivedAt":"2008-09-04T11:17:52Z","isPatch":true,"sender":{"key":"fonseca@diku.dk","avatar":"https://gravatar.com/avatar/f82f3ad698717c51873b020c750a92438c820a24056dc39fe4d07baa10a92264?d=mp&s=160"},"body":"Jakub Narebski <jnareb@gmail.com> wrote Thu, Sep 04, 2008:\n> Could you please add it to Git Wiki\n>   http://git.or.cz/gitwiki/InterfacesFrontendsAndTools\n> when it is ready, at least for testing purposes?\n\nOf course. There is already a NetbeansPlugin page but it doesn't look\nlike it was integrated into the tools list.\n\n-- \nJonas Fonseca\n"},{"id":"89819","messageId":"9e85b2570809041848x6b232508y535974e6036eed51@mail.gmail.com","threadId":"15352","inReplyTo":"20080904092311.GA25735@diku.dk","subject":"Re: [JGIT PATCH 2/2] Move pathOf to RepositoryTestCase and use it for locating test files","fromName":"Imran M Yousuf","fromEmail":"imran@smartitengineering.com","sentAt":"2008-09-05T01:48:49Z","receivedAt":"2008-09-05T01:48:49Z","isPatch":true,"sender":{"key":"imran@smartitengineering.com","avatar":"https://gravatar.com/avatar/a9c5dcee49ab153a94c6fc26c5a1e6efe93261425b46f69ccfb8e0a151aa8a60?d=mp&s=160"},"body":"On Thu, Sep 4, 2008 at 3:23 PM, Jonas Fonseca <fonseca@diku.dk> wrote:\n> Shawn O. Pearce <spearce@spearce.org> wrote Wed, Sep 03, 2008:\n>> Imran M Yousuf <imran@smartitengineering.com> wrote:\n>> > Almighty willing, I will submit my patches this weekend (on Saturday).\n>> > I develop in NetBeans so that would make it easier for sure.\n>\n> Perfect. You might be interested in the hopefully soon to be released\n> jgit-based nbgit module:\n>\n>  - http://nbgit.googlecode.com/\n>\n> The feature set is limited but some of the basics features should be\n> there.\n\nAh great! I am really interested in it, I scheduled time on November\nto develop it since you have already started on it I guess I will join\nyou guys. I had a discussion with Alex Coles couple of months back he\nwas using CLI output for the purpose, its nice to see JGit being used\nas I suggested him the same. Let me get a little free and I will join\nthat project as well.\n\nCheers,\n\nImran\n\n>\n>> Awesome.  Then I'll hold off on Jonas' patch for now.\n>\n> Super.\n>\n> --\n> Jonas Fonseca\n>\n\n\n\n-- \nImran M Yousuf\nEntrepreneur & Software Engineer\nSmart IT Engineering\nDhaka, Bangladesh\nEmail: imran@smartitengineering.com\nBlog: http://imyousuf-tech.blogs.smartitengineering.com/\nMobile: +880-1711402557\n"}]}