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
Official Ubuntu PPA? #191
Comments
We do have https://launchpad.net/~achadwick/+archive/ubuntu/mypaint-testing which could be resurrected. I tailed it off at the start of the gtk3 work, but it could be resurrected. I'm also responsible for a bit of Debian porting, and the Ubuntu packaging should probably stem from that naturally.
The PPA repository doesn't have to share too much Debian build kit (or even a changelog) with the "trunk" stable line that goes into Debian testing then Ubuntu stable. |
If PPA maintenance can be made a team effort on Launchpad, we could maintain the debian/ tree here on github and update the Debian stuff from that as needed. Quick-and-dirty PPA-style build goal: clone a hypothetical https://github.com/mypaint/ppa (or mypaint/debian) into a working tree's It's better to have the debian tree live somewhere it can be forked usefully. Locking it up in Debian's crummy old SVN repo is probably a bad idea. Potential annoyances: version number requirements for PPA builds. Maybe keep the version in the repo |
It would be nice to have the ability to tell people "Just add I tried looking at how automated PPAs work from the documentation and how other automated PPAs work, but I couldn't figure it out. The documentation doesn't give any higher-level picture of what's going on, and Launchpad is a pain to navigate. This is more a long-term goal anyway, we don't strictly need a PPA, after all. |
* Configure with real option processing rather than environment vars; * We don't (shouldn't) have bashisms, so use a /bin/sh shebang; * Headless option for skipping GUI tests; * Optional Debian-style tarball naming scheme, for PPA making; * Configurable output location, again for PPAs; * Make .tar.gz/.tar.bz2 outputs optional; * Better tempfile management; * Add a help option. Addresses part of mypaint#191: any PPA debianization will be reliant on tarballs with special names. Plus I want to make the script nicer.
I have something of a plan in my head:
Trick with automated PPAs is signing the source uploads. |
* Configure with real option processing rather than environment vars; * We don't (shouldn't) have bashisms, so use a /bin/sh shebang; * Headless option for skipping GUI tests; * Optional Debian-style tarball naming scheme, for PPA making; * Configurable output location, again for PPAs; * Make .tar.gz/.tar.bz2 outputs optional; * Better tempfile management; * Add a help option. Addresses part of mypaint#191: any PPA debianization will be reliant on tarballs with special names. Plus I want to make the script nicer.
* Configure with real option processing rather than environment vars; * We don't (shouldn't) have bashisms, so use a /bin/sh shebang; * Headless option for skipping GUI tests; * Optional Debian-style tarball naming scheme, for PPA making; * Configurable output location, again for PPAs; * Make .tar.gz/.tar.bz2 outputs optional; * Better tempfile management; * Add a help option. Addresses part of mypaint#191: any PPA debianization will be reliant on tarballs with special names. Plus I want to make the script nicer.
Well, the packaging is up: https://github.com/mypaint/debian. It compiles, installs, and runs on my system, and I can crank out signed source uploads with it which the PPA uploadbot seems to like. Waiting on the trusty autobuilder results to see how well it does before trying any other Ubuntu releases. |
Exciting! It seems like this will make releases easier, which is good. |
It even builds! Admittedly it took three retries without source changes to get the amd64 one built (with no explanation or buildlog, thanks Launchpad!) whereas i386 did fine, but there you go. Uploading utopic and vivid now. |
Closed down my "master" branch in the Debian SVN: http://anonscm.debian.org/viewvc/python-apps?view=revision&revision=11751, all done here. Packaging stuff which will be good for the next stable MyPaint release can now be sourced from https://github.com/mypaint/debian, and is itself derived from Gürkan Sengün's original packaging for Debian. |
Awesome! |
It might be a good idea to have. The usual faire is having a stable branch and a nightly branch, which seems like it'd be good for us as it lets less technology-proficient people find bugs and stay up to date.
I believe PPAs have a system where they can automatically compile new builds regularly, so in theory we should just be able to set things up and not have to put much effort into maintaining things.
I'll investigate further and see if I can't figure things out.
The text was updated successfully, but these errors were encountered: