php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #53211 Missing command-line option in Pyrus to prevent signing
Submitted: 2010-10-30 23:57 UTC Modified: 2010-10-31 11:29 UTC
From: clicky at erebot dot net Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: Irrelevant OS: Ubuntu 10.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: clicky at erebot dot net
New email:
PHP Version: OS:

 

 [2010-10-30 23:57 UTC] clicky at erebot dot net
Description:
------------
I configured my Pyrus installation so that it will use a certificate to sign packages I produce.
The problem is, I now have a buildbot using the same user account which builds nightly snapshots of my code as unsigned packages too.
Whenever the slave starts the packaging process, Pyrus prompts it to choose whether the package should be signed or not. Since the slave has no way to answer that prompt, it just sits there, until the timeout for the task is reached, at which point pyrus gets killed.

I know a simple workaround would be to use different user accounts with different Pyrus installations (configurations), but I think it would be valuable to have a command-line option to accept/refuse package signing.

Test script:
---------------
$ pyrus.phar package --sign=no --phar --tgz

Expected result:
----------------
Pyrus should build the phar & tgz archives without prompting the user whether a signature should be used or not.

Actual result:
--------------
Pyrus asks me whether I want a signature to be added or not:

Sign package?
Please choose:
  yes
  no
[yes] : 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-31 02:49 UTC] pajoye@php.net
-Status: Open +Status: Bogus
 [2010-10-31 02:49 UTC] pajoye@php.net
Please report pyrus bugs to the pyrus bugs tracker.
 [2010-10-31 11:29 UTC] clicky at erebot dot net
That's what I thought at first, but I could not find a link to said tracker on pear's website and the general pear bug tracker doesn't list "pyrus" as a valid package.

I'll try asking the pear folks on IRC to point me to the right URL.
Thank you for your time.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 09:01:32 2024 UTC