github::ActivityMonitor method queue_backfill (protected)

 <instance of github::ActivityMonitor[i]> queue_backfill jobsVar \
    repo branch revision

Defined in packages/xowiki/tcl/github-activity-monitor-procs.tcl

Parameters:
jobsVar (required)
repo (required)
branch (required)
revision (required)

Testcases:
No testcase defined.
Source code:
upvar 1 $jobsVar jobs
if {![:branch_enabled $branch]} {return}
set key [list $repo $branch]
# Preserve progress on a pinned revision. A newer head will be
# discovered on the next reconciliation after this job completes.
if {![dict exists $jobs $key]} {
    set heads [:get_state reconciled_branch_heads {}]
    set base ""
    if {[dict exists $heads $key]} {
        set base [dict get $heads $key]
    }
    dict set jobs $key [dict create revision $revision next_page 1 base $base since [:recent_since]]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: