[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[mylyn-reviews-dev] Extension point for file history
|
Hi,
I'm Kilian from Mylyn Reviews team and would like to discuss
some details about future development in public - so please provide
feedback.
For the patch-based reviews we are still missing an important feature:
if the patch doesn't apply cleanly against the checked out copy, we
would like to apply the patch against the HEAD, when the patch was
submitted.
Thus
we need an extension point for retrieving file history information,
until the Mylyn SCM project is ready. ( Another use case is to review
the changesets of a task - for the task reviews we planned for later
point)
My first draft would be:
public interface IScmAdapter {
org.eclipse.compare.patch.
ReaderCreator getFileForRevision(IRevision revision);
// this method is probably not be well suited for cvs.
IRevision getRevisionForDate(java.util.Date date);
List<IChangeset> getChangesetsForTask(String taskId, String repositoryUrl );
}
// marker interface for revision identifier
public interface IRevision {
}
public interface IChangeset {
}
public interface IFileRevision{
IRevision getRevision();
String getFileName();
InputStream getContents();
// more meta-data like author, date, ..
}
Best regards Kilian