git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: jgit standalone client on OpenVMS works (somewhat)

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
May 3, 2009, 15:15 UTC
Message-ID
<200905031715.22085.robin.rosenberg.lists@dewire.com>
In-Reply-To
<3f1ae6620904300839n48e88143y2ae1694472f712a4@mail.gmail.com>
torsdag 30 april 2009 17:39:36 skrev Ben Armstrong <BArmstrong@dymaxion.ca>:
Show 6 quoted lines
> I am happy to report that the jgit standalone client works (somewhat) on
> OpenVMS/Alpha, a non-POSIX platform for which no C git port exists.  I
> understand that not all functionality of the C client is supported yet, but
> for limited use, and supplemented by using the C client on a PC, I may be
> able to get away with this.  At least being able to do a 'git clone' is
> encouraging.
	O_o
Not sure what to say here.. cool. I never even thought of VMS as a Java platform.
> The only problem I have found so far is that if a tag has dots in it and the
> last dotted expression looks like a VMS file version number, it is
> interpreted as such instead of part of the filepath used to represent it
> under .git/refs/tags
Show 8 quoted lines
> 3. On VMS, set up the jgit command environment appropriately:
> 
> $ define jgit_home dsa0:[dymax.jgit]
> $ jgit==java+" -cp /jgit_home/jgit ""org.spearce.jgit.pgm.Main"""
> $ git=="pipe define/user JAVA$FILENAME_CONTROLS 8 ; "+-
>    "define/user DECC$ARGV_PARSE_STYLE ENABLE ; "+-
>    "define/user DECC$EFS_CASE_PRESERVE ENABLE ; "+-
>    "define/user DECC$EFS_CHARSET ENABLE ; jgit"

After googling a little, I think you got JAVA$FILENAME_CONTROLS wrong. 8 is for basic unix filenames. But you also need %x00200000 (or possibly %x00100000) as well. See http://h18012.www1.hp.com/java/documentation/1.5.0/ivms/docs/user_guide.html#unix_style

That's my guess.... I wouldn't dare to tell you how to get the exact syntax right, My VMS skillz are not what they once were.

Come to think of it, the first VMS machine I used was named "Linus", named after a widely known character (in a comic strip called Snoopy). </anecdotes>

-- robin
Previous: Shawn O. PearceNext: Ben Armstrong
Message 3 of 4 in “jgit standalone client on OpenVMS works (somewhat)”
  1. Ben ArmstrongApr 30, 2009
  2. Shawn O. PearceApr 30, 2009
  3. Robin RosenbergMay 3, 2009
  4. Ben ArmstrongMay 4, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.