Skip to content
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

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

Open
mrclksr opened this issue Aug 30, 2022 · 14 comments
Open

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

mrclksr opened this issue Aug 30, 2022 · 14 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@mrclksr
Copy link
Member

mrclksr commented Aug 30, 2022

Write in the comments if you are interested.

@MertGunduz
Copy link
Member

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
Copy link
Member

MertGunduz commented Jul 18, 2023

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
Copy link
Member Author

mrclksr commented Jul 19, 2023

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
Copy link
Member Author

mrclksr commented Jul 19, 2023

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
Copy link
Member

MertGunduz commented Jul 19, 2023

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
Copy link
Member

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

@mrclksr
Copy link
Member Author

mrclksr commented Jul 19, 2023

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
Copy link
Member

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
Copy link
Member

MertGunduz commented Jul 20, 2023

@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 MertGunduz self-assigned this Jul 20, 2023
@MertGunduz
Copy link
Member

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
Copy link
Member Author

mrclksr commented Jul 21, 2023

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
Copy link
Member Author

mrclksr commented Jul 21, 2023

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
Copy link
Member

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
Copy link

tonoono commented Mar 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants