Need help setting up Patchwork

Jeremy Kerr jk at ozlabs.org
Thu Jul 1 13:21:42 EST 2010


Hi Deen,

>   I am trying to setup a patchwork test my code with real data.  I am able
> to set up patchwork server using python manage.py runserver.
> 
>   Will this be sufficient setup for development purpose?

Yes, that will be fine; you shouldn't use this to run a production server 
though.

>   I haven't setup the email address to receive patches.  Can I use the
> email from the mailing list archive to populate the database?

You certainly can.

>   I tried to run the following command but got error.
> 
>  sudo -u nobody /srv/patchwork/apps/patchwork/bin/parsemail.sh < mail
> 
> 
> $ sudo -u nobody /srv/patchwork/apps/patchwork/bin/parsemail.sh <
> 2010-May.txt
> sudo: unable to execute /srv/patchwork/apps/patchwork/bin/parsemail.sh: No
> such file or directory

Does that file exist? And does /bin/sh work?

Also, you don't need to run that under sudo; as long as you have permissions 
to update the database, this should work.

Cheers,


Jeremy


More information about the Patchwork mailing list