Skip to content

Commit

Permalink
Skip TODO descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jan 31, 2017
1 parent ecab3ca commit 96f00af
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion framework/bin/horde-git-split-all
Expand Up @@ -99,10 +99,15 @@ foreach ($directories as $dir) {
if (file_exists($xml)) {
$pear = new Horde_Pear_Package_Xml($xml);
$description = $pear->getSummary();
file_put_contents($target . '/description', $description);
if ($description == 'TODO') {
$description = '';
}
} else {
$description = '';
}
if ($description) {
file_put_contents($target . '/description', $description);
}
$response = $client->post(
$api . '/repos',
json_encode(array(
Expand Down

0 comments on commit 96f00af

Please sign in to comment.