Re: Best way to handle circular build deps to make a pypy- package
Le mercredi 15 août 2018 à 15:11:25+0200, Pierre-Elliott Bécue a écrit : > Le mercredi 15 août 2018 à 13:10:39+0200, Samuel Thibault a écrit : > > Pierre-Elliott Bécue, le mer. 15 août 2018 13:05:09 +0200, a ecrit: > > > 2. What's the proper way to handle such packages? > > > > Build profiles? You can annotate the build-dep needed for check with > > so that one can easily (re)bootstrap the circle at any time > > by using DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -Pnocheck > > Thanks, I'll dig the wiki pages and try this! > > Cheers! Hi, So I found a way to build locally, using your suggestions. In my case I guess I could upload directly the output of the nocheck build as the bin package isn't altered. But how should I handle the upload in the archive in a general case? Let's imagine my profile produces a different bin package, eg if foo -> bar (for specific foo functionalities) -> foo, so with a stage1 foo, then a stage1 bar and then a stage2 foo, how should I proceed? Do all the builds locally and upload the packages obtained from the last build? On the other hand, let's assume one wants to do a sourceful upload, and not upload the .deb files (I know this is not possible when one introduces a new package in the archive), then the buildd farm couldn't succeed because the nocheck wouldn't be taken into account. So this means profile builds systematically require source + binary upload? Maybe some of these questions may seem dumb, but I'd rather ask them than upload shit to the archive. ^^ Thanks. :) -- Pierre-Elliott Bécue GPG: 9AE0 4D98 6400 E3B6 7528 F493 0D44 2664 1949 74E2 It's far easier to fight for one's principles than to live up to them. signature.asc Description: PGP signature
Re: Best way to handle circular build deps to make a pypy- package
Le mercredi 15 août 2018 à 13:10:39+0200, Samuel Thibault a écrit : > Pierre-Elliott Bécue, le mer. 15 août 2018 13:05:09 +0200, a ecrit: > > 2. What's the proper way to handle such packages? > > Build profiles? You can annotate the build-dep needed for check with > so that one can easily (re)bootstrap the circle at any time > by using DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -Pnocheck Thanks, I'll dig the wiki pages and try this! Cheers! -- Pierre-Elliott Bécue GPG: 9AE0 4D98 6400 E3B6 7528 F493 0D44 2664 1949 74E2 It's far easier to fight for one's principles than to live up to them. signature.asc Description: PGP signature
Re: Best way to handle circular build deps to make a pypy- package
On Wed, 15 Aug 2018, 12:11 Samuel Thibault, wrote: > Pierre-Elliott Bécue, le mer. 15 août 2018 13:05:09 +0200, a ecrit: > > 2. What's the proper way to handle such packages? > > Build profiles? You can annotate the build-dep needed for check with > so that one can easily (re)bootstrap the circle at any time > by using DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -Pnocheck > > Samuel > I second this. Build profiles are the way to go. You can find plenty of examples in codesearch.debian.net. Ghis >
Re: git-dpm -> gbp conversion (mass-change) [phase 1 DONE]
Hi Pierre-Elliott, st 15. 8. 2018 v 12:50 odesílatel Pierre-Elliott Bécue napsal: > It's done, now. :) > thanks a lot. -- Best regards Ondřej Nový Email: n...@ondrej.org PGP: 3D98 3C52 EB85 980C 46A5 6090 3573 1255 9D1E 064B
Re: Best way to handle circular build deps to make a pypy- package
Pierre-Elliott Bécue, le mer. 15 août 2018 13:05:09 +0200, a ecrit: > 2. What's the proper way to handle such packages? Build profiles? You can annotate the build-dep needed for check with so that one can easily (re)bootstrap the circle at any time by using DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -Pnocheck Samuel
Best way to handle circular build deps to make a pypy- package
Hi, I was asked a long time ago to make a pypy package for nose2[1]. I realized while considering this bug that I'd require to have a pypy package for mock first. mock build-depends on unittest2 and pbr that are not pypy-packaged either. pbr is maintained in the OpenStack Team, but zigo is eager to help me should I provide a sustainable MR. The thing is, pbr build-depends (indep) on mock[3]. The way I see it, a solution is to: 1. Build the pypy-pbr package without the testing phase (which seems to be the part where mock is required), and upload it. 2. Build the pypy-mock package and upload it. 3. Rebuild the pypy-pbr package with the testing phase and upload it. But that doesn't satisfy me, because I guess sometimes I couldn't use this subterfuge to build the packages. So I have two questions : 1. Are there other packages with the same circular build-dep thing, and if so, can someone provide me with examples? 2. What's the proper way to handle such packages? Thanks a lot! [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=887933 [2] https://tracker.debian.org/media/packages/p/python-mock/control-2.0.0-3 [3] https://tracker.debian.org/media/packages/p/python-pbr/control-3.1.1-4 -- Pierre-Elliott Bécue GPG: 9AE0 4D98 6400 E3B6 7528 F493 0D44 2664 1949 74E2 It's far easier to fight for one's principles than to live up to them. signature.asc Description: PGP signature
Re: git-dpm -> gbp conversion (mass-change) [phase 1 DONE]
Le mercredi 15 août 2018 à 08:43:28+0200, Ondrej Novy a écrit : > Hi, > > st 15. 8. 2018 v 4:12 odesílatel Lars Kruse napsal: > > > What's up with the page? https://wiki.debian.org/Python/GitPackagingPQ > > thankfully it was merged by Ondrej into > https://wiki.debian.org/Python/GitPackaging. > > > yes I merged it "back" to original page. If you know how to redirect > GitPackagingPQ to original page, please go ahead. > > Thanks. Hi, Ondřej, It's as easy as creating a new page at https://wiki.debian.org/Python/GitPackagingPQ, and to put on the first line the following code: "#redirect Python/GitPackaging" without the quotes. It's done, now. :) Cheers! -- Pierre-Elliott Bécue GPG: 9AE0 4D98 6400 E3B6 7528 F493 0D44 2664 1949 74E2 It's far easier to fight for one's principles than to live up to them. signature.asc Description: PGP signature
Re: git-dpm -> gbp conversion (mass-change) [phase 1 DONE]
Hi, st 15. 8. 2018 v 4:12 odesílatel Lars Kruse napsal: > > What's up with the page? https://wiki.debian.org/Python/GitPackagingPQ > > thankfully it was merged by Ondrej into > https://wiki.debian.org/Python/GitPackaging. > yes I merged it "back" to original page. If you know how to redirect GitPackagingPQ to original page, please go ahead. Thanks. -- Best regards Ondřej Nový Email: n...@ondrej.org PGP: 3D98 3C52 EB85 980C 46A5 6090 3573 1255 9D1E 064B