Replies: 22 comments 1 reply
-
Actually I'm in the process of porting Vorta to Golang, which will be dynamically linked to your distro in Docker. Progress here: https://github.com/borgbase/vorta-go#deployment I already tested it with macOS, Ubuntu and Archlinux. The files are very small and integrate well with your chosen distro. They are also easy to pack as rpm/deb. I still need to implement some features in the Go version before this is ready for testing. I'll post new releases here every now and then. The problem with the Python implementation was that the package we use, pyinstaller, doesn't know enough about Qt to package the right binaries. With Go cross-compiling and their Qt bindings, this is much cleaner. |
Beta Was this translation helpful? Give feedback.
-
That's great news. To clarify, is Docker necessary, or is it an option in addition to rpm/deb packages? |
Beta Was this translation helpful? Give feedback.
-
Docker is just used to build the binary. You don't need to deal with it at all, if you just want to run the program. Because Docker is lighter than a full virtual machine, it's a nice way to compile stuff for many different systems at once. |
Beta Was this translation helpful? Give feedback.
-
@m3nu What's your plan with the python version, is it going to be deprecated soon? I'm thinking about investing some time to implement what's missing for me in the python version since it already ticks a lot of boxes for me and why reinventing the wheel? :) |
Beta Was this translation helpful? Give feedback.
-
I'm actually working more on the Python version right now, because I found that some Go libraries aren't very mature yet. E.g. I couldn't get translations to work properly. The package you suggested is just a Python wrapper around Pyinstaller. Simple enough to use it directly and being able to customize it. |
Beta Was this translation helpful? Give feedback.
-
How is the Debian package coming along, @sten0? Anything else we can work on on our side? There is also this .desktop file that may be useful to reuse. |
Beta Was this translation helpful? Give feedback.
-
@m3nu, I'm making progress every day :-) Yes, I discovered that desktop file installed (by our pybuild helper) to I don't want to bother you with minutia :-) If this work requires any changes to Vorta, would you like me to let you know? |
Beta Was this translation helpful? Give feedback.
-
Definitely! If there is anything we can improve to make it more standards-compliant or easier to package, please let us know. Removing |
Beta Was this translation helpful? Give feedback.
-
Thank you :-) Here's an initial PR #488 |
Beta Was this translation helpful? Give feedback.
-
Debian status: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922961 (thanks to @sten0 ) |
Beta Was this translation helpful? Give feedback.
-
I don't quite understand yet, will this package in Debian be an official package, |
Beta Was this translation helpful? Give feedback.
-
Hi sudwhiwdh,
sudwhiwdh <[email protected]> writes:
I don't quite understand yet, will this package in Debian be an official package,
whose integrity and up-to-dateness is directly ensured by the Vorta developers?
The Debian package is an official Debian package. I'm not sure what you
mean by "integrity", but in addition to Manu, it means the software has
been reviewed by myself, by whoever sponsors the Debian upload, and then
one or two ftpmasters. The latest available version in Debian will
typically lag a couple of days behind the latest tagged release, except
during the "freeze" before a stable Debian release; during this time the
Debian package is frozen and only release-critical bugfixes can be made.
These bugfixes typically take for form of a patch series of backported
commits. Another typical reason for a delay is the introduction of a
new and difficult to package library when no one has any free time.
The upstream Vorta project is not directly responsible for the Debian
package, and should someone find any bugs in that package, those bugs
should be reported to bugs.debian.org. If the those bugs are not
Debian-specific (eg: caused by breakage introduced by a change in
Debian's Python or Qt libraries) then they'll be forwarded here, because
if they are Debian-specific there's no point in bothering Manu :-) Oh,
and for derivatives such as Ubuntu, Pop!OS, Mint, Elementary, etc, bugs
should be reported to their bugtrackers.
From my perspective (maintainer of the Debian package) there is a good
rapport between Vorta developers and myself, I feel like the Debian
package has been "blessed" by them, and I'm committed to the correct
functioning of that package--not just as its maintainer and not just
because I want to see Vorta succeed, but because two of my family
members and a couple of friends already use the package. I look forward
to continuing collaboration!
If having the latest tagged release at any given time is what you value
most, then pip or flatpak are the distribution methods you'll most
likely prefer.
Regards,
Nicholas
P.S. From what I can tell, of all the Debian derivatives, Pop!OS is the
most committed to flatpaks.
|
Beta Was this translation helpful? Give feedback.
-
I created a PPA using @sten0's work, and updated it to 0.7.1. The deb file below has translations though. Repo here: |
Beta Was this translation helpful? Give feedback.
-
Good stuff. So to add this to the docs the steps would be:
? |
Beta Was this translation helpful? Give feedback.
-
It would be, but don't add it to the docs yet, need to fix the translations. Edit: It's been added to the docs. |
Beta Was this translation helpful? Give feedback.
-
Since we now have deb files set up, we could use alien for deb -> rpm. |
Beta Was this translation helpful? Give feedback.
-
Samuel, thank you for your work on this. Please note that alien is a "last
resort" type of pseudo package and shouldn't be recommended in any official
capacity, imho.
The best multiplatform solution is probably OpenSUSE's OBS. It can also
serve a repo of debs, but rpm is much easier. Sorry I can't help more at
this time (no time)
Meanwhile, we're still waiting for sponsorship for inclusion into the main
Debian repo... I'm surprised it's taking this long
… |
Beta Was this translation helpful? Give feedback.
-
@samuel-w P.S. The translations weren't excluded; I just forgot to generate and install them. Sorry about that... I've fixed the issue and credited you in the commit. 'hoping to find time to finish preparing 0.7.1-1 sometime this week. On that topic, please read deb-version(7). X.y-z is reserved for Debian packages, and this related to x.y-z~ubuntu or versions. Within a Debian+unofficial repository context I'd usually use x.y-0.1 (NMU style for a new upstream release) to insure smooth upgrades, but I'm not sure what suffix is conventional for Ubuntu PPAs. It's a small thing, but it defends against users complaining that a PPA breaks dependency resolution. If you package the next Vorta version before I do, please consider it (it's too late for 0.7.1). And of course, you're welcome to do whatever you want ;-) |
Beta Was this translation helpful? Give feedback.
-
@samuel-w, P.P.S. if ever you're interested in contributing upstream to Debian, I'd be happy to help with your orientation :-) |
Beta Was this translation helpful? Give feedback.
-
The Ubuntu PPA packaging scheme seems to follow these rules: https://wiki.ubuntu.com/AutoStatic/PackagingVersioningScheme |
Beta Was this translation helpful? Give feedback.
-
Vorta for Debian (and its derivatives) is finally in NEW awaiting final review. https://ftp-master.debian.org/new.html |
Beta Was this translation helpful? Give feedback.
-
Nice. Thanks for pushing this @sten0! 👏🎉 |
Beta Was this translation helpful? Give feedback.
-
Are there plans to build rpm/deb packages of vorta, preferably for the default system repositories?
It's nice that a flatpak is available, though it requires a lot of large dependencies. Building from source is also an option, though it would be nice not to have to deal with dependencies manually.
In my case I'm using Fedora 30 and the
pip3 install vorta
method worked fine, but a native package would be more reassuring, especially with the system being able to keep it updated automatically.Beta Was this translation helpful? Give feedback.
All reactions