We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    Ok, that's what I thought, but as I say, all I get is a timeout in attempting a connection. Just to make sure I tried it with a bogus password, and almost immediately got a "CVS access denied" message, so I've got the right password. I increased the timeout to 60, but it still just times out.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 22303 MODX Staff
      • 10,725 Posts
      Ok, that's what I thought, but as I say, all I get is a timeout in attempting a connection. Just to make sure I tried it with a bogus password, and almost immediately got a "CVS access denied" message, so I've got the right password. I increased the timeout to 60, but it still just times out.

      What platform are you on? What CVS client are you using? And what does your CVSHOME path look like?
        • 25663 MODX Staff
        • 12,272 Posts
        Hey Susan,

        I just connected with the above configuration via MacCVS, so it is working.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          I've got exactly the same setup, no go. Times out. Could it be an issue with the firewall? I had to open some ports for iChat and SubEthaEdit to work with Rendezvous. It's also going through the NAT server in my cheap, no-name ADSL modem/router.

          I'm going to redo the whole setup on my powerbook. Next week I'll see about getting fresh access with a new public key. Something isn't right here.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 22303 MODX Staff
            • 10,725 Posts
            When I checkout or export the files locally, I notice that all of the text files are double-spaced, or have an extra line between each line of code. Is this correct? I've tried changing my Dreamweaver settings for line feeds to Mac and UNIX with no luck. Or is this something I need to correct in my CVS options?
              • 22303 MODX Staff
              • 10,725 Posts
              When I checkout or export the files locally, I notice that all of the text files are double-spaced, or have an extra line between each line of code. Is this correct? I've tried changing my Dreamweaver settings for line feeds to Mac and UNIX with no luck. Or is this something I need to correct in my CVS options?

              Well, looks like this might be the issue...

              1. I bet the files were created in Windows originally, and thus contain CR/LF.
              2. I bet they were saved to a Unix/Linux-based CVS repository as is (e.g. without translating the CR/LF to LF as is proper in Unix/Linux)
              3. WinCVS translates all line endings automatically for Windows clients, but expects the repository version to only contain the LF, thus I get an additional LF/CR appended to each line.

              Ack. In any case, I'll try a different client for approaching this and see what happens. But if we want to support WinCVS clients, we'll need to run a script on the text files in the repository to remove the CR's.
                • 25663 MODX Staff
                • 12,272 Posts
                I bet I can get Victor to run a perl script on the files to fix this in about 2 seconds. Ditto for adding the CVS headers... speaking of which, anyone got a suggestion for how we should set up our CVS headers?
                  Ryan Thrash, MODX Co-Founder
                  Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                  • 34162
                  • 1 Posts
                  My suggestion would be to stick to these variables:

                  $Date$
                  $RCSfile$
                  $Revision$
                  $Author$
                  $State$

                  Maybe $Id$ since it seems to be popular, but in particular, I'd avoid $Log$ like the plague.
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    Yes!!! I got it! I got it! :shock:

                    I was reading all the sites Google turned up on the subject, and one of them said that after generating the keys and installing the public key on the romote server, to run this command at the console: When I did, it added victorland.com to a list of "known hosts", and now MacCVSClient works just fine.

                    I'm sure there is a way to do this in SSH Agent or MacCVSClient that I missed, but anyway, it works now. Whew. (although typical of the hard way I usually end up doing things).
                      Studying MODX in the desert - http://sottwell.com
                      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                      Join the Slack Community - http://modx.org
                      • 25663 MODX Staff
                      • 12,272 Posts
                      Susan,

                      I updated the instructions at the top of the thread for the known hosts thing. Do they look right now?
                        Ryan Thrash, MODX Co-Founder
                        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me