Open
Bug 1376393
Opened 8 years ago
Updated 7 years ago
Update bugs (dev-doc-needed/comment) when idl files are changed or added in the tree
Categories
(Developer Services :: General, task)
Developer Services
General
Tracking
(Not tracked)
NEW
People
(Reporter: fs, Unassigned)
Details
(briefly discussed this with :baku at the SF17 all-hands opening party)
(not sure where to file this – feel free to move it around)
Whenever idl files are changed or added in the tree, the related bug should
1) at least be marked as "dev-doc-needed"
2) ideally would also include a comment mentioning which interfaces/methods/properties etc. are affected and need doc updates on MDN.
Comment 1•8 years ago
|
||
A little added detail:
The MDN team uses the keyword "dev-doc-needed" on Bugzilla to indicate that a bug is likely to mean that documentation needs updating.
IDL changes (including new files, deletions, and non-whitespace-only edits) almost always mean developer docs need to be updated or written.
When IDL changes, additions, or deletions occur, this hook would:
1. At least add the "dev-doc-needed" keyword if not present.
2. Whether or not the keyword was added, ideally this would also add a comment to the bug listing the affected files (and their respective interfaces, methods, properties, and so forth) were affected, as well as mentions of changes to global comments since those may be documentation details.
Bonus points for URLs to the files on dxr as well as to the diff of each file.
Component: General → Mercurial: hg.mozilla.org
Product: Developer Documentation → Developer Services
updating bugzilla from a mercurial hook is undesirable as it can be an expensive operation.
reworking summary to state the goal rather than an implementation suggestion.
a better way to achieve this would be to write a service that listens to pulse for hg's change notification events[1], inspects the files touched by the commit, and updates bugzilla accordingly.
[1] http://mozilla-version-control-tools.readthedocs.io/en/latest/hgmo/notifications.html#pulse-notifications
Component: Mercurial: hg.mozilla.org → General
Summary: Create a hook for MDN when idl files are changed in the tree → Update bugs (dev-doc-needed/comment) when idl files are changed or added in the tree
Comment 3•8 years ago
|
||
What glob said.
Also, Phabricator can be used to perform actions when certain files change.
This bug is not actionable from my perspective.
You need to log in
before you can comment on or make changes to this bug.
Description
•