Closed Bug 862411 Opened 12 years ago Closed 6 years ago

Implement an IDL checking hook on mozilla-b2g18* for RIL-impacting interface changes

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: akeybl, Assigned: bajaj, NeedInfo)

References

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/676] )

Attachments

(1 file)

Cloning for a B2G hook, only checking these idl files: content/base/public/nsIMessageManager.idl dom/interfaces/settings/nsISettingsService.idl dom/messages/interfaces/nsISystemMessagesInternal.idl dom/mobilemessage/interfaces/nsIDOMSmsMessage.idl dom/mobilemessage/interfaces/nsIMobileMessageCallback.idl dom/mobilemessage/interfaces/nsIRilMobileMessageDatabaseService.idl dom/mobilemessage/interfaces/nsISmsService.idl dom/system/gonk/nsIAudioManager.idl dom/system/gonk/nsIRadioInterfaceLayer.idl dom/time/nsITimeService.idl xpcom/system/nsIGeolocationProvider.idl +++ This bug was initially created as a clone of Bug #813809 +++ The attached hook looks at any files ending in .idl in a push and scans the changes for 'uuid(' - if found, the user is warned and their push is rejected if they do not have binary approval (ba=...) in the tip commit comment. The tests pass except checking that if deleting a file with a uuid in it is found for approval. I would love a second pair of eyes on that one (on top of the whole deal). Once the hook is reviewed and approved it will need to be installed on our hg server as a pretxnchangegroup hook (same as treeclosure) on mozilla-beta and mozilla-release repos only.
Assignee: nobody → akeybl
Assignee: akeybl → lsblakk
Mostly a straight-up copy of the other IDL hook, but checks against a hardcoded list of files we know to watch for that could affect B2G. Tests pass.
Attachment #766109 - Flags: review?(ted)
Comment on attachment 766109 [details] [diff] [review] Hook to watch specific B2G IDL files Michael - does this list of files look complete to you? Any additions?
Attachment #766109 - Flags: feedback?(mvines)
Attachment #766109 - Flags: feedback?(mvines) → feedback?(anshulj)
Alex, I am assuming this change is for Moz central, so please find the additional files that we care about. {"nsIDOMMozCellBroadcastMessage", NS_IDOMMOZCELLBROADCASTMESSAGE_IID}, {"nsIDOMMozMobileCellInfo", NS_IDOMMOZMOBILECELLINFO_IID}, {"nsIDOMMozMobileConnectionInfo", NS_IDOMMOZMOBILECONNECTIONINFO_IID}, {"nsIDOMMozMobileNetworkInfo", NS_IDOMMOZMOBILENETWORKINFO_IID}, {"nsIDOMMozSmsSegmentInfo", NS_IDOMMOZSMSSEGMENTINFO_IID}, {"nsIICCRecords", NS_IICCRECORDS_IID}, {"nsIMobileMessageService", NS_IMOBILEMESSAGESERVICE_IID}, {"nsINetworkInterface", NS_INETWORKINTERFACE_IID}, {"nsINetworkManager", NS_INETWORKMANAGER_IID}, {"nsIRILDataCallInfo", NS_IRILDATACALLINFO_IID}, {"nsIRILDataCallback", NS_IRILDATACALLBACK_IID}, {"nsIRilContext", NS_IRILCONTEXT_IID}, {"nsIRilMobileMessageDatabaseCallback", NS_IRILMOBILEMESSAGEDATABASECALLBACK_IID}, {"nsIVoicemailInfo", NS_IVOICEMAILINFO_IID},
Comment on attachment 766109 [details] [diff] [review] Hook to watch specific B2G IDL files Review of attachment 766109 [details] [diff] [review]: ----------------------------------------------------------------- ::: mozhghooks/prevent_uuid_changes_b2g.py @@ +19,5 @@ > +to specific .idl files in the b2g codebase > +""" > +import re > + > +FILES = [ nit: could use FILES = set([...])
Attachment #766109 - Flags: review?(ted) → review+
Product: mozilla.org → Release Engineering
Attachment #766109 - Flags: feedback?(anshulj) → feedback-
Product: Release Engineering → Developer Services
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/273]
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/273] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/671] [kanban:engops:https://kanbanize.com/ctrl_board/6/273]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/671] [kanban:engops:https://kanbanize.com/ctrl_board/6/273] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/676] [kanban:engops:https://kanbanize.com/ctrl_board/6/273]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/676] [kanban:engops:https://kanbanize.com/ctrl_board/6/273] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/676]
Bhavana, is this still needed for b2g branches?
Flags: needinfo?(bbajaj)
(In reply to Lukas Blakk [:lsblakk] use ?needinfo from comment #5) > Bhavana, is this still needed for b2g branches? We were trying to do this for RIL impacting files, so this is not urgent but will be a nice to have. I can assign it to myself and help out here where when I have a chance int he next few weeks.
Assignee: lsblakk → bbajaj
Flags: needinfo?(bbajaj)
Is this still needed? If so, perhaps the bug summary could be updated to not reflect b2g18.
Flags: needinfo?(bajaj.bhavana)
QA Contact: hwine
QA Contact: hwine → klibby
Mass closing as we are no longer working on b2g/firefox os.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Mass closing as we are no longer working on b2g/firefox os.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: