|
|
Created:
5 years ago by kjellander_webrtc Modified:
5 years ago CC:
webrtc-reviews_webrtc.org, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc, Andrew MacDonald Base URL:
https://chromium.googlesource.com/external/webrtc.git@master Target Ref:
refs/pending/heads/master Project:
webrtc Visibility:
Public. |
DescriptionAdd webrtc/base to deprecated APIs.
webrtc/base is used in several places downstream so we need
to be careful when updating it as well. Add it as deprecated
to disencourage new projects starting to depend on it.
BUG=webrtc:5095
NOTRY=True
Committed: https://crrev.com/fd595235878df06e7737ba8b72e8792d31d58d8a
Cr-Commit-Position: refs/heads/master@{#10892}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Added descriptive comment about the native APIs #Messages
Total messages: 30 (15 generated)
kjellander@webrtc.org changed reviewers: + kwiberg@webrtc.org, tommi@webrtc.org
https://codereview.webrtc.org/1497733002/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1497733002/diff/1/PRESUBMIT.py#newcode27 PRESUBMIT.py:27: 'webrtc/base', # DEPRECATED (will go away). What does DEPRECATED mean? That webrtc/base is going away? That external users shouldn't include stuff from there directly? Indirectly?
phoglund@webrtc.org changed reviewers: + phoglund@webrtc.org
lgtm https://codereview.webrtc.org/1497733002/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1497733002/diff/1/PRESUBMIT.py#newcode27 PRESUBMIT.py:27: 'webrtc/base', # DEPRECATED (will go away). On 2015/12/03 13:44:27, kwiberg-webrtc wrote: > What does DEPRECATED mean? That webrtc/base is going away? That external users > shouldn't include stuff from there directly? Indirectly? I guess what we want to say here is "don't depend on this thing directly."
https://codereview.webrtc.org/1497733002/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1497733002/diff/1/PRESUBMIT.py#newcode27 PRESUBMIT.py:27: 'webrtc/base', # DEPRECATED (will go away). On 2015/12/03 13:58:55, phoglund wrote: > On 2015/12/03 13:44:27, kwiberg-webrtc wrote: > > What does DEPRECATED mean? That webrtc/base is going away? That external users > > shouldn't include stuff from there directly? Indirectly? I guess it could be phrased differently, but I mean going away from this list of "supported" APIs, since we don't want to support it (but haven't been able to update downstream code yet). If they use another API that includes files from webrtc/base indirectly, that's not their problem (just ours). > I guess what we want to say here is "don't depend on this thing directly." Yes.
https://codereview.webrtc.org/1497733002/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1497733002/diff/1/PRESUBMIT.py#newcode27 PRESUBMIT.py:27: 'webrtc/base', # DEPRECATED (will go away). On 2015/12/03 14:03:53, kjellander (webrtc) wrote: > On 2015/12/03 13:58:55, phoglund wrote: > > On 2015/12/03 13:44:27, kwiberg-webrtc wrote: > > > What does DEPRECATED mean? That webrtc/base is going away? That external > users > > > shouldn't include stuff from there directly? Indirectly? > > I guess it could be phrased differently, but I mean going away from this list of > "supported" APIs, since we don't want to support it (but haven't been able to > update downstream code yet). > If they use another API that includes files from webrtc/base indirectly, that's > not their problem (just ours). > > > I guess what we want to say here is "don't depend on this thing directly." > Yes. OK, sounds good. Perhaps a comment on line 24 that explains that this is the list of directories where we don't change headers willy-nilly, and that DEPRECATED means that the entry in question is going away from the list?
PTAL https://codereview.webrtc.org/1497733002/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1497733002/diff/1/PRESUBMIT.py#newcode27 PRESUBMIT.py:27: 'webrtc/base', # DEPRECATED (will go away). On 2015/12/03 14:52:28, kwiberg-webrtc wrote: > On 2015/12/03 14:03:53, kjellander (webrtc) wrote: > > On 2015/12/03 13:58:55, phoglund wrote: > > > On 2015/12/03 13:44:27, kwiberg-webrtc wrote: > > > > What does DEPRECATED mean? That webrtc/base is going away? That external > > users > > > > shouldn't include stuff from there directly? Indirectly? > > > > I guess it could be phrased differently, but I mean going away from this list > of > > "supported" APIs, since we don't want to support it (but haven't been able to > > update downstream code yet). > > If they use another API that includes files from webrtc/base indirectly, > that's > > not their problem (just ours). > > > > > I guess what we want to say here is "don't depend on this thing directly." > > Yes. > > OK, sounds good. Perhaps a comment on line 24 that explains that this is the > list of directories where we don't change headers willy-nilly, and that > DEPRECATED means that the entry in question is going away from the list? You're right. I added a descriptive comment now and removed the confusing "will go away" text.
Looks excellent! lgtm
Description was changed from ========== Add webrtc/base to deprecated APIs. webrtc/base is used in several places downstream so we need to be careful when updating it as well. Add it as deprecated to disencourage new projects starting to depend on it. BUG=webrtc:5095 ========== to ========== Add webrtc/base to deprecated APIs. webrtc/base is used in several places downstream so we need to be careful when updating it as well. Add it as deprecated to disencourage new projects starting to depend on it. BUG=webrtc:5095 NOTRY=True ==========
The CQ bit was checked by kjellander@webrtc.org
The patchset sent to the CQ was uploaded after l-g-t-m from phoglund@webrtc.org Link to the patchset: https://codereview.webrtc.org/1497733002/#ps20001 (title: "Added descriptive comment about the native APIs")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497733002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497733002/20001
The CQ bit was unchecked by tandrii@chromium.org
The CQ bit was checked by tandrii@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497733002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497733002/20001
The CQ bit was unchecked by tandrii@chromium.org
The CQ bit was checked by tandrii@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497733002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497733002/20001
The CQ bit was unchecked by tandrii@chromium.org
The CQ bit was checked by tandrii@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497733002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497733002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by tandrii@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497733002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497733002/20001
Message was sent while issue was closed.
Description was changed from ========== Add webrtc/base to deprecated APIs. webrtc/base is used in several places downstream so we need to be careful when updating it as well. Add it as deprecated to disencourage new projects starting to depend on it. BUG=webrtc:5095 NOTRY=True ========== to ========== Add webrtc/base to deprecated APIs. webrtc/base is used in several places downstream so we need to be careful when updating it as well. Add it as deprecated to disencourage new projects starting to depend on it. BUG=webrtc:5095 NOTRY=True ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Add webrtc/base to deprecated APIs. webrtc/base is used in several places downstream so we need to be careful when updating it as well. Add it as deprecated to disencourage new projects starting to depend on it. BUG=webrtc:5095 NOTRY=True ========== to ========== Add webrtc/base to deprecated APIs. webrtc/base is used in several places downstream so we need to be careful when updating it as well. Add it as deprecated to disencourage new projects starting to depend on it. BUG=webrtc:5095 NOTRY=True Committed: https://crrev.com/fd595235878df06e7737ba8b72e8792d31d58d8a Cr-Commit-Position: refs/heads/master@{#10892} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/fd595235878df06e7737ba8b72e8792d31d58d8a Cr-Commit-Position: refs/heads/master@{#10892} |