Volunteer Packagers Needed for the PPA

This subforum is specifically to discuss packaging issues on different platforms (windows, mac, linux), and using different packaging systems (conda, etc...)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Volunteer Packagers Needed for the PPA

Post by Kunda1 »

yorik wrote: Thu Jul 07, 2022 8:26 am BTW @Kunda1 do you have a ubuntu/launchpad account? If yes tell me and I'll make you an admin there so you can add people, etc
https://launchpad.net/~kunda1
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
illuusio
Posts: 21
Joined: Mon Mar 01, 2021 10:00 am

Re: Volunteer Packagers Needed for the PPA

Post by illuusio »

@yorik am I really wrong that build is done from Salsa Debian Freecad daily? So It's mainly fix build from there as I didn't notice that there is no building stuff in automatically imported git on launchpad
User avatar
yorik
Founder
Posts: 13630
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Volunteer Packagers Needed for the PPA

Post by yorik »

Kunda1 wrote: Thu Jul 07, 2022 3:59 pm https://launchpad.net/~kunda1
Done!
illuusio wrote: Fri Jul 08, 2022 6:49 am @yorik am I really wrong that build is done from Salsa Debian Freecad daily? So It's mainly fix build from there as I didn't notice that there is no building stuff in automatically imported git on launchpad
This is the code used for the ppa AFAICS: https://code.launchpad.net/~freecad-mai ... it/freecad it seems in sync with the FreeCAD master code...
david69
Veteran
Posts: 1760
Joined: Wed Jan 01, 2014 7:48 pm

Re: Volunteer Packagers Needed for the PPA

Post by david69 »

@yorik may I ask you if it is in relation with this thread and fix the annoyance?
illuusio
Posts: 21
Joined: Mon Mar 01, 2021 10:00 am

Re: Volunteer Packagers Needed for the PPA

Post by illuusio »

yorik wrote: Mon Jul 18, 2022 12:19 pm
illuusio wrote: Fri Jul 08, 2022 6:49 am @yorik am I really wrong that build is done from Salsa Debian Freecad daily? So It's mainly fix build from there as I didn't notice that there is no building stuff in automatically imported git on launchpad
This is the code used for the ppa AFAICS: https://code.launchpad.net/~freecad-mai ... it/freecad it seems in sync with the FreeCAD master code...
Is this PPA available just to build upstream git as there is this Freecad PPA based on https://git.launchpad.net/freecad (It only builds releases). As that is used for debian directory. Just asking as there should not be double effort on this and determine relationship..
User avatar
yorik
Founder
Posts: 13630
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Volunteer Packagers Needed for the PPA

Post by yorik »

I don't really know if there is any relationship at all between the launchpad git and the debian salsa git. I believe not, each of them syncs with our FreeCAD master code independently. Only, debian makes builds at specific times, while normally the PPA should build daily, or so.
User avatar
adrianinsaval
Veteran
Posts: 5534
Joined: Thu Apr 05, 2018 5:15 pm

Re: Volunteer Packagers Needed for the PPA

Post by adrianinsaval »

This looks like it would be the relevant files for packaging: https://git.launchpad.net/freecad/tree/?h=ppa/daily
User avatar
wandererfan
Veteran
Posts: 6238
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Volunteer Packagers Needed for the PPA

Post by wandererfan »

yorik wrote: Tue Jul 26, 2022 8:31 am I don't really know if there is any relationship at all between the launchpad git and the debian salsa git. I believe not, each of them syncs with our FreeCAD master code independently.
This is the LP repo with the debian rules and control files:
https://git.launchpad.net/freecad is an import of the Git repository at https://salsa.debian.org/science-team/freecad.

This is the LP repo with the current FC source:
https://git.launchpad.net/~freecad-main ... it/freecad is an import of the Git repository at https://github.com/FreeCAD/FreeCAD.git.

The debian dir from the first gets inserted into the second for the daily build.
User avatar
adrianinsaval
Veteran
Posts: 5534
Joined: Thu Apr 05, 2018 5:15 pm

Re: Volunteer Packagers Needed for the PPA

Post by adrianinsaval »

wandererfan wrote: Tue Jul 26, 2022 1:20 pm The debian dir from the first gets inserted into the second for the daily build.
and where is this kind of stuff setup? Is there a script that gets executed on a schedule in launchpad? the whole process is very obscure to outsiders.

Speaking of which, I have an idea to make the daily ppa have correct full version information, in the FreeCAD-Bundle repo a source tarball with correct full version info is created every 4 hours (the conda builds use these), this is done here with a script that writes the version info and then makes a commit with it before doing

Code: Select all

git archive HEAD -o ../freecad_source.tar.gz
we could auto push that commit with the version info to launchpad or push to a branch on github and have launchpad mirror it.
User avatar
wandererfan
Veteran
Posts: 6238
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Volunteer Packagers Needed for the PPA

Post by wandererfan »

adrianinsaval wrote: Tue Jul 26, 2022 1:48 pm and where is this kind of stuff setup? Is there a script that gets executed on a schedule in launchpad? the whole process is very obscure to outsiders.
I don't know how the scheduling part works.

The source gets built by running git-build-recipe against a Launchpad "recipe". This builds a source tree that combines the debian stuff with the FC source, then makes a source tar ball and dsc file. After that it runs debuild against the tar ball to produce the package files.

The source tree produces a good FC executable using the usual CMake + make process. The problem is somewhere in the rules and control files that control debuild, but that's as far as I got.

My notes to myself are attached.
Attachments
packagingNotes.txt
(1.89 KiB) Downloaded 74 times
Post Reply