Re: [Pkg-crosswire-devel] First upload - signing
Hi Roberto, A new package was uploaded that aims to fix the following: 1. Close the grave bug that prevented bibledit from entering testing. 2. Do the signing of the tags and of some of the commits (those that can be signed by hand, not by gbp). 3. Use the workflow through $ gbp. I am aware that some issues you mentioned are still to be looked into. These will be attended to in a subsequent package release. This package was uploaded in the sprit of making small improvement iterations, and releasing often. Teus. ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload - signing
On Fri, 23 Feb 2018 at 14:01 Roberto C. Sánchez wrote: > [...] Based on that, signing the > tag when importing a new .orig.tar.gz is sufficient. > > > Thank you for the information. This information opens the way forward to proceed with this. I had tried a lot of things to make "gbp import-orig" to sign the commits too, but none of that worked, and I was about to include a ".gitconfig" with the original tarball, if that would help, but won't proceed this way anymore. ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload - signing
On Fri, Feb 23, 2018 at 12:23:34PM +, Teus Benschop wrote: >While trying to sign the commits and the tags, I have learned that it is >important to make gpg-agent remember the passphrase for the private key. >If gpg-agent is not able to provide the passphrase, then signing the tags >fails while running "gbp import-orig" for importing a new upstream >tarball. >After fixing the above, I fail to make "gbp import-orig" to sign its >commits. It does sign the tags, but not the commits. Hi Teus, It appears that 'gbp import-orig' can sign tags but cannot sign commits. That is surprising to me, but given that it seems to be a limitation of the tool, I think that it is OK. The way that tagging in Git works, it would not be possible to retroactively change the history leading to a tagged commit without also altering the tag. Based on that, signing the tag when importing a new .orig.tar.gz is sufficient. The configuration you have for signing individual commits looks correct and should lead to every commit you make on master being signed, which is what we want. Regards, -Roberto -- Roberto C. Sánchez ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload - signing
While trying to sign the commits and the tags, I have learned that it is important to make gpg-agent remember the passphrase for the private key. If gpg-agent is not able to provide the passphrase, then signing the tags fails while running "gbp import-orig" for importing a new upstream tarball. After fixing the above, I fail to make "gbp import-orig" to sign its commits. It does sign the tags, but not the commits. Here is the series of commands about signing the commits: teus@sid:~/bibledit-gtk$ gbp import-orig --pristine-tar --sign-tags ../bibledit-*.tar.gz What is the upstream version? [5.0.449] gbp:info: Importing '../bibledit-5.0.449.tar.gz' to branch 'upstream'... gbp:info: Source package is bibledit gbp:info: Upstream version is 5.0.449 gbp:info: Replacing upstream source on 'master' gbp:info: Successfully imported version 5.0.449 of ../bibledit-5.0.449.tar.gz Signing the tags works okay: teus@sid:~/bibledit-gtk$ git show upstream/5.0.449 tag upstream/5.0.449 Tagger: Teus Benschop Date: Fri Feb 23 13:10:24 2018 +0100 Upstream version 5.0.449 -BEGIN PGP SIGNATURE- iQIzBAABCgAdFiEEher+5c8s1QBza9jekwIrrQVjpR0FAlqQBLAACgkQkwIrrQVj pR2mLg//R2/BmXwA4AQmEqCN844SjGdR9VEPTt6Wu/vzubMhfHtgk2Zf0DAU1xjA 3JX+RJJme66nUt+0jQODrmlHB5ED63W5TfKpt5J31jI7Dl1m2RPXOKo3mdyTHD2U dPWlbXY7s//07rEMwYvkEZ/+vxOQT7NxqZvXvIZwzIkrp42bJDngHMXjS3RLo4uS Signing the commits does not work: teus@sid:~/bibledit-gtk$ git log --show-signature -2 commit 609c8a0da7030777bb5d36d15fe83ccb23bd8694 (HEAD -> master) Merge: e795fa5 158dd38 Author: Teus Benschop Date: Fri Feb 23 13:10:24 2018 +0100 Update upstream source from tag 'upstream/5.0.449' Update to upstream version '5.0.449' with Debian dir cfe557425889462d9d747127d21de1e0a06ac832 commit 158dd385a6abc58dadb8e37a983f4da2525fa2ae (tag: upstream/5.0.449, upstream) Author: Teus Benschop Date: Fri Feb 23 13:06:35 2018 +0100 New upstream version 5.0.449 Yet, git has been configured to sign commits: teus@sid:~/bibledit-gtk$ git config --global commit.gpgsign true teus@sid:~/bibledit-gtk$ git config commit.gpgsign true teus@sid:~/bibledit-gtk$ It is possible to amend the last commit and sign it: git commit -S --amend But I cannot amend the one-but-last commit, so that commit is left unsigned. What would be the a correct way to fix this? ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
Hello Roberto, The initial try at this, to sign the commits and the tags, failed, as follows: gbp import-dsc --create-missing-branches --pristine-tar --git-sign-tags ../bibledit_*.dsc But of course, it was not "gbp buildpackage", but "gbp import-dsc" that's used. Then the next try was to follow http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/man.gbp.import.dsc.html : gbp import-dsc --create-missing-branches --pristine-tar --sign-tags --keyid=85EAFEE5CF2CD500736BD8DE93022BAD0563A51D ../bibledit_*.dsc This time it tried to sign, but failed to: gbp:error: Git command failed: Error running git tag: error: gpg failed to sign the data I am a bit in a hurry so didn't look for the solution to this, but have pushed to the repository just because a new package was uploaded to Debian, and pushing to the repository was needed to give information about the changes in this package. Wish I could solve this, but probably next time when there's more time. Teus. On Sat, 17 Feb 2018 at 09:49 Teus Benschop wrote: > I'll make a note of this so further commits will get signed. If it works > out well, and if the package generation script can do unattended signing, > probably it can.Thx Roberto! > ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
I'll make a note of this so further commits will get signed. If it works out well, and if the package generation script can do unattended signing, probably it can.Thx Roberto! ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
On Fri, Feb 16, 2018 at 05:29:07PM +, Teus Benschop wrote: >Yes, I certainly will push the changes to Git @ Alioth, as usual, for you >to be able to review the updated package. One other thing. I would like for us to start signing our commits and tags. You can configure git to sign commits with this: git config commit.gpgsign true Adjust the command if you would like to make that a global option (that is what I have done). Also, make sure to sign tags as well. If you tag directly with git, then the command would be 'git tag --sign ...' and if you tag with gbp then 'gbp buildpackage --git-sign-tags ...'. If you have more than one key, then you can specify your key that is in the Debian keyring with 'git config user.signingkey 0xdeadbeef'. Regards, -Roberto -- Roberto C. Sánchez ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
On Fri, Feb 16, 2018 at 05:29:07PM +, Teus Benschop wrote: >Thank you, Roberto, for sending the dcut command for giving me permission >to upload bibledit. You're welcome. >Yes, I certainly will push the changes to Git @ Alioth, as usual, for you >to be able to review the updated package. >Do you automatically receive mails when there's pushes made to that >repository? If that's the case, I don't need to send an extra mail to you >to notify you about the push. >Teus. I am subscribed to the commits mailing list for our Alioth project, so I get notifications when anything is pushed. I am not sure how that will work when we move to Salsa. Regards, -Roberto -- Roberto C. Sánchez ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
Thank you, Roberto, for sending the dcut command for giving me permission to upload bibledit. Yes, I certainly will push the changes to Git @ Alioth, as usual, for you to be able to review the updated package. Do you automatically receive mails when there's pushes made to that repository? If that's the case, I don't need to send an extra mail to you to notify you about the push. Teus. On Fri, 16 Feb 2018 at 18:20 Roberto C. Sánchez wrote: > On Fri, Feb 16, 2018 at 12:18:02PM -0500, Roberto C. Sánchez wrote: > > On Wed, Feb 14, 2018 at 03:08:19PM +, Teus Benschop wrote: > > > I will take a look at that later on today and I will let you know > when > > > it is complete. > > > > > >Thank you, bro! > > > > I got a bit caught up with my work and other issues. I have just > > completed the dcut command that should grant you permission to upload > > bibledit. > > > Though I would like to ask that you push your changes to the Git > repository on Alioth and give me a chance to review the updated package. > > Regards, > > -Roberto > > -- > Roberto C. Sánchez > > ___ > Pkg-crosswire-devel mailing list > Pkg-crosswire-devel@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel > ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
On Fri, Feb 16, 2018 at 12:18:02PM -0500, Roberto C. Sánchez wrote: > On Wed, Feb 14, 2018 at 03:08:19PM +, Teus Benschop wrote: > > I will take a look at that later on today and I will let you know when > > it is complete. > > > >Thank you, bro! > > I got a bit caught up with my work and other issues. I have just > completed the dcut command that should grant you permission to upload > bibledit. > Though I would like to ask that you push your changes to the Git repository on Alioth and give me a chance to review the updated package. Regards, -Roberto -- Roberto C. Sánchez ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
On Wed, Feb 14, 2018 at 03:08:19PM +, Teus Benschop wrote: > I will take a look at that later on today and I will let you know when > it is complete. > >Thank you, bro! I got a bit caught up with my work and other issues. I have just completed the dcut command that should grant you permission to upload bibledit. Regards, -Roberto -- Roberto C. Sánchez ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
> > I will take a look at that later on today and I will let you know when > it is complete. > > Thank you, bro! ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
On Wed, Feb 14, 2018 at 03:00:18PM +, Teus Benschop wrote: >Yes, that process completed fast, must faster than I expected. As you say, >it used to take much longer >What is needed, as you say, is that permission is given to upload through >dak. >When I quote from [1]https://wiki.debian.org/DebianMaintainer/Tutorial, it >is the "sponsor" who issues the dak command to grant permissions: >-- begin quote -- >Once you have your key in the debian-maintainers keyring, you will be able >to upload packages, where the following conditions hold: >* the package does not have to pass through the NEW queue >* the sponsor has sent a dak command allowing you to upload as described >in [2]http://lists.debian.org/debian-devel-announce/2012/09/msg8.html >-- end quote -- I will take a look at that later on today and I will let you know when it is complete. Regards, -Roberto -- Roberto C. Sánchez ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
Yes, that process completed fast, must faster than I expected. As you say, it used to take much longer What is needed, as you say, is that permission is given to upload through dak. When I quote from https://wiki.debian.org/DebianMaintainer/Tutorial, it is the "sponsor" who issues the dak command to grant permissions: -- begin quote -- Once you have your key in the debian-maintainers keyring, you will be able to upload packages, where the following conditions hold: * the package does not have to pass through the NEW queue * the sponsor has sent a dak command allowing you to upload as described in http://lists.debian.org/debian-devel-announce/2012/09/msg8.html -- end quote -- Blessings, Teus On Wed, 14 Feb 2018 at 15:06 Roberto C. Sánchez wrote: > On Wed, Feb 14, 2018 at 02:01:55PM +, Teus Benschop wrote: > >Hi Roberto, > >It is true that I need to complete the Debian New Maintainer Process, > and > >that then my key must be added to the Debian Maintainer key right. > >Both of these two things have been done already. > >Here is the link to the completed and approved Debian New Maintainers > >Process: > >[1]https://nm.debian.org/process/426 > >And here is the email I received saying that the key has been added > to the > >active DM keyring: > >-- Forwarded message - > >From: Jonathan McDowell via RT <[2]r...@rt.debian.org> > >Date: Wed, 24 Jan 2018 at 20:28 > >Subject: [[3]rt.debian.org #7055] Teus Benschop to become a Debian > >Maintainer > >To: <[4]n...@debian.org> > >Cc: <[5]archive-...@nm.debian.org>, <[6]teusjanne...@gmail.com> > >This key has now been added to the active DM keyring. > >-- end forwarded message --- > > Wow! That was fast. The process moves much more quickly now than it > did when I became a Debian Developer :-) > > It looks like you are right and that what is needed is for the archive > maintainers give you permissions through dak to upload bibledit. > > Regards, > > -Roberto > > -- > Roberto C. Sánchez > > ___ > Pkg-crosswire-devel mailing list > Pkg-crosswire-devel@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel > ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
On Wed, Feb 14, 2018 at 02:01:55PM +, Teus Benschop wrote: >Hi Roberto, >It is true that I need to complete the Debian New Maintainer Process, and >that then my key must be added to the Debian Maintainer key right. >Both of these two things have been done already. >Here is the link to the completed and approved Debian New Maintainers >Process: >[1]https://nm.debian.org/process/426 >And here is the email I received saying that the key has been added to the >active DM keyring: >-- Forwarded message - >From: Jonathan McDowell via RT <[2]r...@rt.debian.org> >Date: Wed, 24 Jan 2018 at 20:28 >Subject: [[3]rt.debian.org #7055] Teus Benschop to become a Debian >Maintainer >To: <[4]n...@debian.org> >Cc: <[5]archive-...@nm.debian.org>, <[6]teusjanne...@gmail.com> >This key has now been added to the active DM keyring. >-- end forwarded message --- Wow! That was fast. The process moves much more quickly now than it did when I became a Debian Developer :-) It looks like you are right and that what is needed is for the archive maintainers give you permissions through dak to upload bibledit. Regards, -Roberto -- Roberto C. Sánchez ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
Hi Roberto, It is true that I need to complete the Debian New Maintainer Process, and that then my key must be added to the Debian Maintainer key right. Both of these two things have been done already. Here is the link to the completed and approved Debian New Maintainers Process: https://nm.debian.org/process/426 And here is the email I received saying that the key has been added to the active DM keyring: -- Forwarded message - From: Jonathan McDowell via RT Date: Wed, 24 Jan 2018 at 20:28 Subject: [rt.debian.org #7055] Teus Benschop to become a Debian Maintainer To: Cc: , This key has now been added to the active DM keyring. -- end forwarded message --- When I read and interpret the information at https://lists.debian.org/debian-devel-announce/2012/09/msg8.html well, then the upload permission for one or more packages is described there, and also at https://wiki.debian.org/DebianMaintainer/Tutorial. If I receive this permission through the "dak" command, I believe, then I should just be able to upload the packages I have received permission for through that "dak" command. Or am I reading or interpreting this information not in a correct way? Teus. ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
On Wed, Feb 14, 2018 at 01:27:52PM +, Teus Benschop wrote: >If I had waited an hour or so, I could have answered my own question - >duh! :) >The answer lies in the followup message from the Debian FTP Masters: >ACL dm: not allowed to upload source package 'bibledit' >The Debian Wiki >at [1]https://wiki.debian.org/DebianMaintainer/Tutorial says that >permission for a maintainer to upload can be set through a "dak" command. >As described >in > [2]https://lists.debian.org/debian-devel-announce/2012/09/msg8.html. >Could it be that this dak command would resolve the upload permission >issue? >Teus. > Hi Teus, Your key must first be added to the keyring and then you must be granted upload permissions for the package(s) you will be uploading. However, for your key to be added to the keyring, you must complete the Debian New Maintainer process. I will look at your changes as soon as I can and sponsor your upload. Regards, -Roberto -- Roberto C. Sánchez ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel
Re: [Pkg-crosswire-devel] First upload
If I had waited an hour or so, I could have answered my own question - duh! :) The answer lies in the followup message from the Debian FTP Masters: ACL dm: not allowed to upload source package 'bibledit' The Debian Wiki at https://wiki.debian.org/DebianMaintainer/Tutorial says that permission for a maintainer to upload can be set through a "dak" command. As described in https://lists.debian.org/debian-devel-announce/2012/09/msg8.html. Could it be that this dak command would resolve the upload permission issue? Teus. ___ Pkg-crosswire-devel mailing list Pkg-crosswire-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-crosswire-devel