Lucas Nussbaum escreveu isso aí: > On 04/04/11 at 10:34 -0700, Antonio Terceiro wrote: > > Lucas Nussbaum escreveu isso aí: > > > > We still need to update the tracking UDD scripts to ignore the > > > > transitional packages in migrated packages. > > > > > > I'll do that when the packages are accepted, so there's a way to test > > > that it works. > > > > Great. > > > > What do you think of centralizing all this transition tracking code on > > http://git.debian.org/?p=pkg-ruby-extras/wheezy-transition-tracker.git;a=summary > > ? > > I'll do that too, yes. ok, great. :) Please note that the json thing does not work when you open index.html as a local file; you'll need to access the site through an actual web server. I use the attached script to start a lighttpd instance with the current directory as www root, but working under your ~/public_html/ with most webservers should work as well. -- Antonio Terceiro <terceiro@softwarelivre.org> http://softwarelivre.org/terceiro
#!/bin/sh port=8080 use_php=false create_config() { current_dir=$(pwd) cat > "$1" <<-EOF server.document-root = "$current_dir" server.port = $port include_shell "/usr/share/lighttpd/create-mime.assign.pl" dir-listing.encoding = "utf-8" server.dir-listing = "enable" EOF if [ "$use_php" = 'true' ]; then echo 'include "/etc/lighttpd/conf-available/10-fastcgi.conf"' >> "$1" echo 'include "/etc/lighttpd/conf-available/15-fastcgi-php.conf"' >> "$1" echo 'index-file.names = ("index.php", "index.html", "index.htm")' >> "$1" else echo 'index-file.names = ("index.html", "index.htm")' >> "$1" fi } run() { conffile="$1" echo "I: Go to: http://localhost:$port/" echo "I: Hit Control+C to stop" echo "" /usr/sbin/lighttpd -f "$conffile" -D } conffile=$(mktemp) for opt in $@; do case "$opt" in --php) use_php=true ;; *) echo "Invalid option: $opt" exit 1 ;; esac done create_config "$conffile" run "$conffile" rm -f "$conffile"
Attachment:
signature.asc
Description: Digital signature