When a project has spaces (%20) in its repository url, there are no new releases found.

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

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
20/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
php
领域
backend

调研方向

从 drush_shell_exec() 和链接的 pull request 开始,使用所引用的 Drush API 文档来了解文档中说明的 $cmd 参数。比较针对包含 %20 的仓库 URL 所提出的行为,并验证是否能找到新的 releases。

由索引模型根据 Issue 内容生成。

描述

This is because drush_shell_exec() parses the arguments through sprintf. So when sprintf encounters %20 in the command string, it looks for the 20th argument which is obviously not there ;-).

Also see the drush api documenation on http://drupalcontrib.org/api/drupal/contributions--drush--includes--exec.inc/function/drush_shell_exec/7 which documents the parameter $cmd.

I submitted a pull-request which solves this: https://github.com/developmentseed/FeatureServer/pull/15.

主要语言
PHP
星标
46
派生
14
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

developmentseed/FeatureServer 的其他 Issue

查看 developmentseed/FeatureServer 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

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