A New Project for the Plone Collective
I had a bit of trouble adding a new project in the Plone collective, so thought it might be helpful to put down the way to do it, with thanks to Derek Richardson for the help.
First you need write access to the collective.
Create your new project (don’t forget to change newProjectName to your actual project name
:
$ svn mkdir https://svn.plone.org/svn/collective/newProjectName -m 'Created new project newProjectName'
Committed revision blah.
Create your base directories:
$ svn mkdir https://svn.plone.org/svn/collective/newProjectName/{trunk,branches,tags} -m 'Added base files'
Committed revision blah.
Check out your new project:
$ svn co https://svn.plone.org/svn/collective/newProjectName/trunk newProjectName
Checked out revision blah.
Of course, you can work with a branch if you like. I kept getting a 403 Forbidden error when I was initially trying to set this up, and I’ve now discovered why. You must use https when checking out, not http. If you forget, and need to make the change, use the command svn switch –relocate http://svn.plone.org/svn/collective/newProjectName/trunk https://svn.plone.org/svn/collective/newProjectName/trunk.

Great little writeup, Liz — will you consider turning it into a howto at plone.org/documentation?
jonstahl said this on July 18, 2008 at 12:03 pm |
Jon,
Good idea. My contribution to Open Source Friday!
Liz said this on July 18, 2008 at 2:33 pm |
Indeed! Interesting alternative to how I first learned (and practiced with blinders-on since then
:
mkdir -p tempdir/newproj/{branches,tags,trunk}
cd tempdir
svn import . https://svn.plone.org/svn/collective
(Then blow away tempdir and checkout newproj wherever you like)
Also, love the optional argument to switch -relocate, who knew?!?!
Thanks Athena Geek!
aclark4life said this on July 18, 2008 at 4:57 pm |