Index: openacs-4/packages/acs-admin/www/apm/build-repository.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/Attic/build-repository.tcl,v diff -u -N --- openacs-4/packages/acs-admin/www/apm/build-repository.tcl 15 Jan 2007 07:53:00 -0000 1.17 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,308 +0,0 @@ -ad_page_contract { - Build package repository. - - @cvs-id $Id: build-repository.tcl,v 1.17 2007/01/15 07:53:00 gustafn Exp $ - @author Lars Pind (lars@collaboraid.biz) -} - -# TODO: Build repository in temp dir, then rename - -#---------------------------------------------------------------------- -# Configuration Settings -#---------------------------------------------------------------------- - -set cvs_command "cvs" -set cvs_root ":pserver:anonymous@cvs.openacs.org:/cvsroot" - -set work_dir "[acs_root_dir]/repository-builder/" - -set repository_dir "[acs_root_dir]/www/repository/" -set repository_url "http://openacs.org/repository/" - -set channel_index_template "/packages/acs-admin/www/apm/repository-channel-index" -set index_template "/packages/acs-admin/www/apm/repository-index" - -# this shouldn't be necessary because I removed the openacs-5-0-compat tags -# from these packages -#set exclude_package_list { cms cms-news-demo glossary site-wide-search spam library } -set exclude_package_list {} -set head_channel "5-3" - -# Set this to 1 to only checkout sample packages -- useful for debugging and testing -set debug_p 0 - -#---------------------------------------------------------------------- -# Prepare output -#---------------------------------------------------------------------- - -ReturnHeaders -ns_write [ad_header "Building repository"] -ns_write "

Building Package Repository


" -ns_write \n" - - -#---------------------------------------------------------------------- -# Read all package .info files, building manifest file -#---------------------------------------------------------------------- - -# Wipe and re-create the working directory -file delete -force $work_dir -file mkdir ${work_dir} -cd $work_dir - -foreach channel [lsort -decreasing [array names channel_tag]] { - ns_write "

Channel $channel using tag $channel_tag($channel)

\n" - -} - -ns_write "

Finishing Repository

DONE

\n" Index: openacs-4/packages/acs-admin/www/apm/package-scan.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/package-scan.tcl,v diff -u -N --- openacs-4/packages/acs-admin/www/apm/package-scan.tcl 10 Sep 2002 22:21:59 -0000 1.3 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,28 +0,0 @@ -ad_page_contract { - Scans the packages directory for new or modified packages. - @author Jon Salz [jsalz@arsdigita.com] - @creation-date 17 April 2000 - @cvs-id $Id: package-scan.tcl,v 1.3 2002/09/10 22:21:59 jeffd Exp $ -} { -} - -# A callback to just write an item to the connection. -proc apm_register_new_packages_callback { message } { - doc_body_append "$message
  • \n" - doc_body_flush -} - -doc_body_append "[apm_header "Scan Packages"] - - -Return to the Package Manager - -[ad_footer] -" \ No newline at end of file