Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18585

Update release instructions involving gpg-agent

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • build, documentation
    • None

    Description

      Could be what I ran into is hyper-local, but making a note here none the less. For the build of 1.1.12RC0, I stumbled into MGPG-59. Presumably this is because of an graded version of gpg-agent. The release build takes some time, such that even if you purse the advice of invoking gpg before starting the build, the default config expires before the build finished on my machine. I haven't tested this out yet, but a solution appears to look something like

      1. configure gpg-agent with a longer value for default-cache-ttl in $HOME/.gnupg/gpg-agent.conf.
      2. invoke gpg such that the agent will cache the passphrase. MGPG-59 suggests signing some random file.
      3. run ./dev-support/make_release.sh as normal.

      My context:

      diocles:~ ndimiduk$ sw_vers
      ProductName:    Mac OS X
      ProductVersion: 10.11.6
      BuildVersion:   15G1611
      diocles:~ ndimiduk$ gpg-agent --version
      gpg-agent (GnuPG) 2.1.23
      libgcrypt 1.8.0
      Copyright (C) 2017 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ndimiduk Nick Dimiduk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: