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.


~ by Liz on July 18, 2008.

3 Responses to “A New Project for the Plone Collective”

  1. Great little writeup, Liz — will you consider turning it into a howto at plone.org/documentation?

  2. Jon,

    Good idea. My contribution to Open Source Friday!

  3. 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!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: