| Summary: | Refactor context externalizing to allow adding other resources to the context ZIP file | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Manuel Doninger <manuel.doninger> |
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | shawn.minto, steffen.pingel |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 345661 | ||
|
Description
Manuel Doninger
That sounds like a good idea. Shawn, do you have any comments? I implemented a similar approach in a patch on bug 226618 that allows externalizers to contribute to a context specific memento which. I haven't gotten around to finishing the patch though I think that this sounds like the right approach to me. We may need to consider adding support when uploading context to allow users to exclude some information as it will not all be visible from the context page anymore, but it seems correct to store this information beside the context iteself. That's a very good point along the lines of bug 272088. What if we separated the local context store from the format that is externally shared? I'm thinking something like this: pre. .mylyn/data/bugs.eclipse.org/1234/ attachments/ unsubmitted-patch.txt activity.xml changesets.xml context.xml notes.txt task-edits.xml version.psf workspace-state.xml The cached data could be separated in another directory to make it easier to manually free disk space for instance. pre. .mylyn/cache/bugs.eclipse.org/1234/ attachments/ screenshot.png task-data.xml task-lastread.xml A context attachment would essentially be a zip version of the data task folder only including parts the user wants to share. Manuel, in terms of API it would probably look the same as to what you suggested in the description. Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |