Ubuntu PPA Maintenance Coordination

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ubuntu PPA Maintenance Coordination

Post by sgrogan »

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?
"fight the good fight"
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu PPA Maintenance Coordination

Post by NormandC »

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
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ubuntu PPA Maintenance Coordination

Post by sgrogan »

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.
"fight the good fight"
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu PPA Maintenance Coordination

Post by NormandC »

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
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ubuntu PPA Maintenance Coordination

Post by sgrogan »

Just makes it. https://launchpad.net/~freecad-maintain ... /+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.
"fight the good fight"
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu PPA Maintenance Coordination

Post by NormandC »

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
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Ubuntu PPA Maintenance Coordination

Post by sgrogan »

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?
"fight the good fight"
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Ubuntu PPA Maintenance Coordination

Post by NormandC »

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

Re: Ubuntu PPA Maintenance Coordination

Post by NormandC »

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-mai ... /gitmaster

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

Re: Ubuntu PPA Maintenance Coordination

Post by sgrogan »

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-par ... ecad-daily
"fight the good fight"
Post Reply