[ckan-changes] [ckan/ckan] 46a2d6: Add a test for Sphinx errors or warnings

GitHub noreply at github.com
Mon Jul 28 05:07:00 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: 46a2d6baada8ebb4abcd2614dfd50dd74b4e2bbc
      https://github.com/ckan/ckan/commit/46a2d6baada8ebb4abcd2614dfd50dd74b4e2bbc
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    A ckan/new_tests/test_coding_standards.py

  Log Message:
  -----------
  Add a test for Sphinx errors or warnings


  Commit: 1575808e72fe8d5aebeaf32f67f098d035fb1b52
      https://github.com/ckan/ckan/commit/1575808e72fe8d5aebeaf32f67f098d035fb1b52
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    M doc/api.rst
    M doc/contributing/i18n.rst
    M doc/extensions/adding-custom-fields.rst

  Log Message:
  -----------
  Fix some Sphinx warnings


  Commit: 8f7a628b7f08fa59968078b2d728f4615db2086a
      https://github.com/ckan/ckan/commit/8f7a628b7f08fa59968078b2d728f4615db2086a
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    M ckan/new_tests/test_coding_standards.py

  Log Message:
  -----------
  PEP8


  Commit: 086fdeb4e5232be9ff4cb998dbff1e9eff0fe9de
      https://github.com/ckan/ckan/commit/086fdeb4e5232be9ff4cb998dbff1e9eff0fe9de
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    M ckan/new_tests/test_coding_standards.py

  Log Message:
  -----------
  Print reason when building docs fails

Print the reason when the building the docs test fails because Sphinx
exits with non-zero. Should help debug this test on Travis..


  Commit: 9016127a15db1401a6c24630c6802cd2a2667d11
      https://github.com/ckan/ckan/commit/9016127a15db1401a6c24630c6802cd2a2667d11
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    M ckan/new_tests/test_coding_standards.py
    M doc/conf.py

  Log Message:
  -----------
  Don't use subprocess.check_output()

It isn't in Python 2.6


  Commit: c0ed14574846e13522bb28d7be4bdf6c60765c35
      https://github.com/ckan/ckan/commit/c0ed14574846e13522bb28d7be4bdf6c60765c35
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    M doc/conf.py

  Log Message:
  -----------
  Print reason if getting CKAN version in docs fails

Trying to debug a problem building the docs on Travis..


  Commit: 58de32b978ad07a104b751ccf2ba87f8e9b9dc6e
      https://github.com/ckan/ckan/commit/58de32b978ad07a104b751ccf2ba87f8e9b9dc6e
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    M doc/conf.py

  Log Message:
  -----------
  Don't crash docs build if `git tag` fails

For some reason `git tag -l` seems to be outputting nothing on Travis,
which makes the docs build crash on Travis.

Instead of crashing just use an empty string for the CKAN version, which
will break the docs but no one reads the docs that Travis builds anyway.


  Commit: 30b09fdb93ffeb6e6d6168e47158262b5520c24d
      https://github.com/ckan/ckan/commit/30b09fdb93ffeb6e6d6168e47158262b5520c24d
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    M doc/conf.py

  Log Message:
  -----------
  Typo


  Commit: 5c4c0573f846f4aa46fbf118ea70060c3b18c4c4
      https://github.com/ckan/ckan/commit/5c4c0573f846f4aa46fbf118ea70060c3b18c4c4
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    A ckan/lib/util.py
    M ckan/new_tests/test_coding_standards.py
    M doc/conf.py

  Log Message:
  -----------
  Move check_output() to shared function

Remove two duplicated check_output() functions.

This also fixes a Python 2.6 error that when the subprocess exited with
non-zero check_output() was calling CalledProcessError with an argument
that doesn't exist in 2.6.


  Commit: 871ebd28f9ffbebdb77eec6fb3fa4d25060de23a
      https://github.com/ckan/ckan/commit/871ebd28f9ffbebdb77eec6fb3fa4d25060de23a
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    M ckan/lib/util.py

  Log Message:
  -----------
  Fix a typo in a docstring


  Commit: 599b6541772224b91a95c9d116ac1f17c4ff656a
      https://github.com/ckan/ckan/commit/599b6541772224b91a95c9d116ac1f17c4ff656a
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    M doc/conf.py

  Log Message:
  -----------
  Fix a Sphinx error on Travis


  Commit: f638f40444444e956f9c3cc931af0d8edc4f0a4a
      https://github.com/ckan/ckan/commit/f638f40444444e956f9c3cc931af0d8edc4f0a4a
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-02 (Wed, 02 Jul 2014)

  Changed paths:
    M doc/conf.py

  Log Message:
  -----------
  Fix a Sphinx error on Travis


  Commit: dd5dd304968118f2244d4ea5a0e97173ee62675e
      https://github.com/ckan/ckan/commit/dd5dd304968118f2244d4ea5a0e97173ee62675e
  Author: Sean Hammond <git at seanh.cc>
  Date:   2014-07-07 (Mon, 07 Jul 2014)

  Changed paths:
    M ckan/new_tests/test_coding_standards.py

  Log Message:
  -----------
  Minor tweak to Sphinx test


  Commit: 5efd71f42525f65611a07ea9db97e92a5ebc99f8
      https://github.com/ckan/ckan/commit/5efd71f42525f65611a07ea9db97e92a5ebc99f8
  Author: Nigel Babu <nigelbabu at gmail.com>
  Date:   2014-07-28 (Mon, 28 Jul 2014)

  Changed paths:
    A ckan/lib/util.py
    A ckan/new_tests/test_coding_standards.py
    M doc/conf.py

  Log Message:
  -----------
  Merge pull request #1826 from ckan/add-sphinx-test

[#1826] Add sphinx test


Compare: https://github.com/ckan/ckan/compare/ce28858c1fd1...5efd71f42525


More information about the ckan-changes mailing list