Open systemcrash opened 2 weeks ago
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 https://github.com/openwrt/luci/issues/7313
I'm not sure if the dcwapd
feature ever had any users and I haven't looked at that project in a long time, but if I can get it up and running again I'll see if I can migrate the luci lua code.
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 luci-app-squid
so you can assign me on that one.
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 luci-app-lxc/luasrc
which I have never used. I used to co-maintain luci-app-wiregaurd
and wireguard
, but haven't been active for a while. Maybe a mix-up?
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
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.
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
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.
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.
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.
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
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.
I'm not sure if the
dcwapd
feature ever had any users and I haven't looked at that project in a long time, but if I can get it up and running again I'll see if I can migrate the luci lua code.
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 https://edgewaterwireless.com/dual-channel-wi-fi-tutorial/
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/ https://github.com/jech/ahcpd
Looks like a candidate for the chop.
I don't know if I will be able to dig through luci-app-unbound.
My time availability is different than it was. Notes: The zone lists are complex, but less clear documentation, are probably straight forward. The relationships to odhcpd
and dnsmasq
were implemented with some liberties in LUA environment that maybe are a problem here.
I haven't contributed to luci-app-tinyproxy
so I shouldn't be listed there. I am not sure how I would test it.
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.
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/ https://github.com/jech/ahcpd
Looks like a candidate for the chop.
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 luci-app-wifischedule
- at least there are some issues / PRs every now and then.
Shall I write you up for tinyproxy, @Ramon00 ?
yeah go for it
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
luci-app-wifischedule
- at least there are some issues / PRs every now and then.
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. Same applies to luci-app-lxc. If someone else wants to migrate this, then please do. I'm not going to do it.
luci-app-dnscrypt-proxy should be removed, it's outdated and I haven't used it for years. Same applies to luci-app-lxc. If someone else wants to migrate this, then please do. I'm not going to do it.
@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.
would love to give a shot on dockerman
would love to give a shot on dockerman
Go for it.
I'm not sure if the
dcwapd
feature ever had any users and I haven't looked at that project in a long time, but if I can get it up and running again I'll see if I can migrate the luci lua code.
@csonsino dcwapd is now converted (as of 82e5c888408a9728576f584088432289809fa293 ).
I'm not sure if the
dcwapd
feature ever had any users and I haven't looked at that project in a long time, but if I can get it up and running again I'll see if I can migrate the luci lua code.@csonsino dcwapd is now converted (as of 82e5c88 ).
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 ?
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-( 8265e370dbf8bce748d7f506834ab18a5b3c6f41 )luci-app-clamav/luasrc@ratkaj @lperkov@systemcrash ( 780a84e8bead3cbbdda09c479ab793081ecf9903 )luci-app-coovachilli/luasrc @sbyx @jow-@systemcrash ( 09a1a58b13263500a71dea4fbb62b4ad572569c3 )luci-app-cshark/luasrc @lperkovluci-app-dcwapd/luasrc @csonsino@systemcrash ( 82e5c888408a9728576f584088432289809fa293 )luci-app-dnscrypt-proxy/luasrc @dibdot( 148863ed8e0566b1ae953fa409e2ef2e9fbb1f9f )@lisaac @feckert@itay-sholuci-app-dump1090/luasrc @Noltari@systemcrash ( 2ef9ef41909dbb69c7a4823be249fad194d528b8 )luci-app-nut/luasrc @danielfdickinson@systemcrash ( 84c04c3707b992ba8aa1c66ee876d46eaeeb47ef )luci-app-siitwizard/luasrc @sbyx @jow-luci-app-squid/luasrc @ratkaj@dannil ( 5c6b08cf89f5dd4dd0bc0ee4d0c643a19a34c9b8 )luci-app-tinyproxy/luasrc ~~@jow- @sbyx@Ramon00~~ ( bbb08197c51daa388633437bf14fc15f91227e34 )See #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.