introducing something new to chew on

By gwoo (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 864

CakePHP Team Comments Author Comments
 

Comment

1 Nice but...

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 Nov 20, 2008 by Joaquin Windmuller
 

Comment

2 SVN credentials problem

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 Nov 21, 2008 by Atanas Vasilev
 

Comment

3 Nice but... there is no but.

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.

Posted Nov 21, 2008 by Andy Dawson
 

Comment

4 [Updated] SVN credentials problem

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 Nov 21, 2008 by Atanas Vasilev
 

Comment

5 re: Nice but... there is no but

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 Nov 21, 2008 by Joaquin Windmuller
 

Question

6 Adding first admin user

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 Nov 21, 2008 by Wilson Sheldon
 

Comment

7 RE: Adding first admin user

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 Nov 22, 2008 by Joaquin Windmuller
 

Comment

8 Permission denied (publickey)

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 Nov 24, 2008 by Jojo Siao
 

Comment

9 Re: Permission denied (publickey)

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 Nov 27, 2008 by Renan Gonçalves
 

Comment

10 RE: Permission denied

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 Dec 7, 2008 by Jojo Siao
 

Comment

11 Super cool!

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 Dec 10, 2008 by Tom Maiaroto