fslint icon indicating copy to clipboard operation
fslint copied to clipboard

please move away from pygtk 2

Open leggewie opened this issue 6 years ago • 25 comments

fslint has been removed from Debian testing because it uses 7 years old unmaintained pygtk libraries. pygtk is unmaintained upstream. It has not had a release since GNOME 3 was released in 2011 ! The way forward is to port your app to use GObject Introspection bindings.

For more information on GObject Introspection see [1] https://wiki.gnome.org/Projects/GObjectIntrospection [2] https://wiki.gnome.org/Projects/PyGObject

See https://bugs.debian.org/885280 for more info

leggewie avatar Apr 15 '18 23:04 leggewie

I'll try and get some time for this, but TBH it's unlikely in the short term

pixelb avatar Apr 17 '18 08:04 pixelb

I see python2 will be removed from debian unstable after the release of buster, so we would also have to rewrite in python 3 as well as moving from pygtk to PyGI+GTK

pixelb avatar May 07 '18 00:05 pixelb

This is going to be urgent. Is there any plan to port fslist to Python 3 and the newer GTK?

frenzymadness avatar Sep 05 '19 10:09 frenzymadness

No immediate plans, sorry

pixelb avatar Sep 05 '19 11:09 pixelb

Given the progress of python2 removal happening in Debian and Ubuntu, I am going to have fslint removed from Debian's official repository (and later Ubuntu). This means that fslint will not appear in future Debian releases and very likely disappear from Ubuntu 20.04 LTS. We can always reintroduce it back once the upstream migration to python3 is complete.

hosiet avatar Nov 24 '19 20:11 hosiet

can we strip out the GUI support altogether and keep a (python3) command line version?

Seegras avatar Nov 28 '19 14:11 Seegras

yes possible, though I think the GUI is by far the main usage of this package

pixelb avatar Nov 28 '19 16:11 pixelb

My suggestion is to try another comparable tool, such as dupeGuru, which is written in Python 3 with Qt5 on Linux and Windows, and Python 3 with native Objective-C and Cocoa on MacOS. It is in active development.

https://dupeguru.voltaicideas.net/ https://github.com/arsenetar/dupeguru

There are other alternatives as well; depends on what you are looking for. Google is your friend. ;-)

smbrannon avatar Jan 11 '20 09:01 smbrannon

OMG, thanks @smbrannon dupeguru GUI much better than flsint specially for big list of duplicates. I wonder why fslint gurus still insist to stick to pygtk 2!!!

mbnoimi avatar Jan 18 '20 09:01 mbnoimi

I believe I saw somewhere that it would take too much work for them to move to pygtk3.

On Sat, Jan 18, 2020 at 1:41 AM Muhammad Bashir Al-Noimi < [email protected]> wrote:

OMG, thanks @smbrannon https://github.com/smbrannon dupeguru GUI much better than flsint specially for big list of duplicates. I wonder why fslint gurus still insist to stick to pygtk 2!!!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pixelb/fslint/issues/147?email_source=notifications&email_token=ABRV2W3GXZPIBLG6X4H4NR3Q6LFF5A5CNFSM4E2WY3D2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJJUPKY#issuecomment-575883179, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRV2W2MAUTMRQPAPC7FPOLQ6LFF5ANCNFSM4E2WY3DQ .

smbrannon avatar Jan 30 '20 04:01 smbrannon

Within 30 days, fslint will be removed from Gentoo Linux as well: https://github.com/gentoo/gentoo/commit/327e9abe41efe8ebf9a9f0151c44edd05f09a441

jaakristioja avatar Feb 27 '20 21:02 jaakristioja

Just going to file request for removal of fslint from openSUSE/Factory.

mcepl avatar Feb 28 '20 18:02 mcepl

I'd also like to bump this one, since for a while python 2.7 support was announced to be over and Gentoo maintainers are doing a major cleanup on packages that still depends on pygtk2 and python 2.7. fslint is already masked for removal. Would be sad to see it go.

someone-from-userland avatar Feb 29 '20 17:02 someone-from-userland

Just going to file request for removal of fslint from openSUSE/Factory.

I saw that, we should propose an alternative such as dupeguru in official repository

Doctor-Who avatar Mar 05 '20 15:03 Doctor-Who

I just wanted to say a big thanks to @pixelb for the maintenance of fslint over the years. It's such a great tool!

I ended up on this issue because I realized the package isn't there on Ubuntu 20.04 daily. Porting to newer versions of dependencies (especially with big changes) can be a huge time commitment. I don't blame pixelb for not having the time. Hopefully someone can volunteer to help.

scottkosty avatar Mar 15 '20 01:03 scottkosty

I think a better title is "Move far away from Python".

It's the fault of the devs of Python to choose for a craggy release cycle, which enforces other developers to rewrite their Python application.

This project is a perfect example why the counterargument "There was plenty of time to migrate!!!!" is weak. pixelb had no time to rewrite his application. Neither other developers.

Still sad there are no other alternatives which fully cover the featureset of fslint. DupeGuru and Shedder/rmlint do just a part of the job.

And running find . -type d -empty -print -delete to remove empty directories but not all empty directories at pwd is not that convenient.

RoestVrijStaal avatar May 22 '20 10:05 RoestVrijStaal

I updated from Fedora 31 to Fedora 32 and I discovered fslint is no longer available in Fedora repo because it uses python2 and not python3:

https://bugzilla.redhat.com/show_bug.cgi?id=1777626

didierga avatar May 24 '20 22:05 didierga

For finding same filenames you can do something like find . | grep -E $( find . -type f | sed 's,.*/\([^/]*$\),\1,' | sort | uniq -d | tr '\n' '|' ) (bombs when no duplicate names are present); or use https://github.com/arsenetar/dupeguru with options "Filter Hardness 100", and all everything else checked off; but this still finds near-duplicate names where only caps differ (Which might actually not be what you want. "IT" and "It" are two different movies, for instance).

Seegras avatar May 25 '20 09:05 Seegras

@didierga You can still install the Fedora 31 package on Fedora >= 32 like:

dnf install https://kojipkgs.fedoraproject.org/packages/fslint/2.46/7.fc31/noarch/fslint-2.46-7.fc31.noarch.rpm

pixelb avatar May 25 '20 10:05 pixelb

@pixelb You should consider marking fslint as an archived project if there are no plans to port to python3.

sbliven avatar Aug 28 '20 06:08 sbliven

What a shame! I am almost forced to use another software. Thanks anyway.

carobinario avatar Dec 27 '20 15:12 carobinario

Just a hint for everybody looking for a substitute: The project "Czkawka" is a fslint clone and really good. Its in active development and seems very stable and better than fslint ever was!!

https://github.com/qarmin/czkawka/releases/

Cantuccini-Lori avatar Feb 05 '21 22:02 Cantuccini-Lori

Just a hint for everybody looking for a substitute: The project "Czkawka" is a fslint clone and really good. Its in active development and seems very stable and better than fslint ever was!!

https://github.com/qarmin/czkawka/releases/

Thanks for the hint!

smbrannon avatar Mar 16 '21 10:03 smbrannon

You are welcome!

Just a hint for everybody looking for a substitute: The project "Czkawka" is a fslint clone and really good. Its in active development and seems very stable and better than fslint ever was!!

https://github.com/qarmin/czkawka/releases/

Cantuccini-Lori avatar Mar 18 '21 17:03 Cantuccini-Lori

As mentioned in #172, I have begun work on porting fslint to python3 and gtk3. If anyone can spare some help, that would be greatly appreciated!

https://github.com/insaner/fslint

insaner avatar Jan 18 '23 02:01 insaner