{"thread":{"id":"19145","subject":"Re: jgit standalone client on OpenVMS works (somewhat)","startedAt":"2009-05-01T10:08:38Z","lastAt":"2009-05-01T10:08:38Z","messageCount":1,"participants":["Ben Armstrong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"112816","messageId":"3f1ae6620905010308u44be6aefl5dccf0901424c292@mail.gmail.com","threadId":"19145","inReplyTo":null,"subject":"Re: jgit standalone client on OpenVMS works (somewhat)","fromName":"Ben Armstrong","fromEmail":"barmstrong@dymaxion.ca","sentAt":"2009-05-01T10:08:38Z","receivedAt":"2009-05-01T10:08:38Z","isPatch":false,"sender":{"key":"barmstrong@dymaxion.ca","avatar":"https://gravatar.com/avatar/751fd350aee2a2cae1a7308f1b9266d105b721de85d75eed1ee20ddd8d0a2be6?d=mp&s=160"},"body":"Shawn O. Pearce wrote:\n> > I'm talking to some folks who are trying to put JGit into Maven.\n> > They want to move a lot of egit.core down into JGit, which should\n> > make it easier to add more commands to the jgit wrapper, making a\n> > more functional command line tool.\n\nCertainly without at least commit (and diff would be nice) I can't go\nany further with jgit on VMS today.  We will have to use jsvn for the\ninterim (our repositories are currently in svn anyway, and jsvn is\nreasonably full-featured and functional on VMS).  But it's nice to have\na migration path in the offing.\n\n> > Can you write a subclass of our FS class that can identify a\n> > VMS host and use that VMS specific subclass?\n> >\n\nShould I return to jgit, I could look into this (though I am not a Java\nprogrammer).\n\n> > If so, we could add a method, e.g.:\n> >\n> >   boolean canBeLooseRef(String name)\n> >\n> > and on VMS when the name falls into that \"ODS-5_Syntax\n> > Interpretation_of_Period\" rule set above, we could return false.\n> > This would then permit a simple change in RefDatabase where we always\n> > store such refs in the packed-refs file, instead of as a loose file.\n> >\n> > It also means we'd have to forgo the ref log, or mangle the reflog\n> > name.\n> >\n> > But it seems to me we could reasonably work around this without\n> > too much trouble.\n> >\n\nGlad to hear it.  I have taken note in case I revive this effort later.\n\nBefore I sign off entirely, I'd like to mention also that I tried using\nthe ssh protocol without success:\n\nA:BG.WORK> git clone ssh://ben@bgpc.dymaxion.ca/home/ben/git/myrepo.git\nInitialized empty Git repository in /DSA0/BG/WORK/myrepo/.git\njava.lang.NullPointerException\n        at com.jcraft.jsch.Session.disconnect(Session.java)\n        at\norg.spearce.jgit.transport.SshSessionFactory.releaseSession(SshSessionFactory.java)\n        at org.spearce.jgit.transport.SshTransport.close(SshTransport.java)\n        at org.spearce.jgit.pgm.Clone.runFetch(Clone.java)\n        at org.spearce.jgit.pgm.Clone.run(Clone.java)\n        at org.spearce.jgit.pgm.TextBuiltin.execute(TextBuiltin.java)\n        at org.spearce.jgit.pgm.Main.execute(Main.java)\n        at org.spearce.jgit.pgm.Main.main(Main.java)\n\n$ dir [.myrepo.^.git...]\n\nDirectory DSA0:[BG.WORK.myrepo.^.git]\n\nbranches.DIR;1      config.;3           HEAD.;1\nobjects.DIR;1\nrefs.DIR;1          remotes.DIR;1\n\nTotal of 6 files.\n\nDirectory DSA0:[BG.WORK.myrepo.^.git.objects]\n\ninfo.DIR;1          pack.DIR;1\n\nTotal of 2 files.\n\nDirectory DSA0:[BG.WORK.myrepo.^.git.refs]\n\nheads.DIR;1         tags.DIR;1\n\nTotal of 2 files.\n\nGrand total of 3 directories, 10 files.\n"}]}