opkg-upgrade icon indicating copy to clipboard operation
opkg-upgrade copied to clipboard

Automatically check for new versions of opkg-upgrade

Open Goro2030 opened this issue 6 years ago • 3 comments

At program initialization, it should check if there's a newer version of itself, and if so, offer the user to upgrade ( Using wget without ssl if available )

Goro2030 avatar Dec 11 '18 13:12 Goro2030

That is on the wishlist (self-update).
I was even thinking about that yesterday, but the fact that SSL is not always present does not help.
I will probably not make it check for updates automatically though, but offer a self-upgrade parameter (less intrusive).

I have a similar idea running on my pdfscale app, but there no-SSL is just a secondary flag and it defaults to SSL. I also have some extra stuff there for when sudo is needed, so it will not be the SAME anyways.

My idea HERE is to try and detect if SSL is available and then automatically switch to NO-SSL if needed (with a warning). There is always a risk when running without SSL because you can't be sure there is no man-in-the-middle attacks going on.

I will update here when I have the time to implement all that.
Cheers!

tavinus avatar Dec 11 '18 18:12 tavinus

@tavinus , I saw that you're becoming more active lately. Any chance you would be able to work on this enhancement now?

Goro2030 avatar Sep 12 '19 14:09 Goro2030

Yeah... I am hoping to implement some stuff for opkg-upgrade and pdfscale.
Can't promise a deadline, but I will try to do a little every day.

tavinus avatar Sep 12 '19 18:09 tavinus