Jump to: navigation, search

Mylyn Task List

Revision as of 11:09, 24 October 2006 by Rob.elves.eclipse.org (Talk | contribs) (Refactoring Objectives)

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
    • Operations being included
    • Lazy loading
      • currently loaded at tasklist load time
      • Could just have a flag indicating the existence of an offline file rather than load the data
      • What does this break?
    • Task Data Externalization
      • Switch to XML
      • Possibly use IMemento
      • 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)

  • Repository Configuration
    • Leave as responsibility of connector assuming a contract:
    • Provide IMemento upon startup as an option
    • Remote configuration gathered periodically
    • Always available (even if repository is deleted, configuration sticks)
    • Task data combined with configuration upon presentation rather than persistence

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">
<Comment hasAttachment="true" attachmentId="1">
 <Attribute id="...author">
   My new comment
<Attachment id="1" isObsolete="false">
 <Attribute id="...attachment_date">