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, short=False) source code
 
get_srpm_build_record(task) source code
 
pending_action()
Return a single action.
source code
 
pending_actions()
get the list of actions backand should take care of
source code
 
get_action(action_id) source code
 
pending_action_count()
Return pending action count.
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
 
chroots_prunerepo_status() source code
 
final_prunerepo_done() 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_actions()

source code 

get the list of actions backand should take care of

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

get_action(action_id)

source code 
Decorators:
  • @backend_ns.route("/action//")

pending_action_count()

source code 

Return pending action count.

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

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

chroots_prunerepo_status()

source code 
Decorators:
  • @backend_ns.route("/chroots-prunerepo-status/")

final_prunerepo_done()

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