10 Commits

Author SHA1 Message Date
6f07e9d34d Update changelog for 0.11.0-1 release 2023-11-24 12:08:45 +01:00
ad8a227889 Merge tag '0.11.0' into pkg/debian
Release 0.11.0
2023-11-24 12:03:42 +01:00
438895f48e packaging(deb): Create stable debian releases
Creating the stable branch after the RC will allow us to merge changes
to the Debian files from the debian_rc to the stable without
overwriting the values of the gbp.conf.
2023-10-27 16:57:59 +02:00
e205618e3d packaging(deb): Create debian release candidate packages 2023-10-27 16:57:09 +02:00
7c19e0acd1 Update changelog for 0.10.0-3 release 2023-09-18 07:05:43 +02:00
81f5b981a6 packaging: Use patched entry point and link it to /usr/bin
By renaming the entry point, which had the same name as the module,
both can now be installed in the same directory. The entry point can
then be created in /usr/bin as a link with the original name
'revpicommander'.

Signed-off-by: Sven Sager <akira@narux.de>
2023-09-18 07:03:35 +02:00
239273ae16 packaging(patch): Change entry point name in setup.py
Change entry point name to differ from the module name. In the package,
the module and its scripts are installed in the same directory. This is
done via PYBUILD_INSTALL_ARGS and --install-lib, --install-scripts.
Module name and script name must not be the same.
2023-09-18 06:53:37 +02:00
65280435a7 packaging: Remove unused GPL-3+ section from copyright file 2023-09-18 06:33:35 +02:00
b252aec126 Update changelog for 0.10.0-2 release
Signed-off-by: Sven Sager <akira@narux.de>
2023-09-16 17:32:35 +02:00
3d6e9877d7 packaging(deb): Start packaging branch
Signed-off-by: Sven Sager <akira@narux.de>
2023-09-16 17:13:27 +02:00
11 changed files with 235 additions and 0 deletions

131
debian/changelog vendored Normal file
View File

@@ -0,0 +1,131 @@
revpicommander (0.11.0-1) stable; urgency=medium
* chore: Recompile UI files with PyQt generator 5.15.7
* refactor: Using module based logger and not root logger from proginit
* feat: Upgrade proginit to version 1.3.0
* build: Upgrade buildsystem with new Makefile and make.bat
* feat: Add open-source license viewer to help menu
* feat: Remove selector for Python version
* style: Change the selection method in developer file lists.
* refactor: Remove logging of debug logs from external modules
* refactor: Remove info logs of ssh transport handler loop
* fix: Signal connection_recovered when connected via XML-RPC native
* refactor: Set new tool tips with version information
* feat: Select start program in developer dialog
* chore: Release 0.11.0rc1
* packaging(deb): Create debian release candidate packages
* packaging(deb): Create stable debian releases
* feat: New context menu entries for DI counters and RO switching cycles
* chore: Release 0.11.0rc2
* fix: Update proginit to a compatible windows version
* build: Wrong values in make.bat file for windows
* chore: Release 0.11.0
-- Sven Sager <akira@narux.de> Fri, 24 Nov 2023 12:08:34 +0100
revpicommander (0.10.0-3) stable; urgency=medium
* packaging: Remove unused GPL-3+ section from copyright file
* packaging(patch): Change entry point name in setup.py
* packaging: Use patched entry point and link it to /usr/bin
-- Sven Sager <akira@narux.de> Mon, 18 Sep 2023 07:05:35 +0200
revpicommander (0.10.0-2) stable; urgency=medium
[ Sven Sager ]
* Renamed version of revpipycontrol written with Qt framework
* Replace widget search to widget directory (performance)
* Replace widget search to widget dict (performance)
* WIP: GUI and base function from revpidevelop
* Bugfix: PyInstaller script
* Save IP address, not hostname of avahisearch.py found RevPi
(Windows will not resolve)
* WIP: revpifiles.py has all functions for PyLoad 0.9.2
* revpifiles.py is ready with PyLoad 0.9.3 functions
* files.ui Design change, cleanup
* String fields (> 4 Bytes) can be switched to numbers
* Load and display logfiles block by block
* Add option for software watchdog and driver reset action
* Destroy changed IOs after piCtory changes
* UI Text check and translation-de
* Bugfixes - IP regex, Queue handling, file upload
* UI Text check and translation-de
* Bugfix: Load locales file
* Remove included revpimodio2 static link and add it as requires
* New release
* Get AVAHI IPv4 addresses with service_info
* Bugfix for translations strings and format function
* Add parameter to change connection timeout (default was and
is 5 seconds)
* Add a simulator dialog to manage simulator settings
* Bugfix for simulator to prevent GUI crash after first use
* Modified translations
* New release
* Add upload progress display in developer, bugfix on file download in
developer
* Fix error on decoding broken log files
* Fix crash during add new connection
* Reduce max block to load for log files on slow networks
* Improved RevPi search window
* New release
* Fix error in debugios.py with long byte values
* Bugfix: RevPi simulator could not be startet without existing
proc.img file
* Design things: enable HighDpi, dependency versions, icon text
* Add Windows files for pyinstaller and setup generation
* Fix qt parents of menu entries in connections
* Improved shortcuts to meet the needs of different operating systems
* Implement update function of ZeroConf ServiceListener
* Redesign main window with text boxes to copy host name or ip
* Add translation of status codes
* Bugfix: could not open debugcontrol, because of new layout names
* Add context menu with copy and piCtory actions to revpi search dialog
* Switch project so src layout
* Switch to setuptools for setup.py
* Add icons to commander main window for start, stop and so on
* Update Makefile and requirements.txt for build and clean ui files
* Add PyInstaller script for Windows
* QTranslator uses ui_languages to find translation
* Use cm.call_remote_function to fetch log files via XML-RPC
* Prepare SSH tunnel server and password GUI
* Configure and start ssh tunneled connections
* Choose connection type (ssh or xml-rpc) in avahisearch dialog
* Update Makefile rules
* Update translation file
* Update Windows setup script to match pyinstaller output
* Manage revolution pi saved settings in an own class
* Change most button pressed event to clicked and add global shortcuts
* Set the use of ssh tunnel to default value for new settings
* Save SSH credentials with keyring module
* Show just the hostname without .local in avahisearch.py list
* Bugfix for new settings management
* Clean up keyring when a connection is deleted
* Move version number from revpicommander.py to __init__.py
* New async connection management with user feedback
* Connection list with add folder button and removed naming bug
* Move version number from __init__.py to __main__.py
* Adjustments for creating installations on various operating systems
* Bugfix: Add missing packages to install_requires
* Add option to switch word order on debugios
* Add pyinstaller option for linux platform
* Bugfix type hinting, PyLoad version handling, piCtory browser
* Update translation and messages
* Change license from GPLv3 to GPLv2 after approval of all contributors
* Replaces Master-Slave with Client-Server
* Bugfix in super call of backgroundworker.py
* Ignore ssh known_hosts from home directory, use own
* build: Use system python interpreter in make file
* fix: Show program dialog, even if there are no files on the RevPi
* chore: Release 0.10.0rc1
* fix: PLC monitor crashes when a device has no inputs or outputs
* build: Add environment variable to set alternative venv path
* feat: SSH tunnel server extended to execute commands on remote host.
* build: Use python interpreter and modules for qt commands in Makefile
* feat: Try to start RevPiPyLoad via SSH on the Revolution Pi
* fix: Simulator always sets process image to NULL
* build: Fix Makefile targets to match GNU coding standards
* chore: Release 0.10.0
* packaging(deb): Start packaging branch
-- Sven Sager <s.sager@kunbus.com> Sat, 16 Sep 2023 14:10:12 +0200

32
debian/control vendored Normal file
View File

@@ -0,0 +1,32 @@
Source: revpicommander
Section: x11
Priority: optional
Maintainer: Sven Sager <akira@narux.de>
Rules-Requires-Root: no
Homepage: https://revpimodio.org/revpipyplc/
Vcs-Browser: https://github.com/narux/revpicommander
Vcs-Git: https://github.com/narux/revpicommander.git
Build-Depends:
debhelper-compat (= 12),
dh-python,
python3-all,
python3-keyring (>= 17.1.1),
python3-pyqt5,
python3-paramiko (>= 2.4.2),
python3-revpimodio2 (>= 2.5.6),
python3-zeroconf (>= 0.24.4),
python3-setuptools,
python3-wheel
Standards-Version: 4.3.0
Package: revpicommander
Architecture: all
Depends:
${python3:Depends},
${misc:Depends}
Description: GUI for Revolution Pi to upload programs and do IO-Checks
The RevPiCommander is a GUI tool to manage your revolution Pi over the
network. You can search for RevPis in your network, manage the settings
of RevPiPyLoad and do IO checks on your local machine. Developing your
control program is very easy with the developer, upload and debug it
over the network.

29
debian/copyright vendored Normal file
View File

@@ -0,0 +1,29 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/naruxde/revpicommander
Upstream-Name: revpicommander
Upstream-Contact: Sven Sager <akira@narux.de>
Files: *
Copyright: 2017-2023 Sven Sager
License: GPL-2+
Files: debian/*
Copyright: 2021-2023 KUNBUS GmbH
License: GPL-2+
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".

4
debian/gbp.conf vendored Normal file
View File

@@ -0,0 +1,4 @@
[DEFAULT]
upstream-branch = stable
upstream-tag = %(version)s
debian-branch=pkg/debian

2
debian/install vendored Normal file
View File

@@ -0,0 +1,2 @@
data/revpicommander.desktop /usr/share/applications
data/revpicommander.png /usr/share/icons/hicolor/128x128/apps

1
debian/links vendored Normal file
View File

@@ -0,0 +1 @@
/usr/share/revpicommander/revpicommander_entry_point /usr/bin/revpicommander

View File

@@ -0,0 +1,24 @@
From: Sven Sager <akira@narux.de>
Date: Mon, 18 Sep 2023 06:49:44 +0200
Subject: Change entry point name to differ from the module name
In the package, the module and its scripts are installed in the same
directory. This is done via PYBUILD_INSTALL_ARGS and --install-lib,
--install-scripts. Module name and script name must not be the same.
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 227874b..8b2acab 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ setup(
],
entry_points={
'gui_scripts': [
- 'revpicommander = revpicommander.revpicommander:main',
+ 'revpicommander_entry_point = revpicommander.revpicommander:main',
],
},

1
debian/patches/series vendored Normal file
View File

@@ -0,0 +1 @@
0001-Change-entry-point-name-to-differ-from-the-module-na.patch

1
debian/py3dist-overrides vendored Normal file
View File

@@ -0,0 +1 @@
pyqt5 python3-pyqt5

9
debian/rules vendored Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/make -f
export PYBUILD_NAME=revpicommander
# Install this module as an application an not into the python standard library path
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/revpicommander/ --install-scripts=/usr/share/revpicommander/
%:
dh $@ --with python3 --buildsystem=pybuild

1
debian/source/format vendored Normal file
View File

@@ -0,0 +1 @@
3.0 (quilt)