Re: StepSync issue
Patrick Cardona <[email protected]>
| Newsgroups | gmane.comp.lib.gnustep.general |
|---|---|
| Message-ID | <dee0ff0f5276a4217ad4b69dd4cbafb4@pi400> |
On 2025-10-15 01:31:11 +0200 Riccardo Mottola <[email protected]> wrote: > Hi, > > Patrick Cardona wrote: >> Hello, > >> Testing a simple case with StepSync, I found the following issue: > > What version are you using? release? current svn? > It scares me, I trust StepSync quite a bit nowadays and I synchronize half a > terabyte of precious data with ease. > > Current SVN head is close to release actually, so if there is a bug, high > alert. I consider it stable. Info Panel says: 0.1 release. How it was fetched: svn co svn://svn.savannah.nongnu.org/gap/trunk/system-apps/StepSync > >> How to reproduce: > > >> 3) Now, edit and modify the content of ficC.txt >> Enable option '[x] Update Source' in StepSync >> Sync again: >> The file ficC.txt should be updated in SRC hierarchy, but: > > do you edit the content in source or target? ficC.txt is modified on target because I want to test the option: 'Update source' enabled. > > >> patrick@pi400:~/SOURCES $ tree SRC >> SRC >> └── A >> ├── B >> │ ├── C >> │ └── ficB.txt >> └── ficA.txt > >> It has been deleted: so not the action expected. > > No, this is extremely unexpected - given the sensitivity, StepSync is > programmed to delete *only* missing things. So essentially if you do not flag > "Delete items" it shouldn't delete anything. I confirm "Delete items" option is disabled. > Update Source instead means to mirror things from target to source, otherwise > actions are performed exclusively on target. > > Did you inspect the output in the log? what does it say about ficC.txt? Therie is the complet log of "Analyze" action performed before "Synchronize": patrick@pi400:~/SOURCES $ openapp StepSync 2025-10-15 13:03:07.518 StepSync[10640:10753] autorelease called without pool for object (0x55aab243f0) of class NSUserDefaults in thread <NSThread: 0x55ab1706f0>{name = (null), num = 10753} 2025-10-15 13:03:07.530 StepSync[10640:10753] target missing dirs: () 2025-10-15 13:03:07.530 StepSync[10640:10753] source missing dirs: () 2025-10-15 13:03:07.530 StepSync[10640:10753] target missing: () 2025-10-15 13:03:07.530 StepSync[10640:10753] source missing: () 2025-10-15 13:03:07.530 StepSync[10640:10753] target modified: ("A/B/C/ficC.txt") 2025-10-15 13:03:07.530 StepSync[10640:10753] source modified: () 2025-10-15 13:03:07.530 StepSync[10640:10753] size differing files with same date: () 2025-10-15 13:03:07.531 StepSync[10640:10753] date differing files with same size: () 2025-10-15 13:03:07.537 StepSync[10640:10753] source free 86125.764608 MBytes, target free 86125.764608 MBytes Hope it can be useful. Patrick -- Patrick Cardona - Pi400 - GNU/Linux aarch64 (Debian 13.1) Xorg (1:7.7+24) - libcairo2 (1.18.4-1+rpt1 arm64) Window Maker (0.96.0) - GWorkspace (1.1.0 - 02 2025) - Theme: AGNOSTEP - MUA: GNUMail (1.4.0)