<div dir="ltr"><div>Hi Reto,<br><br>thanks for the hints. I ended up doing this (for future references):<br><br></div>--snip--<br><div>diff --git a/<a href="http://harbour-newsblur.pro">harbour-newsblur.pro</a> b/<a href="http://harbour-newsblur.pro">harbour-newsblur.pro</a><br>index 08c0197..b564845 100644<br>--- a/<a href="http://harbour-newsblur.pro">harbour-newsblur.pro</a><br>+++ b/<a href="http://harbour-newsblur.pro">harbour-newsblur.pro</a><br>@@ -12,14 +12,12 @@<br> # The name of your application<br> TARGET = harbour-newsblur<br> <br>-CONFIG += sailfishapp<br>+CONFIG += sailfishapp \<br>+          sailfishapp_no_deploy_qml<br> <br> SOURCES += src/harbour-newsblur.cpp<br> <br> OTHER_FILES += qml/harbour-newsblur.qml \<br>-    qml/cover/CoverPage.qml \<br>-    qml/pages/FirstPage.qml \<br>-    qml/pages/SecondPage.qml \<br>     rpm/<a href="http://harbour-newsblur.changes.in">harbour-newsblur.changes.in</a> \<br>     rpm/harbour-newsblur.spec \<br>     rpm/harbour-newsblur.yaml \<br>@@ -44,7 +42,13 @@ OTHER_FILES += qml/harbour-newsblur.qml \<br>     qml/provider/api.js \<br>     qml/provider/FeedItem.qml \<br>     qml/provider/Api.qml \<br>-    qml/provider/AboutPage.qml<br>+    qml/provider/AboutPage.qml \<br>+    qml/harbour-newsblur.qml<br>+<br>+qml.files += qml<br>+unix:qml.extra = rm -Rf /home/mersdk/share/SailfishProjects/harbour-newsblur/qml/feedlib/.git<br>+qml.path = /usr/share/$${TARGET}<br>+INSTALLS += qml<br> <br> # to disable building translations every time, comment out the<br> # following CONFIG line<br></div><div>--snip--<br><br></div><div>Don't know if this the correct way to do it, but at least the .git directory is gone.<br><br>Cheers,<br></div><div>Juho<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 23, 2015 at 4:31 PM, Reto Zingg <span dir="ltr"><<a href="mailto:reto.zingg@jolla.com" target="_blank">reto.zingg@jolla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<span class=""><br>
<br>
On 23.01.2015 15:30, Juho Rutila wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Reto,<br>
<br>
I didn't spot any wildcards, but the project is on<br>
<a href="https://github.com/jrutila/harbour-newsblur" target="_blank">https://github.com/jrutila/<u></u>harbour-newsblur</a><br>
</blockquote>
<br></span>
hmm ok, I see the problem.<br>
<br>
It's configured as "sailfishapp":<br>
<a href="https://github.com/jrutila/harbour-newsblur/blob/master/harbour-newsblur.pro#L15" target="_blank">https://github.com/jrutila/<u></u>harbour-newsblur/blob/master/<u></u>harbour-newsblur.pro#L15</a><br>
<br>
which drags in this:<br>
<a href="https://github.com/sailfish-sdk/libsailfishapp/blob/master/data/sailfishapp.prf#L40-L45" target="_blank">https://github.com/sailfish-<u></u>sdk/libsailfishapp/blob/<u></u>master/data/sailfishapp.prf#<u></u>L40-L45</a><br>
<br>
so it's takes the whole qml folder in.<br>
<br>
I guess the easiest would be to set the "sailfishapp_no_deploy_qml" so that this part (L40-L45) of the prf file is not taken in and take care of deploying the files in qml folder by yourself and ensure it does not include the .git folder.<br>
<br>
best regards<span class="HOEnZb"><font color="#888888"><br>
Reto</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks for you help,<br>
-Juho<br>
<br>
<br>
On Fri, Jan 23, 2015 at 9:38 AM, Reto Zingg <<a href="mailto:reto.zingg@jolla.com" target="_blank">reto.zingg@jolla.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
<br>
On 23.01.2015 08:53, Juho Rutila wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I tried to validate an app to harbour. It was rejected because:<br>
Paths<br>
=====<br>
ERROR [/usr/share/harbour-newsblur/<u></u>qml/feedlib/.git] Source control<br>
directories must not be included<br>
<br>
The reason for this is that I have a git submodule in the feedlib<br>
directory. What should I add and where to ignore the .git directory in<br>
there? I think it should be in .pro-file in the OTHER_FILES or something.<br>
<br>
<br>
</blockquote>
Yes it's very likely that you have some wildcard inclusion for a whole<br>
folder, which contains the .git, in a .pro file.<br>
<br>
Without your pro files and knowing your folder structure, it's a little<br>
bit difficult to spot the exact problem :)<br>
Do you have the project somewhere open in a repository?<br>
Or could you provide the relevant .pro files and the directory structure?<br>
<br>
Thanks and best regards<br>
Reto<br>
<br>
  Regards,<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Juho<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to devel-unsubscribe@lists.<br>
<a href="http://sailfishos.org" target="_blank">sailfishos.org</a><br>
<br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to devel-unsubscribe@lists.<br>
<a href="http://sailfishos.org" target="_blank">sailfishos.org</a><br>
<br>
</blockquote>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.<u></u>sailfishos.org</a><br>
</div></div></blockquote></div><br></div>