Inaccurate install instructions in the README, not possible to run `gh attestation` unauthenticated
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 66/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, github, php
调研方向
一行安装命令位于 README 的安装部分,因此请从那里开始,找到 gh attestation verify 步骤。在没有 GITHUB_TOKEN 且没有执行 gh auth login 的情况下运行该命令,以复现故障。完成的标准是:README 在一行命令旁记录了身份验证要求,或提供了可用的免认证途径,并且维护者就采用哪一种达成一致。
由索引模型根据 Issue 内容生成。
描述
What are you trying to do?
Install pie in a Docker using the oneliner from the README.
What platform, and PIE version are you using?
Not relevant?
Steps to reproduce the issue
curl -fL --output /tmp/pie.phar https://github.com/php/pie/releases/latest/download/pie.phar \
&& gh attestation verify --owner php /tmp/pie.phar \
&& sudo mv /tmp/pie.phar /usr/local/bin/pie \
&& sudo chmod +x /usr/local/bin/pie
What do you expect to happen?
Pie being downloaded, attestation to be verified and then have pie moved to my path and made executable.
What is actually happening
The oneliner fails as gh attestation requires either a valid GITHUB_TOKEN to be present or a successful gh auth login to happen before attempting to install.
Complete logs/output
# curl -fL --output /tmp/pie.phar https://github.com/php/pie/releases/latest/download/pie.phar \
> && gh attestation verify --owner php /tmp/pie.phar \
> && sudo mv /tmp/pie.phar /usr/local/bin/pie \
> && sudo chmod +x /usr/local/bin/pie
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0
100 8.52M 100 8.52M 0 0 14.96M 0 0
To get started with GitHub CLI, please run: gh auth login
Alternatively, populate the GH_TOKEN environment variable with a GitHub API authentication token.
/ # gh --version
gh version 2.97.0 (2026-09-04)
https://github.com/cli/cli/releases/tag/v2.97.0
- 主要语言
- PHP
- 星标
- 2k
- 派生
- 75
- 平均合并
- 19 小时
- 30 天内合并 PR
- 16
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
php/pie 的其他 Issue
-
Do not duplicate an ext in pie show output for dev versions可能已有人在做 @asgrim 于 13 天前认领。 未关闭enhancement maintainer investigating
维护者通常 1 天内回复
-
Add self-update feature for executable PIEs可能已有人在做 @asgrim 于 24 天前认领。 未关闭enhancement maintainer investigating
维护者通常 1 天内回复
-
Allow building from existing sources on disk可能已有人在做 @asgrim 于 24 天前认领。 未关闭enhancement maintainer investigating
php/pie#738 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Optionally remove build-only dependencies and bloat after install可能重新可做 @asgrim 于 146 天前认领,目前没有进行中的 PR。 未关闭enhancement maintainer investigating
php/pie#618 · 2 条评论 · 4 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
Display number of downloads/stars when results are shown可能重新可做 @asgrim 于 173 天前认领,目前没有进行中的 PR。 未关闭enhancement maintainer investigating
php/pie#592 · 1 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
needs-triage Platform(Default)
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
Feature-Request
难度 2/5 1-3 小时 新手友好度 65/100
RSS-Bridge/rss-bridge#5123 ·
维护者通常 1 天内回复
-
[Store] RstLoader detects headings inside indented code blocks可能已有人在做 @lazerg 今天认领。 未关闭Bug Status: Needs Review Store
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
bug repo:ckeditor
难度 2/5 1-3 小时 新手友好度 78/100
-
No Code Attached Yet
难度 2/5 1-3 小时 新手友好度 72/100
joomla/joomla-cms#48611 ·
维护者通常 1 天内回复