UI-Idea for KDev4: Working-File-Baskets

Matthew Woehlke mw_triad at users.sourceforge.net
Thu May 3 14:32:10 UTC 2007


David Nolden wrote:
> Hi! Just while following all your discussion around VCS, I was thinking about 
> what would be necessary for me to use a subversion-plugin in KDevelop, and I 
> think the main problem is the missing overview, especially when you have 
> files spread over multiple folders.
> 
> Think about his case:
> I've changed lib/cppparser/parser.cpp, lib/cppparser/parser.h, and 
> languages/cpp/cppcodecompletion.cpp.
> 
> I want to commit those changes comfortable using the GUI, before that I want 
> to review them with kompare, and I do NOT want to be confused by the changes 
> I did to any other files in the project.
> 
> How can I do this comfortably from the user-interface?
> 
> Here's my Idea that would help about this:
> 
> Let's call it "Working-File-Baskets":

Let's call it "[working] change sets". :-) Some VCS's (e.g. perforce) 
support this natively. I already suggested doing it as a generic 
interface and adding support to it for other VCS's (e.g. subversion).

The best thing to do would be to look at the interfaces Andreas posted 
in "VCS Interface classes" and write up IWorkingSetVersionControl along 
similar lines. I'll be happy to help iron out what it needs to look like 
to be perforce-compatible (which it definitely should be!). We'll then 
need a generic implementation for use by subversion and other VCS's that 
don't have native support for change sets.

> -- Version-control:
> In the simplest case, baskets could be used to select all files you want to 
> commit. Simply drag those files into the basket, and then commit the basket.

Actually, you would right-click the basket and pick 'commit'. :-)

> You could 
> remove single files out of the basket that you do not want to commit, and 
> then commit the basket.

I want to make it possible for showCommit() to do this anyway; when you 
go to commit, you get a list of files to commit and you can unselect 
ones that should not be committed.

> Sorry for the long text, but what do you all think about the Idea?

I think you need to help convince Andreas. :-)

-- 
Matthew
Disadvantage: Bad Puns [-5]
You constantly utter puns so egregious as to cause mental distress to 
anyone hearing them. This can, however, be used to distract enemies.





More information about the KDevelop-devel mailing list