download_repository_id (public)

 download_repository_id [ package_id ] [ do_redirect ]

Defined in packages/download/tcl/download-procs.tcl

Get repository_id mounted for package_id.

Parameters:
package_id (optional)
do_redirect (optional, defaults to "1")

Partial Call Graph (max 5 caller/called nodes):
%3 packages/download/www/admin/report-by-ip.tcl packages/download/ www/admin/report-by-ip.tcl download_repository_id download_repository_id packages/download/www/admin/report-by-ip.tcl->download_repository_id packages/download/www/admin/report-by-user.tcl packages/download/ www/admin/report-by-user.tcl packages/download/www/admin/report-by-user.tcl->download_repository_id packages/download/www/admin/report-one-ip.tcl packages/download/ www/admin/report-one-ip.tcl packages/download/www/admin/report-one-ip.tcl->download_repository_id packages/download/www/admin/report-one-user.tcl packages/download/ www/admin/report-one-user.tcl packages/download/www/admin/report-one-user.tcl->download_repository_id packages/download/www/admin/report-version-downloads.tcl packages/download/ www/admin/report-version-downloads.tcl packages/download/www/admin/report-version-downloads.tcl->download_repository_id download_repository_info download_repository_info (public) download_repository_id->download_repository_info

Testcases:
No testcase defined.
Source code:
    array set repository [download_repository_info $package_id $do_redirect]
    return $repository(repository_id)
Generic XQL file:
packages/download/tcl/download-procs.xql

PostgreSQL XQL file:
packages/download/tcl/download-procs-postgresql.xql

Oracle XQL file:
packages/download/tcl/download-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: