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

List:       kde-panel-devel
Subject:    Re: Review Request: Implement automatic scanning of source code for
From:       "Kevin Kofler" <kevin.kofler () chello ! at>
Date:       2011-08-21 1:47:44
Message-ID: 20110821014744.20376.67588 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

(Updated Aug. 21, 2011, 1:47 a.m.)


Review request for Plasma.


Changes
-------

The script engine API for Ruby is called "ruby-script", not "ruby" (for wha=
tever reason).
(I also swapped the order of the Python and Ruby checks to put them into al=
phabetical order, which probably also happens to be the order of popularity=
.)


Summary
-------

For packages in scripting languages and distributed through OCS, this is fu=
lly
automatic and triggered from Package::installPackage. If an
X-Plasma-RequiredDataEngines entry is present in the .desktop file (even if
empty), the dependency extraction is not run and the explicitly provided
information is trusted instead.

For native distribution packages, we ship a tool called
plasma-dataengine-depextractor which can be run at any time during the build
process and which adds the dependency information to the relevant .desktop =
file.

Authors of plasmoids are encouraged to run plasma-dataengine-depextractor a=
nd/or
fill in X-Plasma-RequiredDataEngines manually. (Please note that the list is
expected to be comma-separated.)

This is the final portion of my GSoC 2011 project.


Diffs (updated)
-----

  plasma/CMakeLists.txt f929967 =

  plasma/depextractor/depextractor.cpp PRE-CREATION =

  plasma/package.cpp 4c00d36 =

  plasma/private/componentinstaller.cpp 870667f =

  plasma/private/componentinstaller_p.h f85cbb6 =


Diff: http://git.reviewboard.kde.org/r/102350/diff


Testing
-------

Compiles on Fedora 15.

Tested plasma-dataengine-depextractor on the weather plasmoid, it detected =
the dependency on the weather dataengine correctly and wrote a valid X-Plas=
ma-RequiredDataEngines entry into the .desktop file.


Thanks,

Kevin


[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/102350/">http://git.reviewboard.kde.org/r/102350/</a>
  </td>
    </tr>
   </table>
   <br />


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

<div>Review request for Plasma.</div>
<div>By Kevin Kofler.</div>


<p style="color: grey;"><i>Updated Aug. 21, 2011, 1:47 a.m.</i></p>



<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Changes</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;">The script engine API for Ruby is called &quot;ruby-script&quot;, not \
&quot;ruby&quot; (for whatever reason). (I also swapped the order of the Python and \
Ruby checks to put them into alphabetical order, which probably also happens to be \
the order of popularity.)</pre>  </td>
 </tr>
</table>


<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;">For packages in scripting languages and distributed through OCS, this is \
fully automatic and triggered from Package::installPackage. If an
X-Plasma-RequiredDataEngines entry is present in the .desktop file (even if
empty), the dependency extraction is not run and the explicitly provided
information is trusted instead.

For native distribution packages, we ship a tool called
plasma-dataengine-depextractor which can be run at any time during the build
process and which adds the dependency information to the relevant .desktop file.

Authors of plasmoids are encouraged to run plasma-dataengine-depextractor and/or
fill in X-Plasma-RequiredDataEngines manually. (Please note that the list is
expected to be comma-separated.)

This is the final portion of my GSoC 2011 project.</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;">Compiles on Fedora 15.

Tested plasma-dataengine-depextractor on the weather plasmoid, it detected the \
dependency on the weather dataengine correctly and wrote a valid \
X-Plasma-RequiredDataEngines entry into the .desktop file.</pre>  </td>
 </tr>
</table>




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

 <li>plasma/CMakeLists.txt <span style="color: grey">(f929967)</span></li>

 <li>plasma/depextractor/depextractor.cpp <span style="color: \
grey">(PRE-CREATION)</span></li>

 <li>plasma/package.cpp <span style="color: grey">(4c00d36)</span></li>

 <li>plasma/private/componentinstaller.cpp <span style="color: \
grey">(870667f)</span></li>

 <li>plasma/private/componentinstaller_p.h <span style="color: \
grey">(f85cbb6)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/102350/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