[Buildbot-commits] [djmitche/buildbot] 57125a: Decode strings from change objects as if they're u...

noreply at github.com noreply at github.com
Thu May 13 01:02:54 UTC 2010


Branch: refs/heads/master
Home:   http://github.com/djmitche/buildbot

Commit: 57125af4734505021b20b0faceaba92e8e66455d
    http://github.com/djmitche/buildbot/commit/57125af4734505021b20b0faceaba92e8e66455d
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-05-10 (Mon, 10 May 2010)

Changed paths:
  M buildbot/db/schema/v1.py
  A buildbot/test/regressions/test_import_unicode_changes.py

Log Message:
-----------
Decode strings from change objects as if they're utf-8.

Fixes: #820


Commit: 4d83d45a8f15a9299b33d8b029edcfbd0ad97005
    http://github.com/djmitche/buildbot/commit/4d83d45a8f15a9299b33d8b029edcfbd0ad97005
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-05-10 (Mon, 10 May 2010)

Changed paths:
  M buildbot/db/dbspec.py
  M buildbot/db/schema/v1.py
  M buildbot/db/schema/v3.py
  M buildbot/db/schema/v4.py
  M buildbot/test/regressions/test_import_unicode_changes.py
  M buildbot/test/unit/test_db_dbspec.py
  M buildbot/test/unit/test_db_schema_master.py

Log Message:
-----------
Reduce length of scheduler name, class_name columns so they fit with
utf8 mysql collations.

Detect non-unicode friendly database connection on v1 upgrade, and
complain if it loses information.


Commit: 280d785f8763a0b565a05d221ecf461891394cfe
    http://github.com/djmitche/buildbot/commit/280d785f8763a0b565a05d221ecf461891394cfe
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-05-10 (Mon, 10 May 2010)

Changed paths:
  M buildbot/db/schema/v1.py

Log Message:
-----------
Make remove_none return u"" for None, and not replace data


Commit: db1e51818c87f2e4716ad589e0e6fa5fc0f8cf7c
    http://github.com/djmitche/buildbot/commit/db1e51818c87f2e4716ad589e0e6fa5fc0f8cf7c
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-05-10 (Mon, 10 May 2010)

Changed paths:
  M buildbot/test/regressions/test_import_unicode_changes.py

Log Message:
-----------
Test that trying to import non-utf8 data will raise exceptions


Commit: 363308579212e0f6bc26171b18c1d1bdde933adf
    http://github.com/djmitche/buildbot/commit/363308579212e0f6bc26171b18c1d1bdde933adf
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-05-10 (Mon, 10 May 2010)

Changed paths:
  M buildbot/test/regressions/test_import_unicode_changes.py

Log Message:
-----------
Test regular ascii data


Commit: 09af42b12f25f18cef10484e59bf49a8fc7039bd
    http://github.com/djmitche/buildbot/commit/09af42b12f25f18cef10484e59bf49a8fc7039bd
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-05-10 (Mon, 10 May 2010)

Changed paths:
  M buildbot/test/regressions/test_import_unicode_changes.py

Log Message:
-----------
formatting


Commit: a6839b6f07483bb492d7fbe840e914fca124cd03
    http://github.com/djmitche/buildbot/commit/a6839b6f07483bb492d7fbe840e914fca124cd03
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-05-10 (Mon, 10 May 2010)

Changed paths:
  M buildbot/db/schema/v1.py

Log Message:
-----------
Raise an exception if the db can't store unicode data


Commit: 684ba07fb4523ebf99e9ee488eb5a00dcce04cce
    http://github.com/djmitche/buildbot/commit/684ba07fb4523ebf99e9ee488eb5a00dcce04cce
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-05-10 (Mon, 10 May 2010)

Changed paths:
  M buildbot/db/schema/v1.py
  M buildbot/test/regressions/test_import_unicode_changes.py

Log Message:
-----------
Improve exception on unicode decode failure


Commit: 19c9fa36825bb94143bce28b3d2b2c430ce93957
    http://github.com/djmitche/buildbot/commit/19c9fa36825bb94143bce28b3d2b2c430ce93957
Author: Chris AtLee <catlee at mozilla.com>
Date:   2010-05-10 (Mon, 10 May 2010)

Changed paths:
  M buildbot/db/schema/v1.py
  M buildbot/test/regressions/test_import_unicode_changes.py
  A contrib/fix_changes_pickle_encoding.py

Log Message:
-----------
Get fix_changes_pickle_encoding script working and tested...sort of


Commit: 0c8442f65fb98b42d1ebdf761b7b2bf942c2bc34
    http://github.com/djmitche/buildbot/commit/0c8442f65fb98b42d1ebdf761b7b2bf942c2bc34
Author: Dustin J. Mitchell <dustin at zmanda.com>
Date:   2010-05-10 (Mon, 10 May 2010)

Changed paths:
  M contrib/fix_changes_pickle_encoding.py

Log Message:
-----------
tweaks to contrib script


Commit: fbdfb878bf46aed182f6e35890bdd8e90b4274a0
    http://github.com/djmitche/buildbot/commit/fbdfb878bf46aed182f6e35890bdd8e90b4274a0
Author: Dustin J. Mitchell <dustin at zmanda.com>
Date:   2010-05-12 (Wed, 12 May 2010)

Changed paths:
  M docs/installation.texinfo

Log Message:
-----------
add docs for potential encoding problems


Commit: 12b0be6392c139e5a0dbdf9c22a30095400b0882
    http://github.com/djmitche/buildbot/commit/12b0be6392c139e5a0dbdf9c22a30095400b0882
Author: Dustin J. Mitchell <dustin at zmanda.com>
Date:   2010-05-12 (Wed, 12 May 2010)

Changed paths:
  M buildbot/db/dbspec.py
  M buildbot/db/schema/v1.py
  M buildbot/db/schema/v3.py
  M buildbot/db/schema/v4.py
  A buildbot/test/regressions/test_import_unicode_changes.py
  M buildbot/test/unit/test_db_dbspec.py
  M buildbot/test/unit/test_db_schema_master.py
  A contrib/fix_changes_pickle_encoding.py
  M docs/installation.texinfo

Log Message:
-----------
Merge branch 'ticket820'

* ticket820:
  add docs for potential encoding problems
  tweaks to contrib script
  Get fix_changes_pickle_encoding script working and tested...sort of
  Improve exception on unicode decode failure
  Raise an exception if the db can't store unicode data
  formatting
  Test regular ascii data
  Test that trying to import non-utf8 data will raise exceptions
  Make remove_none return u"" for None, and not replace data
  Reduce length of scheduler name, class_name columns so they fit with
  Decode strings from change objects as if they're utf-8.






More information about the Commits mailing list