tavinus / opkg-upgrade

List and install OpenWRT / LEDE opkg upgradable packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically check for new versions of opkg-upgrade

Goro2030 opened this issue · 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 )

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 , I saw that you're becoming more active lately. Any chance you would be able to work on this enhancement now?

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.