Synchronize It! -- Add support for regular expression

Post your new features ideas and suggestions here.
Post Reply
Guest

Synchronize It! -- Add support for regular expression

Post by Guest »

Could you add support for regular expressions to Synchronize It? You could compare the files using existing comparison algorthym and then apply the regular expressions to the files that are different. The files could be marked as approxamately equal if they match after applying the regular expressions.

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

Can you describe few samples of using?

s1a1blum
Posts: 2
Joined: Mon Sep 17, 2007 3:48 pm

Example

Post by s1a1blum »

I have several different directories of code sql command etc.. dump form my source control of choice... Now I get an update from our overseas developer and I want to see all the defferences but ignore any comment changes or SQL settings (ie differences in SET QUOTED_IDENTIFIER)... just differences in the logic...

I didn't really start the thread but here is my example...

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

Thank you for comment! My question was whether RegExp would be used for files content comparison, or for some folder level purposes. Smart files comparison will be solved by invoking CompareIt for this purpose - there is no reason to duplicate functionality.

s1a1blum
Posts: 2
Joined: Mon Sep 17, 2007 3:48 pm

Final comments...

Post by s1a1blum »

Thanks for the quick response back. I must say these tools are the best development tool investment I've made!!!

I understand the reason you may not want to duplicate the functionality. But for this use their absolutely is a reason. I am currently as you suggest using CompareIt! to examine the differences Synchronize It! identified. Synchronize It! lists some 300 files as different and then each of the 300 has to be opened in CompareIt! to identify the 10 or 20 files that actually have material differences.

Fortunately very rarely do I have to help out the SQL team with this update. Since this was my first time. I attempted to use the standard tool used by my MSSQL colleagues MS DB-Pro. This application similar to Synchronize It! identified some 300 files unfortunately DB-pro's only method to compare the logic was to scroll through each of the 300 files to identify the 10-20 actual differences. I am loving the capabilities of the Compare It id just rather only have to open 10 and not 300 files!!

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

I'm sorry, I have not explained it properly. Check this topic, for example - http://grigsoft.com/forum/viewtopic.php?t=1222 .
What I meant is Synchronize It!will be able to call CompareIt internally to check if files are identical. CompareIt will use it's own rules (including upcoming different comparison rules for different files).

erics96
Posts: 5
Joined: Mon Jan 21, 2008 2:55 pm

Post by erics96 »

Has any support for this been added? I also use regular expressions in my Compare It! to pull out RCS tags, but when I use synchronize it to compare multiple directories, these "identical" files are not filtered out like I would expect them to be since Compare It! is used as my comparator and it indicates that the files are identical. Am I just missing the configuration option to have Synchronize It! use the result from Compare It! to list whether the file is identical?

I am running Sync 3.4 and Compare 4.0.

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

No, this is not yet inplemented.

erics96
Posts: 5
Joined: Mon Jan 21, 2008 2:55 pm

Post by erics96 »

Any timeframe when you think this may be supported? :)

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

I will try to add it in next update.

digitalfreak
Posts: 6
Joined: Wed Oct 17, 2007 8:55 pm
Location: Germany

Post by digitalfreak »

Are there any news about this feature?
Its a personaly long awaited feature of me.

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

Do you mean using CompareIt from Synchronize It! to smartly compare files?

digitalfreak
Posts: 6
Joined: Wed Oct 17, 2007 8:55 pm
Location: Germany

Post by digitalfreak »

Yes I mean Using CompareIt !at its algorithm from Synchronize It! to have reg-exp support.

Post Reply