Package coprs :: Package views :: Package backend_ns :: Module backend_general
[hide private]
[frames] | no frames]

Module backend_general

source code

Functions [hide private]
 
dist_git_importing_queue()
Return list of builds that are waiting for dist-git to import the sources.
source code
 
dist_git_upload_completed() source code
 
get_build_record(task) source code
 
get_srpm_build_record(task) source code
 
pending_action()
Return a single action.
source code
 
pending_jobs()
Return the job queue.
source code
 
get_build_task(task_id) source code
 
get_srpm_build_task(build_id) source code
 
update() source code
 
starting_build()
Check if the build is not cancelled and set it to starting state
source code
 
reschedule_all_running() source code
 
reschedule_build_chroot() source code
Variables [hide private]
  log = logging.getLogger(__name__)
Function Details [hide private]

dist_git_importing_queue()

source code 

Return list of builds that are waiting for dist-git to import the sources.

Decorators:
  • @backend_ns.route("/importing/")

dist_git_upload_completed()

source code 
Decorators:
  • @backend_ns.route("/import-completed/", methods= ["POST", "PUT"])
  • @misc.backend_authenticated

pending_action()

source code 

Return a single action.

Decorators:
  • @backend_ns.route("/pending-action/")

pending_jobs()

source code 

Return the job queue.

Decorators:
  • @backend_ns.route("/pending-jobs/")

get_build_task(task_id)

source code 
Decorators:
  • @backend_ns.route("/get-build-task/")

get_srpm_build_task(build_id)

source code 
Decorators:
  • @backend_ns.route("/get-srpm-build-task/")

update()

source code 
Decorators:
  • @backend_ns.route("/update/", methods= ["POST", "PUT"])
  • @misc.backend_authenticated

starting_build()

source code 

Check if the build is not cancelled and set it to starting state

Decorators:
  • @backend_ns.route("/starting_build/", methods= ["POST", "PUT"])
  • @misc.backend_authenticated

reschedule_all_running()

source code 
Decorators:
  • @backend_ns.route("/reschedule_all_running/", methods= ["POST", "PUT"])
  • @misc.backend_authenticated

reschedule_build_chroot()

source code 
Decorators:
  • @backend_ns.route("/reschedule_build_chroot/", methods= ["POST", "PUT"])
  • @misc.backend_authenticated