We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25663 MODX Staff
    • 12,272 Posts
    OK I *finally* think I have it set up right.

    Go to: https://mirror1.cvsdude.com/login.pl

    Use your login name and click the forgot password to receive a password reminder. (xwisdom, sottwell, opengeek, infoclipper, davedenis ... again, anyone else want access)

    The svn repository can be accessed at the following location using your login name and password from teh email reminder:
    http://svn1.cvsdude.com/rethrash/tattoo

    I think I’m going to change the main account name so it won’t look like my personal project to "MODx" (or something like that), so the login at that point will look like blah.com/modx/tattoo

    We can enable Trac or Bugzilla, too. Anyone know about or worked with those? I hear good things regarding Trac.
      Ryan Thrash, MODX Co-Founder
      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
      • 22303 MODX Staff
      • 10,725 Posts
      Hmm...I got the repository from TortoiseSVN, so the permissions are working, but I'm confused by what got downloaded. Why do I see all these top level repository directories, like /trunk and /releases and /branches -- shouldn't these just be on the server? How do I checkout just the code that gooes into my web server document root so I can set this up in my development environment without going to http://localhost/tattoo/tattoo/trunk/ to test the site?

      Sorry, plenty of CVS experience, but not sure what to do with this... :?
        • 25663 MODX Staff
        • 12,272 Posts
        Another helpful resource walking you through using subversion:
        http://svnbook.red-bean.com/en/1.0/ch03.html
          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
          Ok!!! Took a little doing, since documentation is nearly non-existant, but I finally got Eclipse SVN working! It's going to be painful, but I'm determined to use Eclipse for this whole project.

          Now I just need to learn how to actually USE it now that it's doing what it's supposed to! Eclipse does have a good Help feature, and once you get it installed, the EclipseSVN also has what looks like good Help.

          Once I learn it, it will make the whole business much simpler having it all under one roof so to speak. <sigh> I really do like SubEthaEdit, though.

          This is about the best info on the subject.

          http://tmate.org/svn/subclipse.html
            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!!! Took a little doing, since documentation is nearly non-existant, but I finally got Eclipse SVN working! It's going to be painful, but I'm determined to use Eclipse for this whole project.

            Now I just need to learn how to actually USE it now that it's doing what it's supposed to! Eclipse does have a good Help feature, and once you get it installed, the EclipseSVN also has what looks like good Help.

            Ditto Susan; just got it working myself. I've been using Eclipse since the early 2.x days for J2EE development, and the PHP extensions are wonderful to have. These PHP/HTML/CSS tools made my productivity go up an instant 20% over development in Dreamweaver in the past week since I downloaded them. And that'll increase more as I define my templates and customize the environment for the things I do the most.

            Now if I can just figure out how to download this so I can browse to http://localhost/tattoo to view the work I'm doing on my branch. Anyone have a few configuration examples or some quick start steps to get me going here? Am I only supposed to checkout the /trunk directory? Then does my work there automatically get saved to my /branch?

            Sorry, but I've never used Subversion before, and though I thought it would be very similar to CVS in these regards, I'm very confused by the whole repository structure and how to work with it. Spent too much time with Rational ClearCase the last few years I think... :roll:
              • 22303 MODX Staff
              • 10,725 Posts
              Another helpful resource walking you through using subversion:
              http://svnbook.red-bean.com/en/1.0/ch03.html

              After reading through this briefly, I believe our branches should show a complete copy of the trunk by default, but currently when I checkout my branch, I just get an empty directory. Should I perform the branch (e.g. copy) operation myself?
                • 25663 MODX Staff
                • 12,272 Posts
                Jason, I didn't set it up because I wanted everyone to have the opportunity to make the branch with the most recent version of the code at that particular time. Yes, make a copy, in other words. smiley
                  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
                  To enable the Subversion plugin in Eclipse, using Help->Software Updates->Find and Install...

                  Select "Search for new features to install", then the "New Remote Site" button.

                  Create two new Update sites:

                  http://subclipse.tigris.org/updates
                  http://tmate.org/svn/

                  Follow the process and install the items in those two sites.

                  Restart Eclipse, and in the Open a Perspective button on the right of the toolbar select SVN Repository Exploring (it's probably in "Other", at least at first). Using the New Repository dialogue (right-click or use the New Repository button on the far right of the SVN Repository view), enter the information for the ModX repository:

                  url: http://svn1.cvsdude.com/rethrash/tattoo/ (watch that final / !!!)
                  root url: http://svn1.cvsdude.com/rethrash/tattoo
                  your login and password.

                  You should see the three subfolders for the project. Copy the trunk folder into your personal folder under branches (this may not be the best way to do it, will edit if I find out better later).

                  Finally, save the perspective in the Window menu. There is an extensive Help file for Subclipse in the main Eclipse Help menu. Basically, you set up a local working folder, "check out" into that folder, and go for it.
                    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
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    Jason, I think we were expecting things to be more complicated! The "trunk" is the version under development, "releases" is just that...version ready for release, and "branches" holds our personal versions under development (get it? Trunk...branches....:wink:) Just set up your folder in your web server documents directory (watch out for those permissions!) and "check out" your branch. It will copy all the files into that folder, and you're good to go.

                    I'm presuming that there are ways to coordinate between the master "trunk" and our "branches", but I'll figure that one out once I figure out how to use Eclipse!

                    I discovered that I can set up my beloved SubEthaEdit to be my default editor for whatever filetypes I like! So I've got the best of both worlds...project organization and svn access, and my preferred editor! Maybe someday I'll decide to play with the plugins that do half the work for me, but until then, I still prefer baking my own bread and sewing my own clothes (had my babies at home too!).

                    I've set up the CSS editor extension to Firefox, so I can edit CSS on the fly, but now I need a bigger screen! And more memory! And a new 17" PowerBook! And a new MacMini with a 20" Apple screen! :shock:...maybe I should just go knit some booties for my grandkids.
                      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
                      I'm presuming that there are ways to coordinate between the master "trunk" and our "branches", but I'll figure that one out once I figure out how to use Eclipse!

                      Merging, which I'm assuming will by handled by Ryan and Raymond for the most part, who have to decide which contributions to include, and when to do it, will take care of the coordination between the main trunk and our individual branches.

                      I'm keeping two separate projects for tattoo in Eclipse then; tattoo, which is the trunk, and tattoo-jason, which is (well, we'll let that speak for itself). That way I can work on my complex projects in the branch, while being able to quickly switch and apply bugfixes from the trunk on a whim.