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

Feature Request: Provide Ubuntu PPA #14

Closed
janhenke opened this issue Oct 16, 2015 · 12 comments
Closed

Feature Request: Provide Ubuntu PPA #14

janhenke opened this issue Oct 16, 2015 · 12 comments
Labels

Comments

@janhenke
Copy link

Right now the software is released as stand alone .deb files. It would improve user experience to publish the software instead in a personal package archive (PPA).

This would also allow the package to be build separately for all current releases. Thereby making changes in dependencies between different Ubuntu releases manageable.

@pbek
Copy link
Owner

pbek commented Oct 16, 2015

Thank you, Jan
To create a PPA is a long wanted wish of me and still on my todo list after some attempts. It's far from trivial to create one. :)
I will make some more attempts.

@janhenke
Copy link
Author

Well the PPA is not difficult, but you need working Debian packaging for it. It is not as difficult as it seems (if you start with manual pushing).

@pbek
Copy link
Owner

pbek commented Oct 16, 2015

I will have to learn my way into the debian toolchain... But I want that done on Travis CI in the end... I would even more like to use the OpenSuse build service to build on a lot more platforms... But that's quite some learning task in itself.

@janhenke
Copy link
Author

You cannot upload binary packages to a PPA. You have to upload a source package and it will be build by the PPA service.

@pbek
Copy link
Owner

pbek commented Oct 17, 2015

Yeah, but I would want to do that after a successful build on the master branch. And I would have to rewrite the internal QOwnNotes update service... That will be fun. :)

@janhenke
Copy link
Author

Well you could add a compile option to simply deactivate the update service (since the OS takes care of that).
For building, it would be a good idea anyway to support building the master from the command line.

@pbek
Copy link
Owner

pbek commented Oct 17, 2015

Much food for thought...
The open suse build service is still a bit more appealing to me, it would solve the problem with building for different (Linux) platforms...

@janhenke
Copy link
Author

In the end it is a matter of user experience for the end user. I honestly think the Suse build service is the exactly wrong way to serve Ubuntu users.

As I was trying to point out, you need the ability to build in an automated fashion anyway. You also need proper Debian packaging files as well, no matter where to build. The final step to build it in a PPA is then the least work/concern.

@janhenke
Copy link
Author

If it is just about setting up the PPA, I could look into it, but I am currently time constraint, so I cannot create a full debian/ folder with all the things needed to build a Debian package.

@pbek
Copy link
Owner

pbek commented Oct 17, 2015

Some help/hints with setting up a ppa for QOwnNotes would be gladly appreciated!

Currently I build the project for Linux and create a Debian package in Travis (which was a great deal of work to get it running with QT 5.4 and all) and deploy it from there to GitHub releases.
https://github.com/pbek/QOwnNotes/blob/develop/.travis.yml

I'm using a pre-prepared Debian package (which I made locally) and the meta files in https://github.com/pbek/QOwnNotes/tree/develop/travis/build/DEBIAN (I alter in the deployment process).

@pbek
Copy link
Owner

pbek commented Dec 30, 2015

I (very proudly) present:

sudo add-apt-repository ppa:pbek/qownnotes  
sudo apt-get update  
sudo apt-get install qownnotes

A few things in the build process will be changed, but otherwise it should be working!

@pbek pbek closed this as completed Dec 30, 2015
@pbek
Copy link
Owner

pbek commented Jan 3, 2016

We even have builds for openSUSE now. ;)
Check out the QOwnNotes installation page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants