Public bug reported:

In order to use backportpackage as --git-builder in the git-buildpackage
invocation the backportpackage needs ability to pass the extra arguments
to the builder.

E.g.

backportpackage --builder="debuild" <.dsc> --buildinfo=-O -sa should not
fail, but instead `debuild --buildinfo=-O -sa` should be called when
invoking the builder.  (Other option would be to use -- as a separator.)

I have a shell wrapper (`backportpackage-wrapper`) that does exactly
that and --git-builder argument to git-buildpackage looks like this:

--git-builder="dpkg-buildpackage --build=source \"--sign-
key=${DEBSIGN_KEY}\" --no-check-builddeps --no-pre-clean -sa &&
backportpackage-wrapper \"--version=${DEB_VERSION}\" \"--
suffix=${EXTRA_VERSION}\" \"--destination=${DIST}\" --update \"--
workdir=${WORKDIR}\" \"${UPLOAD}\" \"--key=${DEBSIGN_KEYID}\" --yes
--release-pocket \"${WORKDIR}/${DEB_SOURCE}_${DEB_VERSION}.dsc\" -- "

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1693766

Title:
  [feature request] pass unknown arguments to backportpackage to the
  builder

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1693766/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to