Merge branch 'release-0.4.1'
Conflicts: mediagoblin/_version.py
This commit is contained in:
commit
2ae78574b3
@ -157,9 +157,10 @@ directory. Modify these commands to reflect your own environment::
|
||||
mkdir -p /srv/mediagoblin.example.org/
|
||||
cd /srv/mediagoblin.example.org/
|
||||
|
||||
Clone the MediaGoblin repository::
|
||||
Clone the MediaGoblin repository and set up the git submodules::
|
||||
|
||||
git clone git://gitorious.org/mediagoblin/mediagoblin.git
|
||||
git submodule init && git submodule fetch
|
||||
|
||||
And set up the in-package virtualenv::
|
||||
|
||||
@ -194,7 +195,7 @@ This concludes the initial configuration of the development
|
||||
environment. In the future, when you update your
|
||||
codebase, you should also run::
|
||||
|
||||
./bin/python setup.py develop --upgrade && ./bin/gmg dbupdate
|
||||
./bin/python setup.py develop --upgrade && ./bin/gmg dbupdate && git submodule fetch
|
||||
|
||||
Note: If you are running an active site, depending on your server
|
||||
configuration, you may need to stop it first or the dbupdate command
|
||||
|
@ -21,6 +21,19 @@ This chapter has important information for releases in it.
|
||||
If you're upgrading from a previous release, please read it
|
||||
carefully, or at least skim over it.
|
||||
|
||||
0.4.1
|
||||
=====
|
||||
|
||||
This is a bugfix release for 0.4.0. This only implements one major
|
||||
fix in the newly released document support which prevented the
|
||||
"conversion via libreoffice" feature.
|
||||
|
||||
If you were running 0.4.0 you can upgrade to v0.4.1 via a simple
|
||||
switch and restarting mediagoblin/celery with no other actions.
|
||||
|
||||
Otherwise, follow 0.4.0 instructions.
|
||||
|
||||
|
||||
0.4.0
|
||||
=====
|
||||
|
||||
@ -47,6 +60,9 @@ carefully, or at least skim over it.
|
||||
5. We now use itsdangerous for sessions; if you had any references to
|
||||
beaker in your paste config you can remove them. Again, see the
|
||||
default paste.ini config
|
||||
6. We also now use git submodules. Please do:
|
||||
``git submodule init && git submodule fetch``
|
||||
You will need to do this to use the new PDF support.
|
||||
|
||||
**For theme authors**
|
||||
|
||||
|
@ -23,4 +23,4 @@
|
||||
|
||||
# see http://www.python.org/dev/peps/pep-0386/
|
||||
|
||||
__version__ = "0.4.1.dev"
|
||||
__version__ = "0.5.0.dev"
|
||||
|
@ -250,8 +250,8 @@ def process_pdf(proc_state):
|
||||
else:
|
||||
pdf_filename = queued_filename.rsplit('.', 1)[0] + '.pdf'
|
||||
unoconv = where('unoconv')
|
||||
call(executable=unoconv,
|
||||
args=[unoconv, '-v', '-f', 'pdf', queued_filename])
|
||||
Popen(executable=unoconv,
|
||||
args=[unoconv, '-v', '-f', 'pdf', queued_filename]).wait()
|
||||
if not os.path.exists(pdf_filename):
|
||||
_log.debug('unoconv failed to convert file to pdf')
|
||||
raise BadMediaFail()
|
||||
|
Loading…
x
Reference in New Issue
Block a user