add support for sending attachments to tcl

RESOLVED FIXED

Status

()

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: glob, Assigned: glob)

Tracking

Production
x86
Mac OS X

Details

(Assignee)

Description

6 years ago
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.
(Assignee)

Comment 1

6 years ago
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.
(Assignee)

Comment 2

6 years ago
the implementation is good.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.