Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Mylyn Task List"

Line 1: Line 1:
==Objectives==
+
==Refactoring Objectives==
  
 
* Task Data Refactoring
 
* Task Data Refactoring
Line 5: Line 5:
 
*** repository configuration options stored in same file
 
*** repository configuration options stored in same file
 
*** Configuration data is being updated upon load anyway
 
*** Configuration data is being updated upon load anyway
 
 
** Presentation information such as hidden/readonly status fields being persisted
 
** Presentation information such as hidden/readonly status fields being persisted
 
** Actions being included (although perhaps this should remain as is)
 
** Actions being included (although perhaps this should remain as is)
Line 12: Line 11:
 
*** Could just have a flag indicating the existance of an offline file rather than load the data
 
*** Could just have a flag indicating the existance of an offline file rather than load the data
 
*** What does this break?
 
*** What does this break?
 
 
**Task Data Externalization
 
**Task Data Externalization
 
*** Switch to XML
 
*** Switch to XML
*** Use IMemento for now
+
*** Use IMemento for now (if a problem we c
 
*** Separate files vs. one BIG file
 
*** Separate files vs. one BIG file
 
*** Consider zipping all the individual xml files together into one zip file (similar to Open Office file format ODF)
 
*** Consider zipping all the individual xml files together into one zip file (similar to Open Office file format ODF)
 +
 +
==XML File Formats==
 +
 +
===Task Data===
 +
 +
 +
<TaskData version="1.0" taskId="1" repositoryUrl="http://bugs.eclipse.org/bugs" repositoryKind="Bugzilla" modifiedTs="timestamp">
 +
<Attribute id="...priority" modifiedTs="timestamp" author="rob.elves">
 +
<Value>xxx</Value>
 +
<Value>xxx</Value>
 +
<Value>xxx</Value>
 +
</Attribute>
 +
 +
<Comment hasAttachment="true" attachmentId="1">
 +
<Attribute id="...author">
 +
  <Value>rob.evles</Value>
 +
</Attribute>
 +
</Comment>
 +
<NewComment>
 +
</NewComment>
 +
 +
<Attachment id="1" isObsolete="false">
 +
<Attribute id="...attachment_date">
 +
  <Value>date</Value>
 +
</Attribute>
 +
</Attachment>
 +
</TaskData>

Revision as of 11:38, 24 October 2006

Refactoring Objectives

  • Task Data Refactoring
    • Currently not nomalized
      • repository configuration options stored in same file
      • Configuration data is being updated upon load anyway
    • Presentation information such as hidden/readonly status fields being persisted
    • Actions being included (although perhaps this should remain as is)
    • Lazy loading
      • currently loaded at tasklist load time
      • Could just have a flag indicating the existance of an offline file rather than load the data
      • What does this break?
    • Task Data Externalization
      • Switch to XML
      • Use IMemento for now (if a problem we c
      • Separate files vs. one BIG file
      • Consider zipping all the individual xml files together into one zip file (similar to Open Office file format ODF)

XML File Formats

Task Data

<TaskData version="1.0" taskId="1" repositoryUrl="http://bugs.eclipse.org/bugs" repositoryKind="Bugzilla" modifiedTs="timestamp"> <Attribute id="...priority" modifiedTs="timestamp" author="rob.elves">

<Value>xxx</Value>
<Value>xxx</Value>
<Value>xxx</Value>

</Attribute>

<Comment hasAttachment="true" attachmentId="1">

<Attribute id="...author">
 <Value>rob.evles</Value>
</Attribute>

</Comment> <NewComment> </NewComment>

<Attachment id="1" isObsolete="false">

<Attribute id="...attachment_date">
 <Value>date</Value>
</Attribute>

</Attachment> </TaskData>

Back to the top