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

List:       kde-frameworks-devel
Subject:    Re: Review Request 127023: [KFileMetadata] Support Origin Email subject/sender/id
From:       Vishesh Handa <me () vhanda ! in>
Date:       2016-02-15 13:31:51
Message-ID: 20160215133151.26765.67566 () mimi ! kde ! org
[Download RAW message or body]

--===============8507763582677780586==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127023/#review92404
-----------------------------------------------------------


Fix it, then Ship it!





src/propertyinfo.cpp (line 421)
<https://git.reviewboard.kde.org/r/127023/#comment63024>

    I'm not too keen on indexing this unless there is a clear use case. It just \
increases the size of the index.  
    During the Nepomuk days we used to index and collect way too much information \
with the hope that we would be find amazing creative uses for the data. It did not \
end well.


- Vishesh Handa


On Feb. 9, 2016, 9:09 p.m., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127023/
> -----------------------------------------------------------
> 
> (Updated Feb. 9, 2016, 9:09 p.m.)
> 
> 
> Review request for KDE Frameworks, KDEPIM, Daniel Vrátil, Sebastian Kügler, and \
> Vishesh Handa. 
> 
> Repository: kfilemetadata
> 
> 
> Description
> -------
> 
> This adds support for the user.xdg.origin.email.subject, \
> user.xdg.origin.email.sender, user.xdg.origin.email.message-id xattrs [1] to \
> KFileMetadata. 
> This can (should :P) be populated by KMail when you save an attachment.
> 
> Not too happy about the "displayName" I chose. Also we'll need to figure out what \
> to index and how we can relate this information and present it to the user in a \
> meaningful way. But at least let's collect the information first and then we can \
> think about ways to handle this. 
> [1] https://wiki.freedesktop.org/www/CommonExtendedAttributes/
> 
> 
> Diffs
> -----
> 
> src/properties.h 6ceaca5 
> src/propertyinfo.cpp 4d1fac4 
> src/usermetadata.h 9e10d2a 
> src/usermetadata.cpp 5485d0e 
> 
> Diff: https://git.reviewboard.kde.org/r/127023/diff/
> 
> 
> Testing
> -------
> 
> Not really. Tests pass, though.
> 
> 
> Thanks,
> 
> Kai Uwe Broulik
> 
> 


--===============8507763582677780586==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit




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



<p>

Fix it, then Ship it!

</p>









<div>



<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; \
border-collapse: collapse; margin: 2px padding: 2px;">  <thead>
  <tr>
   <th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; \
font-size: 9pt; padding: 4px 8px; text-align: left;">  <a \
href="https://git.reviewboard.kde.org/r/127023/diff/1/?file=443863#file443863line421" \
style="color: black; font-weight: bold; text-decoration: \
underline;">src/propertyinfo.cpp</a>  <span style="font-weight: normal;">

     (Diff revision 1)

    </span>
   </th>
  </tr>
 </thead>



 
 

 <tbody>

  <tr>
    <th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" \
align="right"><font size="2"></font></th>  <td bgcolor="#c5ffc4" width="50%"><pre \
style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>  <th \
bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid \
#C0C0C0;" align="right"><font size="2">421</font></th>  <td bgcolor="#c5ffc4" \
width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">            \
<span class="n">d</span><span class="o">-&gt;</span><span class="n">valueType</span> \
<span class="o">=</span> <span class="n">QVariant</span><span \
class="o">::</span><span class="n">String</span><span class="p">;</span></pre></td>  \
</tr>

 </tbody>

</table>

 <div style="margin-left: 2em;">

  <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">I'm \
not too keen on indexing this unless there is a clear use case. It just increases the \
size of the index.</p> <p style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: inherit;">During the Nepomuk days we used to \
index and collect way too much information with the hope that we would be find \
amazing creative uses for the data. It did not end well.</p></pre>  </div>
</div>
<br />



<p>- Vishesh Handa</p>


<br />
<p>On February 9th, 2016, 9:09 p.m. UTC, Kai Uwe Broulik wrote:</p>








<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tr>
  <td>

<div>Review request for KDE Frameworks, KDEPIM, Daniel Vrátil, Sebastian Kügler, \
and Vishesh Handa.</div> <div>By Kai Uwe Broulik.</div>


<p style="color: grey;"><i>Updated Feb. 9, 2016, 9:09 p.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
kfilemetadata
</div>


<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;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">This adds support for the \
user.xdg.origin.email.subject, user.xdg.origin.email.sender, \
user.xdg.origin.email.message-id xattrs [1] to KFileMetadata.</p> <p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">This \
can (should :P) be populated by KMail when you save an attachment.</p> <p \
style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
inherit;">Not too happy about the "displayName" I chose. Also we'll need to figure \
out what to index and how we can relate this information and present it to the user \
in a meaningful way. But at least let's collect the information first and then we can \
think about ways to handle this.</p> <p style="padding: 0;text-rendering: \
inherit;margin: 0;line-height: inherit;white-space: inherit;">[1] \
https://wiki.freedesktop.org/www/CommonExtendedAttributes/</p></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;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Not really. Tests pass, though.</p></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>src/properties.h <span style="color: grey">(6ceaca5)</span></li>

 <li>src/propertyinfo.cpp <span style="color: grey">(4d1fac4)</span></li>

 <li>src/usermetadata.h <span style="color: grey">(9e10d2a)</span></li>

 <li>src/usermetadata.cpp <span style="color: grey">(5485d0e)</span></li>

</ul>

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






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







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


--===============8507763582677780586==--


[Attachment #3 (text/plain)]

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


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

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