repository_log_to_db (public)
repository_log_to_db
Defined in packages/acs-admin/tcl/apm-admin-init.tcl
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set ip [ns_conn peeraddr] set user_id [ad_conn user_id] set url [ns_conn url] if {[regexp {^/repository/([^/]+)/(.*)-([^-]+).apm$} [ns_conn url] _ channel package version]} { ::xo::dc dml record_package_download "insert into apm_package_downloads(time, ip, user_id, channel, package, version, url) values (now(), :ip, :user_id, :channel, :package, :version, :url)" }XQL Not present: Generic, PostgreSQL, Oracle