[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Review Request 109965: Refactor assetimporters
From:       "Giorgos Tsiapaliokas" <terietor () gmail ! com>
Date:       2013-05-12 20:38:30
Message-ID: 20130512203830.15382.7619 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> On May 11, 2013, 9:51 a.m., Aaron J. Seigo wrote:
> > licenseQuery, partnerQuery, languageQuery need to be changed to licenseId, \
> > partnerId and languageId. they return the ID of the license, partner and \
> > language. what they do internally is irrelevant. API must reflect what the API \
> > does to the user of the API, not how the API is implemented internally. it makes \
> > for more readable code and more maintainable code (as the implementation tends to \
> > stay in line with the naming)

yes I forgot to make those change in my patch.
I will upload the new one which contains them.


- Giorgos


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


On April 20, 2013, 10:52 a.m., Giorgos Tsiapaliokas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109965/
> -----------------------------------------------------------
> 
> (Updated April 20, 2013, 10:52 a.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Description
> -------
> 
> This patch
> 
> * removes the duplicated code in assetimporters
> * adds asset's size into the db
> * and fixes a few small issues
> 
> 
> Diffs
> -----
> 
> assetimporters/CMakeLists.txt 24e76a0 
> assetimporters/database-common/channelscatalog.h 5d39c02 
> assetimporters/database-common/channelscatalog.cpp 6ca0aef 
> assetimporters/database-common/database.h 9883216 
> assetimporters/database-common/database.cpp e860bdd 
> assetimporters/kdeartwork-wallpapers/CMakeLists.txt 56d19b9 
> assetimporters/kdeartwork-wallpapers/database.h 6991758 
> assetimporters/kdeartwork-wallpapers/database.cpp d75cdda 
> assetimporters/kdeartwork-wallpapers/kdewallpapersdatabase.h PRE-CREATION 
> assetimporters/kdeartwork-wallpapers/kdewallpapersdatabase.cpp PRE-CREATION 
> assetimporters/kdeartwork-wallpapers/main.cpp 708a949 
> assetimporters/obs/CMakeLists.txt 2dbcd42 
> assetimporters/obs/channelscatalog.h PRE-CREATION 
> assetimporters/obs/channelscatalog.cpp PRE-CREATION 
> assetimporters/obs/packagedatabase.h 99f4e17 
> assetimporters/obs/packagedatabase.cpp ae43b8e 
> assetimporters/projectgutenberg/CMakeLists.txt b86cc49 
> assetimporters/projectgutenberg/src/CMakeLists.txt 2d48e9c 
> assetimporters/projectgutenberg/src/database.h 8dba0ba 
> assetimporters/projectgutenberg/src/database.cpp 75cba69 
> assetimporters/projectgutenberg/src/gutenbergdatabase.h PRE-CREATION 
> assetimporters/projectgutenberg/src/gutenbergdatabase.cpp PRE-CREATION 
> assetimporters/projectgutenberg/src/main.cpp 46f2340 
> sql/bodega.sql 44f8641 
> 
> Diff: http://git.reviewboard.kde.org/r/109965/diff/
> 
> 
> Testing
> -------
> 
> I haven't noticed regression.
> 
> 
> Thanks,
> 
> Giorgos Tsiapaliokas
> 
> 


[Attachment #5 (text/html)]

<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;">  <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/109965/">http://git.reviewboard.kde.org/r/109965/</a>
  </td>
    </tr>
   </table>
   <br />





<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;">  <p style="margin-top: 0;">On May 11th, 2013, 9:51 a.m. UTC, <b>Aaron J. \
Seigo</b> wrote:</p>  <blockquote style="margin-left: 1em; border-left: 2px solid \
#d0d0d0; padding-left: 10px;">  <pre style="white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">licenseQuery, partnerQuery, languageQuery need to be changed to \
licenseId, partnerId and languageId. they return the ID of the license, partner and \
language. what they do internally is irrelevant. API must reflect what the API does \
to the user of the API, not how the API is implemented internally. it makes for more \
readable code and more maintainable code (as the implementation tends to stay in line \
with the naming)</pre>  </blockquote>







</blockquote>

<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">yes I forgot to make \
those change in my patch. I will upload the new one which contains them.</pre>
<br />










<p>- Giorgos</p>


<br />
<p>On April 20th, 2013, 10:52 a.m. UTC, Giorgos Tsiapaliokas wrote:</p>








<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for Plasma.</div>
<div>By Giorgos Tsiapaliokas.</div>


<p style="color: grey;"><i>Updated April 20, 2013, 10:52 a.m.</i></p>






<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">This patch

* removes the duplicated code in assetimporters
* adds asset&#39;s size into the db
* and fixes a few small issues</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">I haven&#39;t noticed regression.</pre>  </td>
 </tr>
</table>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>assetimporters/CMakeLists.txt <span style="color: grey">(24e76a0)</span></li>

 <li>assetimporters/database-common/channelscatalog.h <span style="color: \
grey">(5d39c02)</span></li>

 <li>assetimporters/database-common/channelscatalog.cpp <span style="color: \
grey">(6ca0aef)</span></li>

 <li>assetimporters/database-common/database.h <span style="color: \
grey">(9883216)</span></li>

 <li>assetimporters/database-common/database.cpp <span style="color: \
grey">(e860bdd)</span></li>

 <li>assetimporters/kdeartwork-wallpapers/CMakeLists.txt <span style="color: \
grey">(56d19b9)</span></li>

 <li>assetimporters/kdeartwork-wallpapers/database.h <span style="color: \
grey">(6991758)</span></li>

 <li>assetimporters/kdeartwork-wallpapers/database.cpp <span style="color: \
grey">(d75cdda)</span></li>

 <li>assetimporters/kdeartwork-wallpapers/kdewallpapersdatabase.h <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>assetimporters/kdeartwork-wallpapers/kdewallpapersdatabase.cpp <span \
style="color: grey">(PRE-CREATION)</span></li>

 <li>assetimporters/kdeartwork-wallpapers/main.cpp <span style="color: \
grey">(708a949)</span></li>

 <li>assetimporters/obs/CMakeLists.txt <span style="color: \
grey">(2dbcd42)</span></li>

 <li>assetimporters/obs/channelscatalog.h <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>assetimporters/obs/channelscatalog.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>assetimporters/obs/packagedatabase.h <span style="color: \
grey">(99f4e17)</span></li>

 <li>assetimporters/obs/packagedatabase.cpp <span style="color: \
grey">(ae43b8e)</span></li>

 <li>assetimporters/projectgutenberg/CMakeLists.txt <span style="color: \
grey">(b86cc49)</span></li>

 <li>assetimporters/projectgutenberg/src/CMakeLists.txt <span style="color: \
grey">(2d48e9c)</span></li>

 <li>assetimporters/projectgutenberg/src/database.h <span style="color: \
grey">(8dba0ba)</span></li>

 <li>assetimporters/projectgutenberg/src/database.cpp <span style="color: \
grey">(75cba69)</span></li>

 <li>assetimporters/projectgutenberg/src/gutenbergdatabase.h <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>assetimporters/projectgutenberg/src/gutenbergdatabase.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>assetimporters/projectgutenberg/src/main.cpp <span style="color: \
grey">(46f2340)</span></li>

 <li>sql/bodega.sql <span style="color: grey">(44f8641)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/109965/diff/" style="margin-left: \
3em;">View Diff</a></p>







  </td>
 </tr>
</table>








  </div>
 </body>
</html>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic