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

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
20/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
backend

Research direction

Start with drush_shell_exec() and the linked pull request, using the referenced Drush API documentation to understand the documented $cmd parameter. Compare the proposed behavior for repository URLs containing %20 and verify that new releases are found.

Written by the indexing model from the issue text.

Description

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.

Dominant language
PHP
Stars
46
Forks
14
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/FeatureServer

All issues in developmentseed/FeatureServer

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.