-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
convert outstanding LUA apps to JS #7310
Comments
I may participate in this only in two-three months. My priority is to fix my PR to luci-app-acme and finish the luci-app-setup-wizard. The only app listed here that is quite important is dockerman. See #7313 |
I'm not sure if the Do you happen to have any useful links regarding this migration (developer notes, how-to's, etc)? My apologies, but I'm not very active in luci development and this is the first I'm hearing about lua being on the outs. This looks like my starting point https://github.com/openwrt/luci/tree/master/applications/luci-app-example ? |
Hi @csonsino That's not a bad idea. You could also review some of the recent conversions and do a side-by-side comparison ( e.g. luci-app-qos and luci-app-rp-pppoe-server ). |
I've started to convert |
If unbound itself (the principal package) is still dependent on lua, maybe it's less of a priority to convert the luci-app-unbound from lua to javascript? Just my 0.02. |
Not sure how I ended up being the maintainer for |
There's also luci-app-ddns. While the web frontend has been ported to
JS, the underlying rpcd plugin has not.
To move away from lua, the rpcd lua plugin found at:
applications/luci-app-ddns/root/usr/libexec/rpcd/luci.ddns
needs to be ported to an rpcd ucode plugin.
Please add that to the list
|
What did you have in mind here @stangri ? I looked in the packages repo and unbound is a compiled C program, and a mish-mash of sh scripts. All the LUA appears to be MVC code on the luci side. |
I'm unlikely to have time for converting mosquitto in the near future. I'm no longer employed on this, and I'd hoped to find enough free time to keep up with maintennance, but it's not really working out so far. Seeing as paul donald has already committed a change to this, maybe they can just take over that package :) |
I dont use any of these packages, but i had a quick look at luci-app-tinyproxy. I think I should be able to manage to translate that |
Oh, I might be wrong here and it's a kresd which is dependent on lua, I remember looking into the resolvers in the past and at least one of them was lua-dependent. |
Shall I write you up for tinyproxy, @Ramon00 ? |
I think I will just remove cshark. It appears unmaintained. ( There's also the security aspect of dumping raw network frames to an external party who potentially has network breaches where this data gets exfiltrated. ) See github . com / cloudshark / cshark Just run an ssh tap from wireshark. Infinitely more configurable. Great GUI with live view. |
Perhaps @neheb has a better understanding of dcwapd? It looks like some feature that never really gained popularity. I can't tell if it requires special hardware. Is it like bonding two separate wifi channels into a single data-path for greater throughput or something? https://github.com/ewsi/dcwapd |
I have no idea what it is. It was placed in packages. ping @csonsino |
ahcp doesn't seem like it's actively used. It reached a draft RFC about 14 years ago. And its origin page has broken links, and the most recent info indicates it is replaced by hnetd or shncpd, both of which are older and have a similar story. https://www.irif.fr/~jch/software/ahcp/ Looks like a candidate for the chop. |
I don't know if I will be able to dig through I haven't contributed to |
If you're thinking of removing them, maybe they should be dropped from the packages repo first for the sake of completeness? |
I am not overly happy hearing about the move to JS given my limited time. What time frame are we talking about here? For what it's worth - there must be some users of |
yeah go for it |
There's no set time frame but for what it's worth this has been a goal since December 2019 so might as well get some traction on it, it's one of the pinned issues. |
luci-app-dnscrypt-proxy should be removed, it's outdated and I haven't used it for years. |
@dibdot Could you take care of the deletion for the proxy app itself? DoH seems to be the 'better' solution, given that HTTP is ubiquitous and encryption there is largely a handled problem. |
See #7310 (comment) Signed-off-by: Paul Donald <[email protected]>
would love to give a shot on dockerman |
Go for it. |
See openwrt#7310 (comment) Signed-off-by: Paul Donald <[email protected]>
Awesome, thank you @systemcrash! I had just gotten a system up and running with the old code so I'll give the new stuff a quick test. |
Any progress there @itay-sho ? |
I won't have time to deal with luci-app-openvpn, and given its current state it is likely better to simply drop it. OpenVPN support should be done from scratch, using wireguard as role model and implemented as proto handler to better fit within the network config concept. Likely also with a focus on setting up a client with preexisting configs. |
So this effectively means openvpn also needs an overhaul to become a Is this what you had in mind? |
@newkit I had a quick look at luci-app-wifischedule looks pretty straightforward. Want me to convert it? |
@Ramon00 Iβd really appreciate that! π€πΌ |
Alright :) |
Who is up for the task?
Key:
do not convertdeprecate or removeremoved( commit hash )done@octocat ( commit hash )done( commit hash )@stokito @dannil @Ramon00 ?
luci-app-ahcp/luasrc @jow-( 8265e37 )luci-app-clamav/luasrc@ratkaj @lperkov@systemcrash ( 780a84e )luci-app-coovachilli/luasrc @sbyx @jow-@systemcrash ( 09a1a58 )luci-app-cshark/luasrc @lperkovluci-app-dcwapd/luasrc @csonsino@systemcrash ( 82e5c88 )luci-app-dnscrypt-proxy/luasrc @dibdot( 148863e )@lisaac @feckert@itay-sholuci-app-dump1090/luasrc @Noltari@systemcrash ( 2ef9ef4 )luci-app-mosquitto/luasrc@karlp@systemcrash ( f6e6b05 )luci-app-nut/luasrc @danielfdickinson@systemcrash ( 84c04c3 )luci-app-siitwizard/luasrc @sbyx @jow-luci-app-squid/luasrc @ratkaj@dannil ( 5c6b08c )luci-app-tinyproxy/luasrc( bbb0819 )@jow- @sbyx@Ramon00@newkit@Ramon00See #3378
Some of these might not make sense to convert. Some may have no users whatsoever - only download statistics will reveal info there, but those statistics are currently unavailable. At least a few of the maintainers likely have no time or desire to undertake such a conversion.
I think at least one app could be cut loose - siitwizard. Since we have native IPv4 over IPv6 now, and that's progressing nicely.
The text was updated successfully, but these errors were encountered: