diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-07-10 17:40:57 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-07-10 17:40:57 -0500 |
commit | 2ae78574b3eb8c393136e7ebbc922d33bf6482f2 (patch) | |
tree | 3c7bccb010600319c5f34ddf41aa31620de8e951 | |
parent | 5622cc44edfb2d653ae67946fa9ea130c5f7fcaa (diff) | |
parent | d3b1fd2e606f549c5ecc2a31c94d90aa93794005 (diff) | |
download | mediagoblin-2ae78574b3eb8c393136e7ebbc922d33bf6482f2.tar.lz mediagoblin-2ae78574b3eb8c393136e7ebbc922d33bf6482f2.tar.xz mediagoblin-2ae78574b3eb8c393136e7ebbc922d33bf6482f2.zip |
Merge branch 'release-0.4.1'
Conflicts:
mediagoblin/_version.py
-rw-r--r-- | docs/source/siteadmin/deploying.rst | 5 | ||||
-rw-r--r-- | docs/source/siteadmin/relnotes.rst | 16 | ||||
-rw-r--r-- | mediagoblin/_version.py | 2 | ||||
-rw-r--r-- | mediagoblin/media_types/pdf/processing.py | 4 | ||||
-rw-r--r-- | setup.py | 2 |
5 files changed, 23 insertions, 6 deletions
diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index 0ee6b5b4..9d7f83c1 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -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 diff --git a/docs/source/siteadmin/relnotes.rst b/docs/source/siteadmin/relnotes.rst index 7ae305a7..b49d1654 100644 --- a/docs/source/siteadmin/relnotes.rst +++ b/docs/source/siteadmin/relnotes.rst @@ -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** diff --git a/mediagoblin/_version.py b/mediagoblin/_version.py index 2abc105f..94629775 100644 --- a/mediagoblin/_version.py +++ b/mediagoblin/_version.py @@ -23,4 +23,4 @@ # see http://www.python.org/dev/peps/pep-0386/ -__version__ = "0.4.1.dev" +__version__ = "0.5.0.dev" diff --git a/mediagoblin/media_types/pdf/processing.py b/mediagoblin/media_types/pdf/processing.py index 49742fd7..b5adb5e6 100644 --- a/mediagoblin/media_types/pdf/processing.py +++ b/mediagoblin/media_types/pdf/processing.py @@ -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() @@ -45,7 +45,7 @@ setup( 'PasteScript', 'wtforms', 'py-bcrypt', - 'pytest>=2.3', + 'pytest>=2.3.1', 'pytest-xdist', 'werkzeug>=0.7', 'celery==2.5.3', |