Lintian reports php-wpcli_2.9.0_all.deb has two errors

未关闭
#593 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
php, shell
领域
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 内容生成。

描述

scope:distribution
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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

wp-cli/wp-cli-bundle 的其他 Issue

查看 wp-cli/wp-cli-bundle 的全部 Issue

相似的 Issue

更多 Build System Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。