Thread: [Scriptonite-dev] CVS access.
Status: Planning
Brought to you by:
egagnon
|
From: Etienne M. G. <eg...@j-...> - 2000-02-26 20:33:02
|
Hi everyone! I have made a few cosmetic changes in CVS. One of the files I have added is "ChangeLog". This file uses cvs log message history to keep record of every contribution, as required in the LGPL license. You should not update this file by hand, as I generate it using the "cvs2cl" perl script. [So, just leave this file alone. I'll take responsibility for updating it.] You should probably start working on the lexer/ast-grammar. Or, you could at least start discussing tasks assignments between developers. SourceForge allows the administrator to create projects [e.g. "lexer", "ast", "interpreter",...] and tasks, and assign these tasks to developers using its "project management" pages (http://sourceforge.net/pm/?group_id=2858). If any of you wants to contribute, don't forget to ask "pvl" for being added as a developer. Then, you will be granted "cvs write" access. If you do not know CVS, here are some references: SourceForge specific: Un*x/Linux: http://sfdocs.sourceforge.net/sfdocs/site/user/cvssshfaq.php Win*: http://cdx.sourceforge.net/win-HOWTO.htm CVS book (online): http://cvsbook.red-bean.com/ ------------------------------------------------------ Here is the basic Un*x/Linux operation. You need not know anything more: [assuming ssh/cvs is correctly installed] FIRST TIME: (avoids firewall problems) [/home/myself/]$ echo ssh -P \$\* > myssh [/home/myself/]$ chmod u+x myssh [/home/myself/]$ export CVS_RSH=/home/myself/myssh [/home/myself/]$ cvs -z3 -d[YOUR_USER_NAME]@cvs.scriptonite.sourceforge.net:/cvsroot/scriptonite co -P -R scriptonite [/home/myself/]$ cd scriptonite NEXT TIMES: [/home/myself/]$ cd scriptonite [/home/myself/scriptonite/]$ export CVS_RSH=/home/myself/myssh You may now start editing/modifying files. If you want to add a new file (ALWAYS in the current directory), simply type: [/home/myself/scriptonite/src/]$ cvs -z3 add filename If you want to add a directory, simply type: [/home/myself/scriptonite/src/]$ mkdir dirname [/home/myself/scriptonite/src/]$ cvs -z3 add dirname If you want to remove a file, type: [/home/myself/scriptonite/src/]$ cvs -z3 remove filename. You cannot remove a directory. To bring your local version in psych with the repository, type: [/home/myself/scriptonite/] cvs -z3 update -P -d -R To commit your changes, type: [/home/myself/scriptonite/] cvs -z3 update *** NOW: resolve any pending merge conflict *** [/home/myself/scriptonite/] cvs -z3 commit *** IN the editor enter a log message! *** This is it! Not more complicated. ------------------------------------------------ Now, for everything to work smoothly, we need a few project specific CVS guidelines: (0) DO NOT add any "binary" file into the repository. (no .class/.jar files) (1) DO NOT "import" source code, e.g.: DO NOT TYPE: $cvs ... import ... (2) Never create/use branches. e.g.: DOT NOT TYPE: $cvs -q tag -b... [If you are knowledgeable about branching/merging, please use a "local" prcs repository on your computer to do your parallel development. Anyway, branching/merging is "broken" and convoluted in cvs (in my opinion). PRCS has a much cleaner project (instead of file) version management system. See http://www.XCF.Berkeley.EDU/~jmacd/prcs.html (Un*x only). We only need cvs because: (1) prcs is not yet client/server (2) it is the only repository available on SourceForge (3) It enables us to get a "ChangeLog" effortlessly. But, we must keep it simple: we'll use a single trunk.] (3) DO NOT TAG. Or, if you want to use tags, put your "sourceforge user_name" as a prefix, e.g. EGAGNON_XXX. (4) DO NOT EVER DELETE/CHANGE old revisions of files! If you checked-in something by error, just check-in again the fixed version. (5) ALWAYS include a log message when you commit your changes. This is important, as this text is displayed in the ChangeLog. [If you made a typo, or forgot it, please contact me, and I'll fix it. Please, DO NOT ATTEMPT TO FIX THIS YOURSELF.] ------------------------------------------------------- What do you think of these guideline? Please feel free to comment on these suggestions, or ask for help. Etienne -- ---------------------------------------------------------------------- Etienne M. Gagnon, M.Sc. e-mail: eg...@j-... Author of SableCC: http://www.sable.mcgill.ca/sablecc/ ---------------------------------------------------------------------- |
|
From: Uwe H. <uw...@ia...> - 2000-02-28 18:58:29
|
I'm still in setup hell on nt. If one of you has an idea about the following it would be great. What I have so far: - installed all required pieces (cvs, ssh) - logged in with ssh: worked - checked out with cvs and anonymous pserver: worked - tried to check out with CVS_RSH=ssh and -d username argument: didn't work and got cvs [checkout aborted]: cannot connect to socket: Connection refused - I thought maybe it's some of my webservers: killed all apache and jrun instances: still the same - went to our solaris machine and tried there: same problem Is it possible that the cvs server side doesn't let me in ? thanks, uwe |
|
From: Etienne M. G. <eg...@j-...> - 2000-02-28 19:29:42
|
Hi Uwe. When you used "ssh", did you need to provide any option? e.g.: ssh -P -l uweDeportivo cvs.scriptonite.sourceforge.net [ By the way: The line above shoud result into: Last login: xxx from xxx No mail. Welcome to cvs1.sourceforge.net This is a restricted Shell Account You cannot execute anything here. Connection to cvs.scriptonite.sourceforge.net closed. ] If this works, then you need to make a small batch file called MySSH.BAT with the content: ssh -P -l uweDeportivo %1 %2 %3 %4 %5 and you set CVS_RSH to MySSH (which should also be on your path). Then try: MySSH cvs.scriptonite.sourceforge.net If this works (e.g. same result as above), then try cvs -d again. I hope this works... Etienne Uwe Hoffmann wrote: > > I'm still in setup hell on nt. > > If one of you has an idea about the following it would be great. > > What I have so far: > > - installed all required pieces (cvs, ssh) > - logged in with ssh: worked > - checked out with cvs and anonymous pserver: worked > - tried to check out with CVS_RSH=ssh and -d username argument: didn't work > and got > > cvs [checkout aborted]: cannot connect to socket: Connection refused > > - I thought maybe it's some of my webservers: killed all apache and jrun > instances: still the same > > - went to our solaris machine and tried there: same problem > > Is it possible that the cvs server side doesn't let me in ? > > thanks, > > uwe > > _______________________________________________ > Scriptonite-dev mailing list > Scr...@li... > http://lists.sourceforge.net/mailman/listinfo/scriptonite-dev -- ---------------------------------------------------------------------- Etienne M. Gagnon, M.Sc. e-mail: eg...@j-... Author of SableCC: http://www.sable.mcgill.ca/sablecc/ ---------------------------------------------------------------------- |
|
From: Uwe H. <uw...@ia...> - 2000-02-28 20:50:44
|
> When you used "ssh", did you need to provide any option? e.g.: > > ssh -P -l uweDeportivo cvs.scriptonite.sourceforge.net ssh -l uwedeportivo cvs.scriptonite.sourceforge.net that worked > > [ > By the way: The line above shoud result into: > Last login: xxx from xxx > No mail. > > Welcome to cvs1.sourceforge.net > > This is a restricted Shell Account > You cannot execute anything here. > > Connection to cvs.scriptonite.sourceforge.net closed. > ] > > If this works, then you need to make a small batch file called > MySSH.BAT with > the content: > ssh -P -l uweDeportivo %1 %2 %3 %4 %5 > > and you set CVS_RSH to MySSH (which should also be on your path). > > Then try: > MySSH cvs.scriptonite.sourceforge.net that worked too > > If this works (e.g. same result as above), then try cvs -d again. > > I hope this works... unfortunately I still get cvs [checkout aborted]: cannot connect to socket: Connection refused |
|
From: Uwe H. <uw...@ia...> - 2000-02-28 21:07:38
|
I got it working on solaris. I'll work from there. thanks guys |
|
From: Etienne M. G. <eg...@j-...> - 2000-02-28 21:28:18
|
What was the problem? I mean, what caused it to fail on Solaris, previously? Etienne |
|
From: Uwe H. <uw...@ia...> - 2000-02-28 22:21:13
|
> > What was the problem? I mean, what caused it to fail on Solaris, > previously? > I'm not sure. But I was wrong. It was not the same error message. It had something to do with my ssh setup. I had to delete my .ssh and log in again with ssh. After ssh worked cvs worked also. |
|
From: Raif S. N. <ra...@fl...> - 2000-02-28 19:59:53
|
At 10:56 AM 2/28/00 -0800, Uwe Hoffmann wrote: >I'm still in setup hell on nt.... have a look at <http://www.cryptix.org/docs/devcvs.html>. we use cvs too and i wrote this page to help NT developers use NT-based tools. cheers; rsn |
|
From: Raif S. N. <ra...@fl...> - 2000-03-20 18:02:34
|
anybody knows if there are suggested/recommended ECMAScript (source) files to use for validating the generated lexer and parser? cheers; rsn |
|
From: Pedro V. L. <eq...@eq...> - 2000-03-21 15:45:39
|
"Raif S. Naffah" wrote: > anybody knows if there are suggested/recommended ECMAScript (source) files > to use for validating the generated lexer and parser? > There is a big test suite in the mozilla project. Look for js-test**** in http://ftp.mozilla.org/pub/js/ You can also find there rhino, the mozilla project javascript interpreter. I've just peeked at it but it seems that the parser was handcoded (?). Anyhow it might be useful. regards pedro |
|
From: Raif S. N. <ra...@fl...> - 2000-03-21 17:13:14
|
At 03:36 PM 3/21/00 +0000, Pedro Vale Lima wrote: >"Raif S. Naffah" wrote: > > > anybody knows if there are suggested/recommended ECMAScript (source) files > > to use for validating the generated lexer and parser? > > > >There is a big test suite in the mozilla project. Look for js-test**** in > >http://ftp.mozilla.org/pub/js/ excellent. i'll go digging... i'll probably create 2 packages under the org.scriptonite hierarchy: org.scriptonite.test and org.scriptonite.test.data the first will contain Test classes, while the second will contain the validation .js test files. >You can also find there rhino, the mozilla project javascript interpreter. >I've just peeked >at it but it seems that the parser was handcoded (?). Anyhow it might be >useful. i'll keep that in mind. thanks for the pointers :-) cheers; rsn |
|
From: Raif S. N. <ra...@fl...> - 2000-03-20 18:41:52
|
any objection to generating the java code under the package: scriptonite ? cheers; rsn |
|
From: Etienne M. G. <eg...@j-...> - 2000-03-20 18:47:47
|
"Raif S. Naffah" wrote: > > any objection to generating the java code under the package: > > scriptonite > > ? If any of you wants to pay for registering scriptonite.org, we could use "org.scriptonite", and thus conform to the Java convention. Currently, the convention would dictate to use: "net.sourceforge.scriptonite". It is unlikely that anybody will name their project "scriptonite", so one could argue for using package "scriptonite" as you suggest. I personally have no objection to any of these three options. -- ---------------------------------------------------------------------- Etienne M. Gagnon, M.Sc. e-mail: eg...@j-... Author of SableCC: http://www.sable.mcgill.ca/sablecc/ ---------------------------------------------------------------------- |
|
From: Raif S. N. <ra...@fl...> - 2000-03-20 18:55:17
|
At 01:41 PM 3/20/00 -0500, Etienne M. Gagnon wrote: >"Raif S. Naffah" wrote: > > > > any objection to generating the java code under the package: > > > > scriptonite > > > > ? > >If any of you wants to pay for registering scriptonite.org, we could use >"org.scriptonite"... how much money are we talking about? if it's reasonable i might be able to convince my employer to pay [part of] it. cheers; rsn |
|
From: Raif S. N. <ra...@fl...> - 2000-03-21 09:36:11
|
At 01:41 PM 3/20/00 -0500, Etienne M. Gagnon wrote: >"Raif S. Naffah" wrote: > > > > any objection to generating the java code under the package: > > > > scriptonite > > > > ? > >If any of you wants to pay for registering scriptonite.org, we could use >"org.scriptonite"... i'll add this to the grammar text file and start working on the lexer. cheers; rsn |
|
From: Etienne M. G. <eg...@j-...> - 2000-03-20 19:47:32
|
[I had forgotten to CC the mailing-list, and I added some text] It's 35$US/year. (At least, with Network Solutions. I have had no trouble with them. I haven't tried any other registrar.) There's the issue of domain ownership. I can take care of domain registration, and making arrangements with my ISP to redirect scriptonite.org to sourceforge, if you decide that I should own the domain. Frankly, I'd like to know your [all of you] position on this matter. In my opinion, domain costs and domain ownership are separate issues. We can divide the costs among money contributors (it's quite cheap. If we had 7 people, 35/7 = 5$/year.) But the ownership should go to somebody who will take care of keeping the domain alive, and won't take undue advantage of it in the long term. We probably need concensus on who this person should be. It doesn't have to be me. Etienne -- ---------------------------------------------------------------------- Etienne M. Gagnon, M.Sc. e-mail: eg...@j-... Author of SableCC: http://www.sable.mcgill.ca/sablecc/ ---------------------------------------------------------------------- |
|
From: Raif S. N. <ra...@fl...> - 2000-03-20 20:04:32
|
At 02:41 PM 3/20/00 -0500, Etienne M. Gagnon wrote: >[I had forgotten to CC the mailing-list, and I added some text] > >It's 35$US/year. (At least, with Network Solutions. I have had no trouble >with them. I haven't tried any other registrar.) i'll hopefully have an answer this afternoon (down-under time). i'll keep the group posted. >There's the issue of domain ownership. I can take care of domain >registration, and making arrangements with my ISP to redirect scriptonite.org >to sourceforge, if you decide that I should own the domain. Frankly, I'd like >to know your [all of you] position on this matter. > >In my opinion, domain costs and domain ownership are separate issues. We can >divide the costs among money contributors (it's quite cheap. If we had 7 >people, 35/7 = 5$/year.) But the ownership should go to somebody who will >take care of keeping the domain alive, and won't take undue advantage of it in >the long term. We probably need concensus on who this person should be. It >doesn't have to be me. if Etienne is willing, i'd like to nominate him as the Keeper. cheers; rsn |
|
From: Raif S. N. <ra...@fl...> - 2000-03-21 09:29:41
|
At 06:59 AM 3/21/00 +1100, Raif S. Naffah wrote: >At 02:41 PM 3/20/00 -0500, Etienne M. Gagnon wrote: >>[I had forgotten to CC the mailing-list, and I added some text] >> >>It's 35$US/year. (At least, with Network Solutions. I have had no trouble >>with them. I haven't tried any other registrar.) > >i'll hopefully have an answer this afternoon (down-under time). i'll keep >the group posted. i got a positive answer from Forge management :-) the 35$ (domain registration fee) will be paid by Forge Research Pty. Limited (<http://www.forge.com.au>). Etienne, pls indicate forward address and preferred method to send the money. ...and thank you again for taking this task on board. cheers; rsn |
|
From: Pedro V. L. <eq...@eq...> - 2000-03-21 15:26:43
|
"Etienne M. Gagnon" wrote: > > There's the issue of domain ownership. I can take care of domain > registration, and making arrangements with my ISP to redirect scriptonite.org > to sourceforge, if you decide that I should own the domain. Frankly, I'd like > to know your [all of you] position on this matter. > Although a bit late for the discussion, I just want to say I'm also favorable to Etienne being the keeper of the org.scriptonite domain. It seems Raif's employer will be a sponsor to the registration cost, but if needed I'm also favorable to splitting the cost between the group. regards pedro |