From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost ([128.39.46.106]) by mx.google.com with ESMTPSA id c10sm49424142lbd.9.2013.11.29.01.24.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Nov 2013 01:24:53 -0800 (PST) From: Gaute Hope To: sup-devel Subject: Re: [sup-devel] A maildir root source: syncing labels with maildirs (imap folders) In-reply-to: <1385584974-sup-8936@qwerzila> References: <1385392376-sup-8491@qwerzila> <1385415206-sup-5054@qwerzila> <1385476504-sup-9378@indy.local> <1385478548-sup-9110@qwerzila> <2AC33855-6B00-42FB-9F3B-D160D8B556D4@schmeiser.org> <1385484573-sup-869@qwerzila> <1385513221-sup-4344@indy.local> <1385533106-sup-5646@qwerzila> <1385555365-sup-7389@indy.local> <1385557223-sup-3280@qwerzila> <1385576444-sup-3271@kpad> <1385584974-sup-8936@qwerzila> Date: Fri, 29 Nov 2013 10:22:44 +0100 Message-Id: <1385716758-sup-298@qwerzila> User-Agent: Sup/git Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=-1385716964-826863-19707-9253-1-=" --=-1385716964-826863-19707-9253-1-= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Excerpts from Gaute Hope's message of 2013-11-27 22:10:38 +0100: > Excerpts from Matthieu Rakotojaona's message of 2013-11-27 19:32:02 +01= 00: > > Excerpts from Gaute Hope's message of 2013-11-27 14:08:36 +0100: [..] > It also > currently does not check new messages (since non-gmail sources will not= > have a copy in archive), we should do a check upon :add in > poll.rb#do_poll to the source that checks if existing_sources has > @archive, if not add and return to poll with updated locations (no > sync_back needed and no index sync needed as poll will do that > afterwards). As of commit db5e75f we check in poll if the message is in archive, otherwise add (archive is the first subdir to be polled so it should always be present). Another issue is messages that get labels added automatically, these are not synced back before the message is opened or somehow otherwise activated. Could possibly do a full sync_back after :add, :delete or :update in poll. - gaute --=-1385716964-826863-19707-9253-1-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJSmFzkAAoJEJgnp+igdJAjXLcP/R6SVMq07dF9/uXoYONVYtNQ GUBPDlzlBjN+LUhGIvlzrbTMGC8gwLFjKxzWnHbiw6EZDdNyLQ4jkvMjZcwz+W0z FBf22lFOVzyI4+JoLP/pokF6IQ6r9OGT7ATMeN1W/Ya8OKXujVCsedS4fiuiWbF9 WJXmEAnLAm5EinLj3yZy2Kt9t2K5p+4vNo5CyLc03Z/SKXgCegMad0U2tmgjeIM/ NOAl7ckKUlJv+BYU1Dbj3Xtr6biaTghoiF7aqhOLUcIEarTn9Lcd7UlZ0VuC00tn cwU1JBqZYAT+Tw7AXQWsg+huA/2CDz4nVcsBLZpJXKELlU+Y3tpY4Veci+WBUaQN aq3esuwQWsD4WdSMZ2gYm7brc31CR2ApPFgci1CcMNdDzu+ijRp0JUDKA7FqbpHX 9FevLGzgUDWjUlsjV7dRaVlo510d/cxbqDbj2mcUiqjIyM1E1zsogycqrjkzfi6f 38cqaDfLKem3kMv3ufoKBJw5iiX9YUJNWU3ccfq3kMWEYH4HTkOZTnBNzAOu3Dq7 WcGXx1bqn9vSiVT4ucrddVIN928BkVwBf1bdodoJzk/2KUngX/8UZFmp9zke1JuL Frq8hXVZW4Hfuw5aDra228ma6eKiT3b1X1tH9cvgCihXSfXvOMTT0tBUasV3heUw 1DeVZrwEQXavmy1KEyF4 =sQR0 -----END PGP SIGNATURE----- --=-1385716964-826863-19707-9253-1-=--