-
Notifications
You must be signed in to change notification settings - Fork 84
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
Debian Package #261
Comments
Hi. TBH I'm on the fence on this one. I'll have to maintain it later, and I think that at some point there will be "why there's no packages for fedora/arch/whatever". I see little to no gain with distribution packaging when there is easily runnable source and pypi packages. As a middle ground I can see about creating .appimage or something like that so it can be run standalone on any compatible distro. |
The easy answer is "do it if if you want it".
The point with package managers is that there are too many while there actually can be only one. Mine is apt.
That is not for me. I was suggesting this because I could do it with moderate effort. I just packaged a "good enough for me" solution by installing dh-python and running dh-make followed by debuild. The TDM application is really nice, I like it very much. Being able to access all Tasmota devices in parallel makes a big difference. It might be doable to make this an official Debian package. If this is doable I'll go that way. |
For python there already is, pip :) After long hiatus, I'm back to work on TDM. It will change rapidly. As for making an official package for debian might be detrimental for the user experience with how long it takes for debian to update packages. So maybe building .deb in CI might be a solution. If you feel like it, make a PR against my current CI setup, I'll have a look. |
This depends on the maintainer. If the package is following upstream closely the versions in Ubuntu interim releases (every 6 month) will be quite recent. It is really good news that you'll be working on TDM. |
6 months, yikes. That's a long time. OTOH nothing stops people from installing debs manually, as long as other requirements are met. |
pypi is not a good solution for users. It is for developers but it's hardly usable for users, especially with the move to prevent |
couldn't disagree more. Yes, it's an extra step, but still doable. I used it long before I was a developer. Either way, to not churn through this topic again, exploring other packaging options might not be a bad idea. @narc-Ontakac2 I assume packaging as .deb makes the application rely on system-available dependencies. Doesn't that lock me out of freely bumping major dependencies, like PyQT (or PySide perhaps one day) or paho-mqtt? |
Agreed (as expected :-) ). To me the point is that as a user you have to know one package manager for every language. |
Yes, it does. But if you change dependencies that is the packagers problem. In my case the dependencies were automatically detected by dh-python and the resulting package just worked. |
I'm so used to it everyday I don't even give it a second thought. That's the way it is. Trying to fight it or work against it is a lost battle. |
My 2 cents, which "normal" user does use Tasmota Device Manager? This users are so skilled to get Tasmota installed, set up a mqtt broker and get this all together running. |
Apparently not 🤷♂️ |
I have started packaging TDM. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062335 I would however prefer to package a release that already has the configuration files in the new location. Unfortunately |
I still have a few open topics for 0.3, but it will happen eventually, yes. Can't say any definite date as I'm a bit sick right now. |
Get well soon. |
Unfortunately the icons are not under a free license and can not be included in Debian . |
Icons will not be changed. |
Wait, icons8 are not free? |
Not in the sense of a free license. |
https://intercom.help/icons8-7fb7577e8170/en/articles/5534926-universal-multimedia-license-agreement-for-icons8 This means the icons can not be distributed as part of Debian. So I think I have 3 options:
|
Given these circumstances at the moment the sane option would be to provide a .deb from CI releases i guess. I'm not saying that icons could not be changed ever ever. Just not something I want to do right now. |
There is an installable deb package now: It does have the disadvantages of the 0.2.13 version, which are:
|
The download of the deb package does require a username and password. Wasn't able to get the AppImage to work under Linux Mint Debian Edition so far. I'm relatively new to Linux. |
Sorry, it is http://www.heute-morgen.de/debian/repo/unstable/main/binary-all/net/tasmota-device-manager_0.2.13-1_all.deb. My website currently follows the simple concept that all https requires authentication. |
A local package file should be installable with apt:
|
One possibility that a number of projects do is have your own apt source. Simple way is https://askubuntu.com/questions/170348/how-to-create-a-local-apt-repository @narc-Ontakac2 the package is useful thanks but you should remove the .py from tdmgr.py |
Thanks, I a maware of that option. I am maintaining the vzlogger Debian packages. We are using a cloudsmith repository for that. Doing that is however a bit of an effort. Having an official Debian package is easier (provided I succeed with that). Currently the Debian package is however blocked by the icons because they have a license that Debian classifies as non-free. I am aware that the .py is against Debian policy. But since the name of the executable will change anyway (according to the dev branch) I kept it for now. |
@narc-Ontakac2 Thanks for the .deb file. I used it to install TDM on Ubuntu 24.04 and is working great. Please see post #265 under discussions. |
@jziolkowski Could you send me the icons and the associated GRC file? If so I could check if I can get a free (in the Debian sense) alternative. |
I'm away from home for a few days, I don't have the source PNGs at hand. Also what GRC file? |
The GUI/icons.py is created from the icons together with a control file. I would also need that control file to create an alternative con set. Not sure if the extension is actually GRC. No need to hurry. |
There is no control file. The assets are compiled into icons.py, and it's then imported as PyQT resource. "Classic" QT required .rc file with resource definitions; not needed here. |
PING. If you send the icons to my Gitub email address I might be able to get someone to design an open source alternative. |
It was pretty easy to create a working Debian package. If you are interested I would do the details right (which is a bit of work) and create a release workflow that builds a Debian package.
The text was updated successfully, but these errors were encountered: