This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 32570 - Redesign versioning API
Summary: Redesign versioning API
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks: 31397
  Show dependency tree
 
Reported: 2003-04-02 14:04 UTC by Martin Entlicher
Modified: 2005-03-14 12:31 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2003-04-02 14:04:34 UTC
Redesign either current "API" for versioning
explorer integration or create a API new under
org.netbeans.api.vcs.
Comment 1 Martin Entlicher 2003-04-02 14:08:41 UTC
The current design of revisions is too cvs-centric. A more generic
solution is needed.

Comment 2 Martin Entlicher 2003-07-21 16:57:31 UTC
Upgrading to P1. It's not possible to integrate versioning explorer
for versioning systems, that do not have CVS-like structure of
revision numbers (e.g. ClearCase).
Comment 3 Martin Entlicher 2004-04-26 16:55:30 UTC
This is necessary for ClearCase (issue #31397), scheduling for
promotion D.
Comment 4 Martin Entlicher 2004-05-03 17:53:06 UTC
Scheduling for future.
Comment 5 Martin Entlicher 2005-03-11 19:24:28 UTC
We'll likely be solving this into 4.1.
The redesign should be minimalistic, just to be able to implement issue #31397.
Comment 6 Martin Entlicher 2005-03-14 12:17:52 UTC
Fixed in trunk. Only RevisionItem is abstract now, the contract should be more
clear and better documented.

/cvs/vcscore/src/org/netbeans/modules/vcscore/VcsVersioningSystem.java,v  <-- 
VcsVersioningSystem.java
new revision: 1.62; previous revision: 1.61
done
Checking in
vcsgeneric/profiles/teamware/src/org/netbeans/modules/vcs/profiles/teamware/util/SRevisionList.java;
/cvs/vcsgeneric/profiles/teamware/src/org/netbeans/modules/vcs/profiles/teamware/util/SRevisionList.java,v
 <--  SRevisionList.java
new revision: 1.4; previous revision: 1.3
done
Checking in
vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsRevisionListGetter.java;
/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsRevisionListGetter.java,v
 <--  CvsRevisionListGetter.java
new revision: 1.5; previous revision: 1.4
done
Checking in
vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/commands/PvcsRevisionListGetter.java;
/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/commands/PvcsRevisionListGetter.java,v
 <--  PvcsRevisionListGetter.java
new revision: 1.4; previous revision: 1.3
done
Checking in
vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/commands/PvcsRevisionListGetterLocalized.java;
/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/commands/PvcsRevisionListGetterLocalized.java,v
 <--  PvcsRevisionListGetterLocalized.java
new revision: 1.4; previous revision: 1.3
done
Checking in
vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/commands/VssRevisionListGetter.java;
/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/commands/VssRevisionListGetter.java,v
 <--  VssRevisionListGetter.java
new revision: 1.3; previous revision: 1.2
done
Checking in
vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/commands/VssRevisionListGetterLocalized.java;
/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/commands/VssRevisionListGetterLocalized.java,v
 <--  VssRevisionListGetterLocalized.java
new revision: 1.4; previous revision: 1.3
done
Checking in
vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionChildren.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionChildren.java,v
 <--  RevisionChildren.java
new revision: 1.11; previous revision: 1.10
done
Checking in vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionItem.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionItem.java,v 
<--  RevisionItem.java
new revision: 1.13; previous revision: 1.12
done
Checking in vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionList.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionList.java,v 
<--  RevisionList.java
new revision: 1.9; previous revision: 1.8
done
Checking in vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionNode.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/RevisionNode.java,v 
<--  RevisionNode.java
new revision: 1.17; previous revision: 1.16
done
Checking in vcscore/src/org/netbeans/modules/vcscore/versioning/impl/FileNode.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/impl/FileNode.java,v 
<--  FileNode.java
new revision: 1.12; previous revision: 1.11
done
Removing
vcscore/src/org/netbeans/modules/vcscore/versioning/impl/NumDotRevisionChildren.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/impl/NumDotRevisionChildren.java,v
 <--  NumDotRevisionChildren.java
new revision: delete; previous revision: 1.5
done
Checking in
vcscore/src/org/netbeans/modules/vcscore/versioning/impl/NumDotRevisionItem.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/impl/NumDotRevisionItem.java,v
 <--  NumDotRevisionItem.java
new revision: 1.5; previous revision: 1.4
done
Removing
vcscore/src/org/netbeans/modules/vcscore/versioning/impl/NumDotRevisionList.java;
/cvs/vcscore/src/org/netbeans/modules/vcscore/versioning/impl/NumDotRevisionList.java,v
 <--  NumDotRevisionList.java
new revision: delete; previous revision: 1.2
Comment 7 Martin Entlicher 2005-03-14 12:31:35 UTC
Also ClearCase revision getter made compilable:

/cvs/vcsgeneric/profiles/clearcase/src/org/netbeans/modules/vcs/profiles/clearcase/list/ClearCaseRevisionListGetter.java,v
 <--  ClearCaseRevisionListGetter.java
new revision: 1.4; previous revision: 1.3

However, it probably needs further tunning...