introducing something new to chew on

This article is also available in the following languages:
By gwoo
Chaw is an application designed to help better manage version-controlled projects. You can read about some of the features in Chaw on the wiki http://thechaw.com
As some of you may have noticed, the source for http://book.cakephp.org was released on http://thechaw.com/cakebook. Making the source available is a great step in improving the documentation efforts of CakePHP. In addition, the release allows other developers to use the application for the documentation of their own projects.

So, you may be wondering about http://thechaw.com. This application was built because I wanted to have more control over the management of our projects. The ability to add features as we need and ensure that the code is in a safe place is very important to me. I see the development of this application as a big step forward in the development of the CakePHP. With this application, we will begin rolling out ways to make it easier for developers to collaborate and share. Stay tuned for more developments. Did someone say plugin server? Oh, you will have to be at CakeFest #2 - http://cakefest.org to hear about that...

The goal behind http://thechaw.com is quite simple. Provide a simple interface to consolidate all the CakePHP development in one place. This goal may raise the question of what will happen to cakeforge - http://cakeforge.org. The answer is that we hope to transition the projects on cakeforge to the chaw. This will give us an opportunity to clean out some of the abandoned projects and moving forward we will be able to provide a better service.

I truly you hope you all enjoy http://thechaw.com. If you have any questions or comments stop by #chaw on irc.freenode.net or send a message to http://groups.google.com/group/chaw

Comments

  • Posted 05/14/10 09:09:39 PM
    It took me a while to figure this out, as I'm on Windows using MINGW32 with msysgit, so I didn't know how accurate the Linux instructions were for me, and I'd never used identity files before, so I also didn't know if I was copying and pasting it correctly.

    Anyway, for some reason, I kept getting:
    Permission denied (publickey)
    until I regenerated the identity files using:
    ssh-keygen -t rsa -C "my email address"
    as per the Github instructions.

    Perhaps it's because of the -t rsa, or maybe the email address was the key (when I generated the ssh keys before using my linux shell account and MINGW32, ssh-keygen always used username@hostname as the comment, e.g. Administrator@SXP64), or maybe it's because I chose to use a passphrase that time; I don't know. But if you're doing everything in the instructions above, and you still can't connect, then try using your e-mail address (the one tied to your Chaw account) as the comment when running ssh-keygen by using the -C switch, and also try using a passphrase.

    And remember to copy-and-paste the entire contents of id_rsa.pub as your Git key, while using id_rsa as the identity file in your ssh configuration.
  • Posted 12/10/08 11:05:21 PM
    Looks great! Thanks, I was just wondering about a good PHP solution over Trac...though this has a long way to go before it's able to rival Trac, I can at least make add-ons for it easier than Trac! This is super ambitious and I'm very excited that this could be the foundation for a much needed change. Trac is great, I love it to death - but a lot of work to make it look nice and the setup isn't fun either nor is the Python ideal in this wonderful Web 2.0 world...though I suppose quality web frameworks are making their way to Python...I always be a CakePHP loyalist.

    I will definitely use this at some point - good stuff! Might make a good combo with my server control panel I'm writing in Cake.
  • Posted 11/21/08 07:28:01 PM
    Thanks for your help Atanas. I'm really learning a lot from this code.

    I originally thought I would add a users through and ACL console (which I'm still understanding) but that wasn't the case.

    Did anyone manually generate an admin user? What group and level did you use?

    Thanks!
    Wilson
    • Posted 11/22/08 09:51:58 AM
      Thanks for your help Atanas. I'm really learning a lot from this code.

      I originally thought I would add a users through and ACL console (which I'm still understanding) but that wasn't the case.

      Did anyone manually generate an admin user? What group and level did you use?

      Thanks!
      Wilson

      What I did was that I created a user with the bakery, and changed level_id to 1.

      Also, I tried the bakery trunk first and then the 2.x branch, I ended using the 1.x branch.

      You also have to create the tmp directory structure, use:

      mkdir -p tmp/cache/models tmp/cache/views tmp/cache/persistent tmp/logs tmp/sessions tmp/tests
  • Posted 11/21/08 06:40:10 PM
    Hey Andy, no need to get so fussed about my comment.

    I didn't say it was bad, although it was a surprise. That the install wasn't to the level of automagic the Cake crew has made us used to.

    Also, the schema files had some problems with the rght index in the node table.
  • Posted 11/21/08 03:16:29 AM
    I'm not able to connect to the SVN repository on thechaw.com. I've created an SSH key and have uploaded the public key to my account there, but haven't been able to successfully connect to the repo. I've tried both svn+ssh, as well as https, but still no luck...

    Some people have already mentioned this in the comments to Andy's thread http://www.ad7six.com/MiBlog/CookbookSourceReleased#comments, but I figured this article here is the right place to address the matter, as Andy is probably not to be blamed for anything else besides actually developing the Cookbook :)

    Could anyone give some hints (either here or on thechaw.com website) as to what would the proper way to checkout the code be?

    Thanks in advance and congratulations on the good work on both the Cookbook and Thechaw.com!
    • Posted 11/21/08 05:48:42 AM
      I'm not able to connect to the SVN repository on thechaw.com. I've created an SSH key and have uploaded the public key to my account there, but haven't been able to successfully connect to the repo. I've tried both svn+ssh, as well as https, but still no luck...

      Okay, I got it figured... For those who're still stuck here's what i did:

      1. I was wrong to assume that because there were separate input fields for SVN and GIT public keys in my profile form on thechaw.com, the project could be accessed as both - SVN and GIT repository. It seems that SVN is being used when accessing a project stored in an SVN repo - which is not the case with Cakebook...

      2. I created my private/public keys and copy/pasted the public string in my thechaw.com profile edit form as a GIT key

      3. I created ~/.ssh/config file with the following text:


      Host thechaw.com
        User git
        Port 22
        Hostname thechaw.com
        IdentityFile ~/path/to/your-private-key-filename-here
        TCPKeepAlive yes
        IdentitiesOnly yes


      I first tried using my thechaw.com username instead of 'git' on both places - in the git clone command url, and in .ssh/config, but to no success. Then I reverted to the default 'git'

      4. I chmoded my private key file to 600 as otherwise it's ignored


      chmod 600 ~/path/to/your-private-key-filename-here

      5. I then cloned the code using what's suggested on the website:


      git clone git@thechaw.com:cakebook.git

      I guess everyone used to working with GitHub is probably quite familiar with this stuff, but for SVN guys like me it was a stopper :)
      • Posted 11/24/08 10:48:39 PM
        I'm not able to connect to the SVN repository on thechaw.com. I've created an SSH key and have uploaded the public key to my account there, but haven't been able to successfully connect to the repo. I've tried both svn+ssh, as well as https, but still no luck...

        Okay, I got it figured... For those who're still stuck here's what i did:

        1. I was wrong to assume that because there were separate input fields for SVN and GIT public keys in my profile form on thechaw.com, the project could be accessed as both - SVN and GIT repository. It seems that SVN is being used when accessing a project stored in an SVN repo - which is not the case with Cakebook...

        2. I created my private/public keys and copy/pasted the public string in my thechaw.com profile edit form as a GIT key

        3. I created ~/.ssh/config file with the following text:


        Host thechaw.com
          User git
          Port 22
          Hostname thechaw.com
          IdentityFile ~/path/to/your-private-key-filename-here
          TCPKeepAlive yes
          IdentitiesOnly yes


        I first tried using my thechaw.com username instead of 'git' on both places - in the git clone command url, and in .ssh/config, but to no success. Then I reverted to the default 'git'

        4. I chmoded my private key file to 600 as otherwise it's ignored


        chmod 600 ~/path/to/your-private-key-filename-here

        5. I then cloned the code using what's suggested on the website:


        git clone git@thechaw.com:cakebook.git

        I guess everyone used to working with GitHub is probably quite familiar with this stuff, but for SVN guys like me it was a stopper :)

        I tried your instructions step by step, but I just encountered this message:

        Permission denied (pubkey)
        fatal: The remote end hung up unexpectedly.
        fetch-pack from 'git@thechaw.com:cakebook.git' failed.
        • Posted 11/27/08 05:29:33 AM
          I tried your instructions step by step, but I just encountered this message:

          Permission denied (pubkey)
          fatal: The remote end hung up unexpectedly.
          fetch-pack from 'git@thechaw.com:cakebook.git' failed.

          Are you in MAC OS X?
          I thing these steps is desired to MAC OS X users.

          To other OS's, please check it: http://github.com/guides/providing-your-ssh-key
          • Posted 12/07/08 11:47:10 PM
            I tried your instructions step by step, but I just encountered this message:

            Permission denied (pubkey)
            fatal: The remote end hung up unexpectedly.
            fetch-pack from 'git@thechaw.com:cakebook.git' failed.

            Are you in MAC OS X?
            I thing these steps is desired to MAC OS X users.

            To other OS's, please check it: http://github.com/guides/providing-your-ssh-key

            I got it! my problem was because I didn't submitted my RSA keys to thechaw.com by going to my user profile named as 'edit' link.
  • Posted 11/20/08 02:00:35 PM
    Really cool, that the code is on the open now. Just tried it and found out that you have it integrated in some way with bakery's database and it isn't a standalone app.

    I'll have to install bakery's db first then
    • Posted 11/21/08 05:12:26 AM
      Really cool, that the code is on the open now. Just tried it and found out that you have it integrated in some way with bakery's database and it isn't a standalone app.

      I'll have to install bakery's db first then

      You make it sound like thats a bad thing and a surprise.

      Please see http://thechaw.com/cakebook/browser/docs/install_instructions.txt if you have any install difficulties.

Comments are closed for articles over a year old