Closed Bug 833204 Opened 7 years ago Closed 7 years ago

add support for sending attachments to tcl

Categories

(bugzilla.mozilla.org :: Extensions, defect)

Production
x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: glob)

Details

add an "Attach" element in the xml:

<sync>
  <Mozilla_ID>12345</Mozilla_ID>
  <When>...</When>
  <Who>glob@mozilla.com</Who>
  <Status>ASSIGNED</Status>
  <Resolution/>
  <Attach>
    <Attach_ID>98765</Attach_ID>
    <Filename>640756.diff</FIlename>
    <Description>Sample attachment</Description>
    <ContentType>text/plain</ContentType>
    <IsPatch>true</IsPatch>
    <IsUpdate>false</IsUpdate>
  </Attach>
</sync>

for new attachments, "IsUpdate" will be "false", the payload will be in a ".sync.attach" file.

for updates to existing payloads, "IsUpdate" will be "true", and the payload file won't exist.
pushed to bugzilla-stage-tip for evaluation from tcl:

Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bmo/4.0-dev/
modified extensions/Push/lib/Connector/TCL.pm
Committed revision 8013.
the implementation is good.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Component: Extensions: Push → Extensions
You need to log in before you can comment on or make changes to this bug.