Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please move away from pygtk 2 #147

Open
leggewie opened this issue Apr 15, 2018 · 25 comments
Open

please move away from pygtk 2 #147

leggewie opened this issue Apr 15, 2018 · 25 comments

Comments

@leggewie
Copy link

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

@pixelb
Copy link
Owner

pixelb commented Apr 17, 2018

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

@pixelb
Copy link
Owner

pixelb commented May 7, 2018

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

@gliptak gliptak mentioned this issue Apr 6, 2019
@frenzymadness
Copy link

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

@pixelb
Copy link
Owner

pixelb commented Sep 5, 2019

No immediate plans, sorry

@hosiet
Copy link

hosiet commented Nov 24, 2019

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.

@Seegras
Copy link

Seegras commented Nov 28, 2019

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

@pixelb
Copy link
Owner

pixelb commented Nov 28, 2019

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

@smbrannon
Copy link

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. ;-)

@mbnoimi
Copy link

mbnoimi commented Jan 18, 2020

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!!!

@smbrannon
Copy link

smbrannon commented Jan 30, 2020 via email

@jaakristioja
Copy link

Within 30 days, fslint will be removed from Gentoo Linux as well: gentoo/gentoo@327e9ab

@mcepl
Copy link

mcepl commented Feb 28, 2020

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

@someone-from-userland
Copy link

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.

@Doctor-Who
Copy link

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

@scottkosty
Copy link

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.

@RoestVrijStaal
Copy link

RoestVrijStaal commented May 22, 2020

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.

@didierga
Copy link

didierga commented May 24, 2020

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

@Seegras
Copy link

Seegras commented May 25, 2020

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).

@pixelb
Copy link
Owner

pixelb commented May 25, 2020

@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

@sbliven
Copy link

sbliven commented Aug 28, 2020

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

@carobinario
Copy link

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

@Cantuccini-Lori
Copy link

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/

@smbrannon
Copy link

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!

@Cantuccini-Lori
Copy link

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/

@insaner
Copy link

insaner commented Jan 18, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests