Lintian reports php-wpcli_2.9.0_all.deb has two errors
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- build-system, cli
调研方向
Start with utils/wp-cli-updatedeb.sh and inspect how it builds php-wpcli_2.9.0_all.deb and declares package dependencies. Run the script and lintian on the generated package, then verify that the obsolete-package, PHP CLI dependency, and bin/sbin mismatch reports are resolved.
由索引模型根据 Issue 内容生成。
描述
user@ubuntu:~/wp-cli-bundle$ utils/wp-cli-updatedeb.sh
...
E: php-wpcli: depends-on-obsolete-package Depends: mysql-client => default-mysql-client
E: php-wpcli: php-script-but-no-php-cli-dep php (does not satisfy php-cli:any) [usr/bin/wp]
X: php-wpcli: bin-sbin-mismatch usr/bin/wp bin/wp -> usr/bin/wp
sign it: dpkg-sig -k SIGNING-KEY -s builder "/home/user/wp-cli-bundle/php-wpcli_2.9.0_all.deb"
include in your repo: pushd /var/www/REPO-DIR
reprepro includedeb jessie "/home/user/wp-cli-bundle/php-wpcli_2.9.0_all.deb" && popd
user@ubuntu:~/wp-cli-bundle$ lintian php-wpcli_2.9.0_all.deb
E: php-wpcli: depends-on-obsolete-package Depends: mysql-client => default-mysql-client
E: php-wpcli: php-script-but-no-php-cli-dep php (does not satisfy php-cli:any) [usr/bin/wp]
- 主要语言
- Gherkin
- 星标
- 90
- 派生
- 34
- 平均合并
- 3 小时 19 分钟
- 30 天内合并 PR
- 18
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wp-cli/wp-cli-bundle 的其他 Issue
-
bug scope:documentation status:unconfirmed
难度 2/5 1-3 小时 新手友好度 68/100
wp-cli/wp-cli-bundle#1140 ·
-
scope:distribution
难度 4/5 3-5 天 新手友好度 35/100
wp-cli/wp-cli-bundle#134 · 7 条评论 · 1 个 reaction ·
查看 wp-cli/wp-cli-bundle 的全部 Issue
相似的 Issue
-
comp/dashboard P3 type/bug
难度 2/5 1-3 小时 新手友好度 86/100
NousResearch/hermes-agent#117722 ·
-
Needs Design Priority: Wishlist
难度 2/5 1-3 小时 新手友好度 84/100
elementary/flatpak-platform#253 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
objectionary/hone-maven-plugin#1060 ·
-
0.kind: build failure
难度 2/5 1-3 小时 新手友好度 74/100
-
package-update
难度 2/5 1-3 小时 新手友好度 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 条评论 ·