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; ...@@ -30,6 +30,7 @@ $page = 1;
stream_set_blocking(STDIN, 0); stream_set_blocking(STDIN, 0);
do { do {
echo "# Querying page {$page} of tickets from trac\n"
$query = "{$config['trac-query']}&page={$page}&max={$step_size}"; $query = "{$config['trac-query']}&page={$page}&max={$step_size}";
try { try {
$ticket_ids = $trac_client->execute('ticket.query', [$query]); $ticket_ids = $trac_client->execute('ticket.query', [$query]);
...@@ -37,7 +38,6 @@ do { ...@@ -37,7 +38,6 @@ do {
$ticket_ids = []; $ticket_ids = [];
} }
foreach ($ticket_ids as $ticket_id) { foreach ($ticket_ids as $ticket_id) {
while ($c = fgetc(STDIN)) { while ($c = fgetc(STDIN)) {
if ($c === 'q') { if ($c === 'q') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment