API draft for the rewrite#308
Conversation
|
I've been working on this and there are still some implementations and features missing, but as far as the API goes I think it's pretty good. This is currently still missing the entire libvirt implementation as well as the However, the connection check using a TcpStream should already be more stable than the simple check using Netcat, so I think there's a lot of value to be had here once this is more feature-complete. |
|
This seems great (just a quick look, no proper review). I didn't checked the repo in a while (as written before I sadly lack time to work on winapps at the moment). Didn't expect this to be that far. |
3fa000f to
ccde666
Compare
|
Ok, I've had some more time to work on this. The libvirt implementation is still missing, but I'm working towards apps now. The most notable change is the addition of a custom docker image, which already includes the OEM files. The install script has also been changed to now set up an SSH server automatically, which I'll be using for discovering the apps. This means that basically every feature from the winapps script itself is implemented, I just need the installer logic now; so this should be ready for review soon. |
0a35128 to
1317838
Compare
|
Thanks, git |
e065d9a to
56dd4a9
Compare
|
Right, rebasing to sign off commits broke history, so I had to scrap all of it, forcing me to squash everything into one commit. Sorry about that. |
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
56dd4a9 to
2f312af
Compare
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
a623a77 to
0740791
Compare
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
…into feat-rewrite-api Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> # Conflicts: # .github/workflows/ci.yaml
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
There was a problem hiding this comment.
Great work @oskardotglobal!
I made a quick review for now (I think we will need to do this in multiply cycles because of the PR size).
I don't know what I should think of those AI reviews. I dislike the thought of AI companies making money of open source projects without asking the developers/maintainers.
|
We should update the packages to latest and switch from |
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
|
I've addressed some of your comments. Regarding the AI review, I triggered that myself; I wanted to try it. I honestly can't argue against the quality; it was pretty good. There are settings which auto-generate PR summaries and auto-review PRs which I find to be too intrusive, but if triggered manually I think it could be useful. We should have a discussion about an AI policy for our project, though. |
|
A first test resulted in following issues:
Great work on the error management, btw! |
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
e62c9ea to
0a0bc71
Compare
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
0a0bc71 to
b0519a0
Compare
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
19974e2 to
b20f3d7
Compare
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
b20f3d7 to
2647024
Compare
LDprg
left a comment
There was a problem hiding this comment.
I did a quick dirty review. Seems all fine to me (however no testing on my side).
Sry for the late review (I am currently very busy).
|
No problem. I still have some stuff i'd like to implement (unit tests, better freerdp binary discovery) before this is ready for a full review. |
This PR is a draft for how the API of the rewrite could look like.
There are no implementations yet, but once the API is stable the implementations for features can gradually be put in place.
The main difference between the design of legacy WinApps is that the config is the single source of truth for installed apps and will later also contain paths to the icons for the installed apps, meaning we can get rid of the "pre-configured" apps currently found in the
appsfolder. A sample config would look like this:Disclaimer: I've used LLMs for planning purposes ("diffing" the rewrite with the legacy version) and to help decide where mocking for e2ee testing makes sense. However, all the code was written by me.
TODOs
podman unsharesupport