View Issue Details

IDProjectCategoryView StatusLast Update
0001164SOGoBackend Generalpublic2012-11-21 17:40
Reporterxbgmsharp Assigned Tojraby 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version1.3.5 
Summary0001164: sogo-tool check-doubles doesn't works
Description

I want to cleanup all ducplicated contacts.

As sogo user:
sogo@sogo:~$ /usr/sbin/sogo-tool check-doubles
The warning limit for folder records is set at 1000

sogo@sogo:~$ /usr/sbin/sogo-tool remove-doubles
Usage: remove-doubles USER FOLDER

     USER       the owner of the contact folder
     FOLDER     the id of the folder to clean up
Additional Information

I found the same question but with no answer or i am not able to use the archive search of the mailing list.

https://inverse.ca/sogo/lists/arc/users/2011-02/msg00181.html

I am using Sogo-1.3.5a and Debian-5.0.8 Lenny

Some documentation are need to explain how do this work.

TagsNo tags attached.

Activities

ludovic

ludovic

2011-03-04 00:32

administrator   ~0002189

I see what you mean now - we'll probably drop that and/or combine this with remove-doubles.

xbgmsharp

xbgmsharp

2011-03-04 08:23

reporter   ~0002191

sogo@gate:~$ /usr/sbin/sogo-tool check-doubles
The warning limit for folder records is set at 1000
sogo@gate:~$ echo $?
0

We need to have some information and not only a warning or at least nothing.
Why a limit is set to 1000, should not it be a parameter.
Even if i can ignored the warning, it will be nice to get some output show which entry it is checking.

The command is pretty fast if you look at the number of duplicated contacts i have in the DB.

wsourdeau

wsourdeau

2011-03-30 17:52

viewer   ~0002311

The "check-doubles" was originally meant for addressbooks which were duplicated each time thunderbird was launched. That's why it's so basic and useless for you. What you can do is run remove-doubles directly, knowing that it will affect your DB. The command works quite well though and performs a score-based selections of cards to remove, so as to prefer most complete cards.

Issue History

Date Modified Username Field Change
2011-03-03 08:09 xbgmsharp New Issue
2011-03-04 00:32 ludovic Note Added: 0002189
2011-03-04 00:32 ludovic Severity major => minor
2011-03-04 08:23 xbgmsharp Note Added: 0002191
2011-03-30 17:52 wsourdeau Note Added: 0002311
2012-11-21 17:40 ludovic Status new => assigned
2012-11-21 17:40 ludovic Assigned To => jraby