Bug 226402 - Complete mirroring application
Summary: Complete mirroring application
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 RC3   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-04-09 21:05 EDT by Pascal Rapicault CLA
Modified: 2008-05-28 19:41 EDT (History)
3 users (show)

See Also:
simon_kaegi: review+


Attachments
metadata mirror application for org.eclipse.equinox.p2.metadata.repository (17.53 KB, patch)
2008-05-28 14:46 EDT, Benson Wong CLA
wong: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2008-04-09 21:05:19 EDT
We currently have a prototype of a mirroring application allowing to copy content from one repository to another one. We need to make it work and have the appropriate command line arguments.
Comment 1 Pascal Rapicault CLA 2008-04-09 21:05:51 EDT
Tentatively marking for 3.4.
Comment 2 Benjamin Cabé CLA 2008-04-11 06:49:37 EDT
Pascal, I'd be happy to work on this feature.
Can you please tell me the command line arguments that you'd like to be supported?
There's no wiki page about the requirement of this application yet, right ?
Comment 3 Pascal Rapicault CLA 2008-04-14 10:41:50 EDT
Hi Benjamin, thank you for accepting to help. 

For the first version of the mirroring application, let's keep it simple and allow it to take two parameters one being a source repository and one being a target repository.
Note that there is already some code in the project org.eclipse.equinox.p2.artifact.repository (class MirrorApplication).
Comment 4 Benson Wong CLA 2008-05-28 14:46:53 EDT
Created attachment 102470 [details]
metadata mirror application for org.eclipse.equinox.p2.metadata.repository

This patch is to add a metadata mirror application to org.eclipse.equinox.p2.metadata.repository.

It will mirror the entire source repository, or it will mirror the specified roots from a coma separated list. It can take the id, the id/version, or the id/(version range).
Comment 5 Jeff McAffer CLA 2008-05-28 16:49:49 EDT
+1
Comment 6 Simon Kaegi CLA 2008-05-28 16:51:38 EDT
+1
Committed with a slight tweak.