Closed Bug 957643 Opened 11 years ago Closed 11 years ago

[mozlog] Add warn to log warnings in LoggingMixin

Categories

(Testing :: Mozbase, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: davehunt, Assigned: davehunt)

References

Details

Attachments

(2 files)

Currently LogginMixin supports info and error, so this would just add warn.
Attachment #8357178 - Flags: review?(wlachance)
Blocks: 928452
Comment on attachment 8357178 [details] [diff] [review] Add warn to LoggingMixin. v1.0 Review of attachment 8357178 [details] [diff] [review]: ----------------------------------------------------------------- Makes sense.
Attachment #8357178 - Flags: review?(wlachance) → review+
What's the procedure for landing mozbase changes and and bumping versions? Am I right that it's all in mozilla-central now? Is that mirrored automatically or do we need to land in two places?
Flags: needinfo?(wlachance)
We still land in github for now, and bump versions there. If you want your changes for m-c, you'll need to mirror your changes. But there is no need to do to so as afaik the plan is for ahal to do one last mirror with the final switchover.
Flags: needinfo?(wlachance)
Landed in: https://github.com/mozilla/mozbase/commit/8e3c36c6f07153c74c4ead88b79e58a2093fdf57 I've never done a version bump for mozbase before. I ran the following and have attached the patch for review. $ ./versionbump.py --diff bump-mozlog.patch mozlog=1.5 mozrunner=5.29 Pulling from git://github.com/mozilla/mozbase.git master Running ['git', 'pull', 'git://github.com/mozilla/mozbase.git', 'master'], {'cwd': '/Users/dhunt/workspace/mozbase', 'stderr': None, 'stdout': None} From git://github.com/mozilla/mozbase * branch master -> FETCH_HEAD Already up-to-date. Bumping mozrunner == 5.28 => 5.29 Bumping mozlog == 1.4 => 1.5 Bumping dependencies ['mozlog >= 1.3'] of mozrunner - Bumping dependency mozlog >= 1.3 => mozlog >= 1.5 Writing diff to bump-mozlog.patch Running ['git', 'reset', '--hard', 'HEAD'], {}
Attachment #8357670 - Flags: review?(wlachance)
Comment on attachment 8357670 [details] [diff] [review] bump-mozlog.patch I usually don't bother with version bumps for review -- I just do them. :) But this looks fine, and I guess we'll need to get into the habit when m-c becomes the canonical location.
Attachment #8357670 - Flags: review?(wlachance) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: