camac / Swiper

Swiper Metadata Filter for Domino Designer Source Control
Apache License 2.0
16 stars 5 forks source link

Question on .metadata filtering #9

Closed markleusink closed 8 years ago

markleusink commented 8 years ago

It appears that .metadata files are filtered randomly by Swiper: sometimes they end up correctly in the ODS as a formatted XML document and sometimes it seems that they're not filtered at all. Can you explain why this happens?

I have automatic import & export enabled and build automatically turned off: if I build the application the files are synced to the ODS. I try not to use the Team Dev > Sync option.

Thx!

camac commented 8 years ago

Hi Mark, there are a few things that could be happening.

  1. Initial Project Sync - When the project is opened it does an initial sync, which does NOT trigger Swiper. Swiper currently will only run during a build, this initial sync is not part of a Build. Any files exported at this point will not be filtered as Swiper is not involved.
  2. Incremental Build - If the file had not been changed since the last build, it would not be included in the build, and therefore would not be included in the Sync
  3. Domino does not export the file - Within the Domino Source Control plugin's export process, it does a check to see if the original file is the same as the exported file, if so it does not export the file (and therefore would not export the metadata file either.

Currently the way the swiper works is:

Unfortunately this method does not cover every situation, this is why the 'Filter Selected' option is there.

Thankfully IBM are investigating some changes to allow Swiper to run every time (not complete yet though)

On Tue, Feb 23, 2016 at 2:05 AM, Mark Leusink notifications@github.com wrote:

It appears that .metadata files are filtered randomly by Swiper: sometimes they end up correctly in the ODS as a formatted XML document and sometimes it seems that they're not filtered at all. Can you explain why this happens?

I have automatic import & export enabled and build automatically turned off: if I build the application the files are synced to the ODS. I try not to use the Team Dev > Sync option.

Thx!

— Reply to this email directly or view it on GitHub https://github.com/camac/Swiper/issues/9.

markleusink commented 8 years ago

Thanks for clarifying that. Fingers crosses that IBM will improve the whole sync process in a next release of Domino...