Ubuntu PPA Maintenance Coordination

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
sgrogan
Posts: 3050
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ubuntu PPA Maintenance Coordination

Postby sgrogan » Fri Apr 29, 2016 2:58 am

NormandC wrote:If using the terminal (sudo apt-get install freecad), the 1:0.16.6703 package is installed automatically.

This worked, but I expected when I added the Stable PPA to my software sources it would have updated the stale daily PPA (0.16.6698 vs 0.16.6706)
after "sudo apt-get update, sudo apt-get upgrade"

NormandC wrote:Cool! Thanks. :) But
https://code.launchpad.net/~freecad-mai ... se-precise
:oops: :oops:

Do you think it's safe to delete the vivid 0.15 release and the ccx 2.7stuff from the stable PPA?
User avatar
NormandC
Posts: 12266
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu PPA Maintenance Coordination

Postby NormandC » Fri Apr 29, 2016 3:04 am

Why not. But I've been trying to delete obsolete bzr recipes and getting Timeout errors. You may have more luck than me.

I'm guessing you've also noticed that the stable PPA is almost at full capacity? Maybe we should ask for more storage space like I did for the Daily Builds, which was bumped to 8GB.
User avatar
sgrogan
Posts: 3050
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ubuntu PPA Maintenance Coordination

Postby sgrogan » Fri Apr 29, 2016 3:20 am

NormandC wrote:I'm guessing you've also noticed that the stable PPA is almost at full capacity? Maybe we should ask for more storage space like I did for the Daily Builds, which was bumped to 8GB.

Yes, hence the question. I think we should be OK after the clean up?
EDIT: Maybe not. We're in by a whisker. If you've got the link handy I can request. If not that's OK, because I remember you posting this, so I should be able to find it.
Last edited by sgrogan on Fri Apr 29, 2016 3:26 am, edited 2 times in total.
User avatar
NormandC
Posts: 12266
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu PPA Maintenance Coordination

Postby NormandC » Fri Apr 29, 2016 3:23 am

Possibly. I've never understood how Launchpad manages storage space. Just look at the Daily PPA, it has more packages than Stable yet only uses 1.4GB.
User avatar
sgrogan
Posts: 3050
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ubuntu PPA Maintenance Coordination

Postby sgrogan » Fri Apr 29, 2016 3:31 am

Just makes it. https://launchpad.net/~freecad-maintainers/+archive/ubuntu/freecad-stable/+packages
I can request an increase to 4 MB should be more than enough. Do you have a link handy?

NormandC wrote:Possibly. I've never understood how Launchpad manages storage space. Just look at the Daily PPA, it has more packages than Stable yet only uses 1.4GB.

Don't know, but maybe because some of the packages are copies so only a link?

What can I do for the daily PPA. You've already pushed to Launchpad further than I am locally.
User avatar
NormandC
Posts: 12266
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu PPA Maintenance Coordination

Postby NormandC » Fri Apr 29, 2016 3:55 am

sgrogan wrote:I can request an increase to 4 MB should be more than enough. Do you have a link handy?

You just ask a question from this page: https://answers.launchpad.net/launchpad

(Link is at the right)

Here's the one I asked for the Daily PPA 2 years ago: https://answers.launchpad.net/launchpad ... ion/247330

sgrogan wrote:What can I do for the daily PPA. You've already pushed to Launchpad further than I am locally.

At this point the gitpackaging:dailybuild branch needs to be edited further to fix the build error I reported here: viewtopic.php?f=4&t=15222&start=80#p123315

Then it needs testing before creating a recipe. I've been doing so using PBuilder, but a first step could be to simply use debuild with no parameters set.

On the other hand, I've reported earlier that the Ubuntu 16.04 repository now hosts a git-build-recipe package. http://packages.ubuntu.com/xenial/git-build-recipe
I downloaded it and was able to install it on Ubuntu 14.04. It's the same package used by Launchpad. But I do not know how to use it, and it's so new it has no man page ("man git-build-recipe" returns "No manual entry"). There are some hints when looking at the recipe build log. Looking at this one for the trusty package you built: https://launchpadlibrarian.net/25696645 ... log.txt.gz

Code: Select all

git-build-recipe 0.3~git201603101733.90b6821~ubuntu14.04.2
Building recipe:
# git-build-recipe format 0.4 deb-version 1:0.16.6703-1ppa1
lp:~freecad-maintainers/+git/gitmaster releases/FreeCAD-0-16
merge gitpackaging lp:~freecad-maintainers/+git/gitpackaging release
merge gitversioning lp:~freecad-maintainers/+git/gitversioning releases/FreeCAD-0-16

RUN ['git-build-recipe', '--safe', '--no-build', '--manifest', '/home/buildd/build-RECIPEBRANCHBUILD-1127352/chroot-autobuild/home/buildd/work/tree/manifest', '--distribution', 'trusty', '--allow-fallback-to-native', '--append-version', '~ubuntu14.04.1', '/home/buildd/build-RECIPEBRANCHBUILD-1127352/chroot-autobuild/home/buildd/work/recipe', '/home/buildd/build-RECIPEBRANCHBUILD-1127352/chroot-autobuild/home/buildd/work/tree']

Anyway, maybe we don't need to go there yet. :D
User avatar
sgrogan
Posts: 3050
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ubuntu PPA Maintenance Coordination

Postby sgrogan » Fri Apr 29, 2016 4:09 am

NormandC wrote:At this point the gitpackaging:dailybuild branch needs to be edited further to fix the build error I reported here: viewtopic.php?f=4&t=15222&start=80#p123315
I'll start here.

Thanks again. I think stable is good for now?
User avatar
NormandC
Posts: 12266
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu PPA Maintenance Coordination

Postby NormandC » Fri Apr 29, 2016 4:12 am

Yes it is! Thanks again.
User avatar
NormandC
Posts: 12266
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu PPA Maintenance Coordination

Postby NormandC » Sat Apr 30, 2016 6:28 am

Quick question: now that you have pushed changes to multiple branches on gitpackaging, how do I update my local repo?

Do I need to

Code: Select all

git clone ### or git pull?
git checkout dailybuild
git clone ### or git pull?

For each branch, or can I enter a single command to update all branches?

Thanks.

BTW there's one thing I've been meaning to try to fix: the address for lp:freecad.

Looking at the list of branches under the "Code" menu on the FreeCAD Maintainers team page: https://code.launchpad.net/~freecad-maintainers

At the bottom there is "lp:freecad", with the last commit showing "This branch has not been pushed to yet."

Clicking on it gives this url: https://code.launchpad.net/~freecad-mai ... reecad.old

IMHO lp:freecad should redirect to the gitmaster branch. But you set its "target" as Personal. I think it should be set to Project "freecad". This would probably change the url to https://code.launchpad.net/~freecad-maintainers/freecad/+git/gitmaster

But I am unsure how to proceed.
User avatar
sgrogan
Posts: 3050
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ubuntu PPA Maintenance Coordination

Postby sgrogan » Sat Apr 30, 2016 11:49 am

From the master branch "git pull". If you then "git checkout" and the local branch is not up to date the git will promt you to "git pull"
NormandC wrote:At the bottom there is "lp:freecad", with the last commit showing "This branch has not been pushed to yet."

I don't think this is me. From your second link see here. See this https://code.launchpad.net/~5-a-day-participants/+recipe/freecad-daily