Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 407508

Summary: Zip export should allow to exclude files
Product: [ECD] Orion Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ServerAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne, Szymon.Brandys
Version: 3.0   
Target Milestone: 3.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Malgorzata Janczarska CLA 2013-05-08 05:20:50 EDT
There are some kind of projects that contain metadata that should not be exported, for instance git projects contain .git directory, jazz projects contain .jazz5 directory. Those type of folders indicate that given directory is a repository/sandbox and after unpacking may be misleading for some external tools. Furthermore when imported to another Orion project may cause Orion to interpret projects as git or jazz projects and in some cases just override the valid metadata and corrupt the git repo or jazz sandbox.
We should allow to add parameter to the zip export link, like exclude=.git and then the excluded files will be omitted in generating the zip file. The Parameter could be added by git decorator.
Comment 1 Malgorzata Janczarska CLA 2013-05-08 09:01:14 EDT
This is done, files will be excluded when there is ?exclude=comma,separated,list,of,files parameter added to the export location.