Bug 214987 - extra or missing files when comparing two directories
Summary: extra or missing files when comparing two directories
Status: RESOLVED WORKSFORME
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 16:55 UTC by jay
Modified: 2018-11-05 04:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jay 2009-11-17 16:55:50 UTC
Version:           3.5.4 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.28-15-generic

      This concerns the way kompare treats extra or missing files when comparing
two directories.  The way I am trying to use it is to compare present website
contents with an earlier version of the website.
      Consider an extra file (which occurs when one edits and old file "foo" and
does not erase the foo~ file that an application such as emacs creates.  
Kompare finds and reports the differences in the old and new foo correctly, 
but then  goes on to report that all of lines in the new foo~ file are different 
than the "lines" in the non-existent "foo~" file in the old directory.  
    It would be more helpful if it were reported (in addition to the old and new
foo file differences) that there was an extra file in the new version of the
directory named "foo~" and of course where it is located.
     There is a more serious consequence of the present kompare in the 
following case(s).
     Consider the addition of an new symbolic link in the new version of
the directory  (a symbolic link to a file outside the present directories 
being compared).  Ie. in directory old there is no
symbolic link, but in the new there is.   (Eventually when the directory is
burned to a CD,  or moved to the location of the active website, the linked 
file will get included, but prior to that there is just a new "symbolic link" file.   Presently kompare reports that it cannot parse the new file.   But as this 
is a new "file" it needs only be reported that way.  Ie. it's contents are not
of interest.
     If this is a departure from the way most code developers use kompare,
then this new method of reporting could be made an option.
      I am a new user of kompare,  it's cool,  and I do think it could be very useful 
in assuring that there are no "accidental" updates to my website directories.   
If you want further clarification or discussion, please contact me at 
plainj@ieee.org       Thanks,  Jay
Comment 1 Andrew Crouthamel 2018-11-02 22:54:13 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 jay 2018-11-05 04:25:12 UTC
Andrew,
       I just this weekend activated Kubuntu 18.04 
I could not duplicate the error.
       I'm thinking back, not to '09 which I can't remember, but to various
times I've had a problem which would have similar results using kompare.  They
arose from a error in editing using Emacs when I accidently got two copies
of a file (or of a file and file~) into a single file. 
      I think you can close this bug report.
Jay
Comment 3 Andrew Crouthamel 2018-11-05 04:28:30 UTC
Thanks for the update!