KDE/kdevelop/plugins/appwizard
Evgeniy Ivanov
pfx.kde at gmail.com
Tue Jun 17 11:21:27 UTC 2008
Andreas Pakulat wrote:
> On 16.06.08 18:38:56, Evgeniy Ivanov wrote:
>
>> @@ -282,6 +282,7 @@
>> QStringList entries = dir->entries();
>> kDebug(9010) << "entries:" << entries.join(",");
>>
>> + //TODO: if we use DVCS we don't require it, if tdir used some unrequired copies are done...
>>
>
> I can't understand this comment.
>
As I understand current algorithm is so: create tdir and unpack the
archive with a template (line 174, createProject()) to the tdir and then
to copy files from this tmpdir to the destination dir (line 308, which
is another tdir in VCS case). For DVCS we can unpack files directly to
the project's dir.
I'm not strong in VCS, but I think even for VCS we can use another way:
why do we unpack it to the tdir created in the unpackArchive() and then
copy to the another tdir created in the createProject()? We use unpack
to tdir1 -> copy to tdir2 -> import tdir2, what about unpacking to tdir1
-> importing tdir1 or unpacking to projDir in DVCS case?
More information about the KDevelop-devel
mailing list