Topic: Snap packages

Dear QET users ,


we are pleased to announce that after many efforts and thanks a lot  to the help and efforts of Max, you will have QET snap packages weekly autobuilded on snapcraft.io.
https://snapcraft.io/qelectrotech


We had to trick and synchronize whole sections of SVN towards Github and learn to use Travis for synced SVN to Github.


The Snap package of QET is complete and contain also Raul qet_tb_generator and Ronny DXF converter.


https://github.com/qelectrotech

https://travis-ci.org/qelectrotech/sync … b/branches

I let Max add more technical informations that can appeal to advanced QET users.

We have also added the Fernando Documentation on Github, it will be easier for external contributors to participate in its improvement and its translation.


I moved it to https://github.com/qelectrotech

Laurent

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

2 (edited by ppd 2019-06-24 17:37:21)

Re: Snap packages

The snaps are automatically built from https://github.com/qelectrotech/qelectrotech-git-mirror master, which is synced from svn trunk daily.

Snaps have multiple channels that represent the risk level of an installation: https://docs.snapcraft.io/channels

We publish daily builds (only if trunk has changed, of course) to the edge channel, so only install that channel if you don't mind frequent updates.

Every few revisions, a select revision will be promoted to the candidate or beta channel. Follow those channels for less frequent updates and thus slightly older revisions.

On release of 0.7, this will be promoted to the stable channel. Installing that channel will be the most conservative option.

Re: Snap packages

Thanks Max for additional informations.
We thinking push the release candidate 2 on stable channel.

Snap architecture builds :
https://build.snapcraft.io/user/qelectr … git-mirror

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Snap packages

Howto install snap packages :
https://docs.snapcraft.io/installing-snapd

sudo snap install --edge qelectrotech

Run qet_tb_generator without launching QET :


qelectrotech.qet-tb-generator

Run DXF converter without launching QET :

qelectrotech.dxf-to-qet
laurent@debian:~$ snap info qelectrotech
name:      qelectrotech
summary:   Electrical diagram editor
publisher: laurent trinques (scorpio)
contact:   https://qelectrotech.org/forum/index.php
license:   unset
description: |
  QElectroTech is a Qt5 application to design electric diagrams.
  It uses XML files for elements and diagrams, and includes both a diagram
  editor, an element editor, and a titleblock editor.
commands:
  - qelectrotech.dxf-to-qet
  - qelectrotech
  - qelectrotech.qet-tb-generator
snap-id:      CEFA0rCgrd6XZ1w9fX4mZzE8jrbR7y6n
tracking:     edge
refresh-date: 2 days ago, at 15:08 CEST
channels:
  stable:    –                                      
  candidate: –                                      
  beta:      –                                      
  edge:      0.70-RC1~svn5934 2019-06-24 (5) 122MB -
installed:   0.70-RC1~svn5927            (2) 122MB -

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Snap packages

[justify]You don't need snap run.[/justify]

Just

qelectrotech.qet-tb-generator etc. is enough.

Re: Snap packages

https://github.com/qelectrotech/qelectr … or/pull/34

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Snap packages

https://github.com/qelectrotech/qelectr … r/pull/200

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Snap packages

If you don't have common collection with Snap repository on QET 0.9-dev.
Edit file

~/snap/qelectrotech/current/.config/QElectroTech/

Change common-collection-path=defaut to /snap/qelectrotech/current/usr/local/share/qelectrotech/elements/

[elements-collections]
common-collection-path=/snap/qelectrotech/current/usr/local/share/qelectrotech/elements/
custom-collection-path=default
custom-tbt-path=default

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Snap packages

13:16:18.851 Info: "QElectroTech V 0.90-DEV~d932f8ea.snap" 
13:16:18.851 Info: "Compilation : GCC 9.3.0" 
13:16:18.852 Info: "Built with Qt 5.15.3 - Date : Jan  5 2022 : 11:05:49" 
13:16:18.852 Info: "Run with Qt 5.15.3 using 8 thread(s)" 
13:16:18.852 Info: "CPU : model name\t: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz\n" 
13:16:18.852 Info: "RAM Total : 15828 MB" 
13:16:18.852 Info: "RAM Available : 12145 MB" 
13:16:18.852 Info: "GPU : " 
13:16:18.852 Info: "GPU RAM : @ToDo" 
13:16:18.852 Info: "OS : linux  - x86_64 - Version : Ubuntu Core 20 - Kernel : 5.4.0-90-generic" 
13:16:18.852 Info: *** Qt screens *** 
13:16:18.852 Info: "( 1 : 3840 x 2160 )" 
13:16:19.142 Info: Elements collection reload 
13:16:19.164 Info: Elements collection finished to be loaded 
13:53:59.488 Info: Start-up 
13:53:59.526 Info: debugging enabled: false 
13:53:59.526 Info: Qt library version: 5.15.3 
13:53:59.526 Info: Qt library location default prefix: "/usr" 
13:53:59.527 Info: Qt library location documentation: "/usr/share/qt5/doc" 
13:53:59.527 Info: Qt library location headers: "/usr/include/x86_64-linux-gnu/qt5" 
13:53:59.527 Info: Qt library location libraries: "/usr/lib/x86_64-linux-gnu" 
13:53:59.527 Info: Qt library location executables: "/usr/lib/x86_64-linux-gnu/qt5/libexec" 
13:53:59.527 Info: Qt library location Qt binaries: "/usr/lib/qt5/bin" 
13:53:59.527 Info: Qt library location Qt plugins: "/usr/lib/x86_64-linux-gnu/qt5/plugins" 
13:53:59.527 Info: Qt library location installed QML extensions: "/usr/lib/x86_64-linux-gnu/qt5/imports" 
13:53:59.527 Info: Qt library location installed QML extensions: "/usr/lib/x86_64-linux-gnu/qt5/qml" 
13:53:59.527 Info: Qt library location dependent Qt data: "/usr/lib/x86_64-linux-gnu/qt5" 
13:53:59.527 Info: Qt library location independent Qt data: "/usr/share/qt5" 
13:53:59.527 Info: Qt library location translation: "/usr/share/qt5/translations" 
13:53:59.527 Info: Qt library location examples: "/usr/lib/x86_64-linux-gnu/qt5/examples" 
13:53:59.527 Info: Qt library location Qt testcases: "/usr/tests" 
13:53:59.527 Info: Qt library location Qt settings: "/etc/xdg" 
13:53:59.527 Info: "GitRevision d932f8ea01963f8f505714835f2ee24d029ef5fb" 
13:53:59.527 Info: "QElectroTech V 0.90-DEV~d932f8ea.snap" 
13:53:59.528 Info: "Compilation : GCC 9.3.0" 
13:53:59.528 Info: "Built with Qt 5.15.3 - Date : Jan  5 2022 : 11:05:49" 
13:53:59.528 Info: "Run with Qt 5.15.3 using 8 thread(s)" 
13:53:59.528 Info: "CPU : model name\t: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz\n" 
13:53:59.528 Info: "RAM Total : 15828 MB" 
13:53:59.528 Info: "RAM Available : 12445 MB" 
13:53:59.528 Info: "GPU : " 
13:53:59.528 Info: "GPU RAM : @ToDo" 
13:53:59.528 Info: "OS : linux  - x86_64 - Version : Ubuntu Core 20 - Kernel : 5.4.0-90-generic" 
13:53:59.528 Info: *** Qt screens *** 
13:53:59.528 Info: "( 1 : 3840 x 2160 )" 
13:53:59.817 Info: Elements collection reload 
13:53:59.838 Info: Elements collection finished to be loaded 
13:59:05.122 Info: Start-up 
13:59:05.161 Info: debugging enabled: false 
13:59:05.161 Info: Qt library version: 5.15.3 
13:59:05.161 Info: Qt library location default prefix: "/usr" 
13:59:05.161 Info: Qt library location documentation: "/usr/share/qt5/doc" 
13:59:05.161 Info: Qt library location headers: "/usr/include/x86_64-linux-gnu/qt5" 
13:59:05.161 Info: Qt library location libraries: "/usr/lib/x86_64-linux-gnu" 
13:59:05.161 Info: Qt library location executables: "/usr/lib/x86_64-linux-gnu/qt5/libexec" 
13:59:05.162 Info: Qt library location Qt binaries: "/usr/lib/qt5/bin" 
13:59:05.162 Info: Qt library location Qt plugins: "/usr/lib/x86_64-linux-gnu/qt5/plugins" 
13:59:05.162 Info: Qt library location installed QML extensions: "/usr/lib/x86_64-linux-gnu/qt5/imports" 
13:59:05.162 Info: Qt library location installed QML extensions: "/usr/lib/x86_64-linux-gnu/qt5/qml" 
13:59:05.162 Info: Qt library location dependent Qt data: "/usr/lib/x86_64-linux-gnu/qt5" 
13:59:05.162 Info: Qt library location independent Qt data: "/usr/share/qt5" 
13:59:05.162 Info: Qt library location translation: "/usr/share/qt5/translations" 
13:59:05.162 Info: Qt library location examples: "/usr/lib/x86_64-linux-gnu/qt5/examples" 
13:59:05.162 Info: Qt library location Qt testcases: "/usr/tests" 
13:59:05.162 Info: Qt library location Qt settings: "/etc/xdg" 
13:59:05.162 Info: "GitRevision d932f8ea01963f8f505714835f2ee24d029ef5fb" 
13:59:05.162 Info: "QElectroTech V 0.90-DEV~d932f8ea.snap" 
13:59:05.162 Info: "Compilation: GCC 9.3.0" 
13:59:05.162 Info: "Built with Qt 5.15.3 - Date : Jan  5 2022 : 11:05:49" 
13:59:05.162 Info: "Run with Qt 5.15.3 using 8 thread(s)" 
13:59:05.162 Info: "CPU : model name\t: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz\n" 
13:59:05.162 Info: "RAM Total : 15828 MB" 
13:59:05.162 Info: "RAM Available : 12407 MB" 
13:59:05.162 Info: "GPU : " 
13:59:05.162 Info: "GPU RAM : @ToDo" 
13:59:05.162 Info: "OS : linux  - x86_64 - Version : Ubuntu Core 20 - Kernel : 5.4.0-90-generic" 
13:59:05.162 Info: *** Qt screens *** 
13:59:05.162 Info: "( 1 : 3840 x 2160 )" 
13:59:05.473 Info: Elements collection reload 
13:59:05.826 Info: Elements collection finished to be loaded 

13:59:05.473 Info: Elements collection reload
13:59:05.826 Info: Elements collection finished to be loaded

~8 000 Elements in collection loaded in 0.353 seconds

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."