<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="vestabot.xsl"?>
<irclog>
<join channel="#vesta" nick="ircsucks" time="2005-08-17T11:56:28Z"></join>
<msg channel="#vesta" nick="scottven" time="2005-08-17T12:15:48Z">I remember fidonet!</msg>
<msg channel="#vesta" nick="fidonetrules" time="2005-08-17T12:16:15Z">:)</msg>
<join channel="#vesta" nick="ircsucks" time="2005-08-17T12:29:08Z"></join>
<msg channel="#vesta" nick="ehjay" time="2005-08-17T13:54:11Z">what&apos;s with the flurry of activity here recently?</msg>
<msg channel="#vesta" nick="xorian" time="2005-08-17T14:03:28Z">ehjay: You mean johnvk, or something else?</msg>
<msg channel="#vesta" nick="xorian" time="2005-08-17T14:11:45Z">Yesterday I finally gave the conference presentation about Vesta I&apos;ve been working on.  So I should be able to relax and refocus a bit now.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T14:17:27Z">thought for xorian:</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T14:17:51Z">What about &quot;mount /vesta @17:34-31-12-2005&quot;</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T14:17:55Z">(conceptually)</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T14:18:16Z">i.e. ability to re-mount the SCM &quot;as it was on the specified timestamp&quot;</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T14:18:39Z">I *think* all the required stuff to make that doable is already fundamentally in vesta</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T14:19:19Z">It sounds quirky, but ... very powerful. Being able to say &quot;I did something based on what the repository looked like 3 weeks ago, but it was outside vesta, can I see what the repository did look like 3 weeks ago?&quot;</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T14:19:33Z">and have it one effortless operation - just mount e.g. &quot;/vesta-last-month&quot;</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T14:20:20Z">On a personal hard-drive, this kind of feature is a godsend: can&apos;t remember where you filed something? Or what the old version of file X looked like? ... just instantaneously prune out all the files that didn&apos;t exist, and revert all the others</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T14:20:42Z">Came up as an idea when we were talkinga bout the repeatability of testing</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T14:21:03Z">especially experiemtns-you-did-along-the-way-to-something-else which you didnt check in, and used whatever was around at the time</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T14:21:17Z">Odd, perhaps. Perhaps others can think of better uses :) ?</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:19:15Z">Anyone got a sample vrepl comand-line to hand that works? Trying to replicate off vestasys.org but failing</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:20:21Z">I know it&apos;s getting to the host OK, because I tried some bogus hostnames, but it&apos;s just sitting there apparently doing nohting :(</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:25:30Z">Also it would probably be a good idea to check-in a newer version of java, it&apos;s now on 1.5.0_04, whereas we&apos;ve got _02 in beta.vestasys.org (is there an issue with checking in too many versions?)</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:25:40Z">each _xx release of java fixes large numbers of bugs, sadly</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:26:10Z">ircsucks: if you don&apos;t run vrepl with -v it will just appear to be sitting there.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:26:20Z">I did run with -v, and it had no effect :(</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:26:43Z"> vrepl -v -s vestasys.org -e+ <vesta>/vesta/beta.vestasys.org/platforms/linux/sun/</vesta></msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:27:08Z">ircsucks: s/vestasys.org/pub.vestasys.org/</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:27:13Z">Just sits there for ages. Eventually returned, but nothing had happened. Does -v ouptut nothing if nothing changed?</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:27:26Z">Ah!</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:27:33Z">that works</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:28:07Z">thanks</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:28:50Z">vestasys.org as a hostname gets you to the sf web farm.</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:29:18Z">can&apos;t replicate from there very well...  now if only we could convince them to start running vesta...  ;)</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:29:54Z">But no error message and a long timeout, sadly :(</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:30:52Z">ircsucks: probably because they have port 21776 firewalled to drop incoming packets rather then reject them.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:31:16Z">grumblemutttercursesmumble</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:37:21Z">Ah...I dont suppose anyone has a short build-ves for using the java bridge checked in as part of swig etc do they? :)</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:37:54Z">there is something in swig...  let me pull it up.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:38:12Z">I&apos;m wading through swig build.ves&apos;s trying to work out how much of it I need and how much I don&apos;t</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:38:36Z">and no idea whether there&apos;s some easy ves I could import and should just be importing that does most of the work for me :(</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:40:48Z">basicaly, all you need to compile java is <link>http://pub.vestasys.org/cgi-bin/vestaweb?path=<vesta>/vesta/beta.vestasys.org/vesta/extras/swig/latest/build.ves</vesta></link> line 112 through 116</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:40:50Z">perhaps I can just evaluate vesta/extras/swig/6/linux_i386.main.ves and dig into that (it has a &quot;bridges&quot; within it that contaisn what looks like it might be a preconfigured java bridge?)</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:41:41Z">OK (ignoring my last comment) But I have to import and evaluate some number of bits of swig first?</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:42:12Z">you&apos;re trying to build a java program that uses the swig libs?</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:43:05Z">I&apos;m trying something I probably shouldn;t :)</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:43:35Z">did you look at the vls.java example?</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:43:45Z">ah, no, didn&apos;t know about it :(</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:43:59Z"><link>http://pub.vestasys.org/cgi-bin/vestaweb?path=<vesta>/vesta/beta.vestasys.org/vesta/extras/swig/latest/examples/java</vesta></link></msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:44:11Z">btw, you probably want to be using swig/8, not swig/6</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:45:02Z">Ah, thanks</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:47:39Z">Right, idiot question: what exactly is SWIG, because I&apos;ve had trouble rmembering  it since inception :(</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:49:53Z">simplified wrapper interface generator.  it&apos;s a way of turning c/c++ libraries into libraries/modules/etc that are usable from any number of target languages.</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:50:27Z">in our case, we make some of the core vesta client librareis available in perl, python, tcl, and java.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:51:20Z">Basically, I know there&apos;s a java bridge in there that I wrote, but I dont have my original copy to hand, and I was hoping to just use it, but I also know it&apos;s been improved to be less quirky</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:51:40Z">and I&apos;m struggling to see how I can use that java bridge just for plain java compilation</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:51:57Z">Right. Thanks</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:52:25Z">ahh.  so you don&apos;t need any of the swig stuff.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:53:41Z">indded. But since I couldn&apos;t quite remember what SWIG did, I wasn&apos;t sure if I did or not :)</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:54:25Z">I think you just need the lines that mention java or jdk out of the swig linux_i386.main.ves</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:54:40Z">and then a build.ves that does ./java/compile(java_files);</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:55:00Z">and possibly ./java/jar(class_files);</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:55:31Z">but, I&apos;m not a java programmer, so I can&apos;t give any more info then that.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:57:34Z">thanks, that&apos;s what I was heading towards.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:57:49Z">Now I just need to refresh my knowledge about ultra basics, like setting up the basic env :)</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T15:58:46Z">once we finish getting the addon stuff setup it&apos;ll get easier...  you&apos;ll just ask for the java addon and all the rest of the setup junk will get taken care of for you.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:58:49Z">trying to find that bridge tutorial</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:58:54Z">:)</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T15:59:11Z">since I recall it has the std-env-building stuff in it at the head, IIRC</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:02:55Z">gah. Can&apos;t seem to find that bridge page (about lex, yacc, etc) and cant get my std-env setup. Sigh.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:04:37Z"><link>http://www.vestasys.org/doc/sdl-ref/bridge-dissection.html</link> - found it, solved :)</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:15:34Z">Right. Finally got as far as invoking the bridge against a source file and it getting to the run_tool invocation :)</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:15:37Z">Although it&apos;s failing :(</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:17:55Z">Although it&apos;s failing :(</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T16:18:30Z">oh, is that a hint for me to chime in with sage advice?  :)</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:18:51Z">sorry, just typing on wrong kb momentarily</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:19:02Z">I&apos;m sure it&apos;s some stupid error I&apos;ll spot in a sec...</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:20:21Z">I think I&apos;m just not getting the files in in the right way to start off with. hmm.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:20:23Z">the src files</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:20:29Z"> java files, I mean</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:20:47Z">I have the jdk and the java_bridge all setup now, thanks :)</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:25:27Z">scottven: I dont suppose you know if the source files have to &quot;be&quot; anywhere special in the virtual FS for the bridge tocompile them? </msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:25:36Z">SWIG seems to just accept them as args to the compile method</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:25:47Z">(and in that vls example you gave thats seems to be the same)</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:25:51Z">and that&apos;s what my original version did</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:26:16Z">But, run_tool keeps complaining it cant find the source file (presumably the javac is asking for that source file, but not getting it :( )</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T16:28:00Z">ircsucks: I don&apos;t know anything about it.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:28:04Z">:)</msg>
<emote channel="#vesta" nick="scottven" time="2005-08-17T16:28:29Z">&lt;-- not a java guy.</emote>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:28:33Z">About now, I&apos;m wishing I&apos;d coded some runtime-invokable debugging flags into that bridge</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:28:55Z">This is not to do with java, it&apos;s to do with me not passing things in the right way /place for the bridge to even pick them up, I think</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:29:42Z">compile(/**pk**/ sources: NamedFiles ): binding</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:30:00Z"> . ++= [ root/.WD = sources ];</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:30:16Z">/ Put the names of the sources into a file...</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:30:16Z">                inputfile = generateFileListOfSources( sources );</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:30:16Z">                // ...bind that file into the FS</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:30:16Z">                . ++= [ root/.WD = inputfile ];</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:30:53Z">(and then I pass the param to javac that means &quot;read the list of source files you have to compile from the file &quot;inputfile&quot; )</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T16:32:06Z">so it looks like the sources param should jsut be a binding of a bunch of files...  no directory structure.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:39:50Z">Ah! /me spots something</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:40:11Z">No. didn&apos;t work :(</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T16:40:22Z">rats</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:41:11Z">The thing is, I wrote the bridge to basically &quot;go through all files in the binding, work out their fully qualified relative path names, put that into the file&quot; so that it ends up just processing the files that are in whatever binding you pass in</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:41:32Z">using their relative names, e.g. if binding is [ a/b/c = aaa ] then the file would have: &quot;a/b/c/aaaa&quot;</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:42:13Z">Although I&apos;m confused because I dont see any line in other pkgs which work which actually puts the source files into ./anything, so I&apos;m confused how the birdge would even be able to see them</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:42:36Z">oh, unless it extracts them from what&apos;s passed in as an arg. Oops. Obvious that</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T16:46:36Z">Odd.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T17:37:03Z">idiot question I need to solve this whole mess:</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T17:41:22Z">Why is it that:</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T17:41:31Z">. ++= [ root/.WD = jdk() ]</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T17:41:55Z">puts the whole of jdk() in the .WD in the chroot when evaluating the javac tool</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T17:41:58Z">but:</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T17:42:09Z">. ++= [ root = jdk() ]</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T17:42:17Z">puts nothign in the chroot</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T17:49:13Z">um...  it should work.</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T18:14:59Z">it&apos;s OK, I had a typo :)</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T18:15:05Z">And I got it all working in the end. Yay</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T18:16:33Z">yay</msg>
<msg channel="#vesta" nick="ircsucks" time="2005-08-17T18:24:18Z">rather embarassing that it took so long, but...</msg>
<msg channel="#vesta" nick="scottven" time="2005-08-17T18:32:15Z">eh, it happens to the best of us.</msg>
<emote channel="#vesta" nick="xorian" time="2005-08-17T22:01:59Z">begins importing x86-64 .debs</emote>
<join channel="#vesta" nick="ircsucks" time="2005-08-18T04:47:22Z"></join>
<msg channel="#vesta" nick="xorian" time="2005-08-18T04:55:26Z">ircsucks: On that idea of mounting the repository as it was at some point in the past:</msg>
<msg channel="#vesta" nick="xorian" time="2005-08-18T04:56:08Z">That would definitely be non-trivial.  The repository doesn&apos;t currently store enough information to do that.</msg>
<msg channel="#vesta" nick="xorian" time="2005-08-18T04:57:57Z">Example #1: At the requested point in time, mutable files in /vesta-work may have had contents which never became immutable and thus aren&apos;t stored anywhere.  (Think rewriting a file multiple times between vadvance calls.)</msg>
<msg channel="#vesta" nick="xorian" time="2005-08-18T04:59:29Z">Example #2: If anything in the appendable directory replaced by a ghost (i.e. deleted with vrm), the repository will throw away its contents.  This includes file contents and directory structure.  (Actually, it will hang around until the next weeder run, but not in a way that&apos;s recoverable.)</msg>
<msg channel="#vesta" nick="xorian" time="2005-08-18T05:00:10Z">I could go on with several more, but you get the idea.</msg>
<msg channel="#vesta" nick="xorian" time="2005-08-18T05:01:47Z">ircsucks: Anyway, I&apos;m not clear on what the point would be other than to repeat a run of some script that uses attributes or the existence/non-existence of certain versions.</msg>
<msg channel="#vesta" nick="xorian" time="2005-08-18T05:02:24Z">ircsucks: Any actual versions which the user might refer to would still be there (unless they&apos;ve been ghosted, though there might be other newer versions).</msg>
<msg channel="#vesta" nick="xorian" time="2005-08-18T05:04:00Z">While I realize users sometimes just look at the latest version and don&apos;t bother to note down which specific one that was, I&apos;m not sure how much we can really do to help them with that.  Maybe a tool to tell them which version was the latest at some point in time?</msg>
<msg channel="#vesta" nick="xorian" time="2005-08-18T05:43:05Z">Well, I build Vesta for x86-64 with the make-based kit.   I used that to get the repository mounted and the RunToolServer up.  Now I&apos;m building Vesta again using Vesta, which seems to be working.</msg>
<join channel="#vesta" nick="ircsucks" time="2005-08-18T06:05:56Z"></join>
<msg channel="#vesta" nick="xorian" time="2005-08-18T06:10:35Z">I&apos;ve finished building for x86-64 using Vesta.  Tomorrow I&apos;ll get test-vesta running on my x86-64 box.</msg>
</irclog>
