Review Request: Plasmate:now StartPage::createNewProject() creates the plasmateprojectrc and not the StartPage::loadLocalProject()

Giorgos Tsiapaliwkas terietor at gmail.com
Thu Oct 13 17:08:36 UTC 2011



> On Sept. 30, 2011, 12:39 p.m., Aaron J. Seigo wrote:
> > startpage.cpp, lines 557-562
> > <http://git.reviewboard.kde.org/r/102732/diff/1/?file=37467#file37467line557>
> >
> >     this should remain, so that opening a project that doesn't have the rc file gets one. best might be to move this code into a method called something like "ensureProjectrcFileExists()" and then call it from both of these places.

We have an issue.
Look at the commit "3a9061a6437221a3c80b16eaf9948b28dcc70e5a" if i do the above change then plasmate will not create the .git directory in the right place.

I can thing three solutions,
1.to have two "plasmateprojectrc" files which will have a different name
2.to scan the entire folder for a ".git" dir and if none will be found then to create the .git dir
3.to add something in the plasmateprojectrc which will act as a flag.


- Giorgos


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/102732/#review6960
-----------------------------------------------------------


On Sept. 29, 2011, 8:51 a.m., Giorgos Tsiapaliwkas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102732/
> -----------------------------------------------------------
> 
> (Updated Sept. 29, 2011, 8:51 a.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Description
> -------
> 
> Hello,
> 
> for the moment the .plasmateprojectrc file exists as a mark for the projects created by plasmate.
> We want the file to be created in the creation of the project not in the load of the project,the patch does that.
> 
> cheers
> 
> 
> Diffs
> -----
> 
>   startpage.cpp fc00441 
> 
> Diff: http://git.reviewboard.kde.org/r/102732/diff/diff
> 
> 
> Testing
> -------
> 
> workinig
> 
> 
> Thanks,
> 
> Giorgos Tsiapaliwkas
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20111013/13ced970/attachment.html>


More information about the Plasma-devel mailing list