Skip to content
Snippets Groups Projects
Commit b9a64c93 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

add querying page message

parent 2cac4871
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ $page = 1;
stream_set_blocking(STDIN, 0);
do {
echo "# Querying page {$page} of tickets from trac\n"
$query = "{$config['trac-query']}&page={$page}&max={$step_size}";
try {
$ticket_ids = $trac_client->execute('ticket.query', [$query]);
......@@ -37,7 +38,6 @@ do {
$ticket_ids = [];
}
foreach ($ticket_ids as $ticket_id) {
while ($c = fgetc(STDIN)) {
if ($c === 'q') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment