nomadbsd / nomadbsd-adduser-gui

BSD 2-Clause "Simplified" License
0 stars 1 forks source link

TO DO: Rewrite nomadbsd-adduser-gui in Python #1

Open mrclksr opened 2 years ago

mrclksr commented 2 years ago

Write in the comments if you are interested.

MertGunduz commented 1 year ago

Hello @mrclksr

I'd like to work on it, but why are we switching from CPP to Python?

Wouldn't it be better to integrate Qt6 CPP, what is bad about it?

Thanks! Mehmet Mert

MertGunduz commented 1 year ago

Also, I can add a CLI application that works with ncurses for doing this task as well if needed.

It is also a good option for that.

Let me know! :)

mrclksr commented 1 year ago

I'd like to work on it, but why are we switching from CPP to Python?

Wouldn't it be better to integrate Qt6 CPP, what is bad about it?

Python scripts are easier to write and change, and since Python is quite popular, it attracts more potential developers.

mrclksr commented 1 year ago

Also, I can add a CLI application that works with ncurses for doing this task as well if needed.

It is also a good option for that.

Let me know! :)

Good idea :-) Would be great.

MertGunduz commented 1 year ago

Also, I can add a CLI application that works with ncurses for doing this task as well if needed. It is also a good option for that. Let me know! :)

Good idea :-) Would be great.

Great, in which repo would you like me to work on it :-)

Also, is this tech stack good for CLI app?

Language: C Build System: CMake Doc System: Doxygen Dep Manager: Conan Package Manager Libs: NCurses Testing Tools: CPPCheck, Valgrind, Unity C Testing Framework

Let me know! :-)

MertGunduz commented 1 year ago

@mrclksr if this tech stack is ok with NomadBSD environment, I'm willing to create CLI apps for each specific GUI app :-)

mrclksr commented 1 year ago

If you don't mind, I would, for the sake of consistency, prefer Python for the CLI version. This way you can put the code for adding a user into a module which you can use for the CLI/TUI and the GUI. You can create a branch in the https://github.com/nomadbsd/nomadbsd-adduser-gui repo.

MertGunduz commented 1 year ago

Would you consider doing it in this stack:

CLI/TUI: Pure C with NCurses GUI: GTK+

Because I have 4 years of experience with this stack and I can create something beautiful :-)

But if you think Python would be a better idea, I have to give a lot of time to learn that stack. I've never worked with it before but stil ok, I can work on it as well :-)

MertGunduz commented 1 year ago

@mrclksr so we would have a C stack which would be also more attractive compared to C++.

What do you think, let me know! :-)

I can develop the GUI's and CLI/TUI apps from scratch for these specific NomadBSD tools:

MertGunduz commented 1 year ago

Also, if we go with Python I can learn PyQt and ncurses for Python.

It could take around 2-3 months I guess. But still possible :-)

mrclksr commented 1 year ago

Would you consider doing it in this stack:

CLI/TUI: Pure C with NCurses

I'm fine with that.

GUI: GTK+

The GUI should be written in Python with Qt.

Because I have 4 years of experience with this stack and I can create something beautiful :-)

I've created a fresh repo for nomadbsd-adduser-cli. It's yours :-)

mrclksr commented 1 year ago

Also, is this tech stack good for CLI app?

Language: C Build System: CMake Doc System: Doxygen Dep Manager: Conan Package Manager Libs: NCurses Testing Tools: CPPCheck, Valgrind, Unity C Testing Framework

Let me know! :-)

Use whatever you like, but if possible prefer tools and libraries available in FreeBSD's base system.

MertGunduz commented 1 year ago

Also, is this tech stack good for CLI app? Language: C Build System: CMake Doc System: Doxygen Dep Manager: Conan Package Manager Libs: NCurses Testing Tools: CPPCheck, Valgrind, Unity C Testing Framework Let me know! :-)

Use whatever you like, but if possible prefer tools and libraries available in FreeBSD's base system.

Great, will start the development today!

The things I will do:

Will prefer the FreeBSD tools and libraries also, I will ask you when some external library or something like that needed! :-)

Also, if you have any special requests for the programs please let me know, I'd be so happy to implement them as well! ❤️ 🚀

And, I will document all of the code very well and detailed, so whenever you need to check it will be so easy to check thanks to Doxygen :-)

tonoono commented 7 months ago

Has the python version been completed? If not, I'm interested in having a go at it.