[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: .cvsignore



  User: ahvezda 
  Date: 06/08/21 22:56:11

  Modified:    .        Makefile.am postproc.sh wikifetch.sh
  Added:       .        .cvsignore wikicommit.sh
  Log:
  First checkin of the wiki snapshot, prep work for new version of gEDA/gaf
  
  
  
  
  Revision  Changes    Path
  1.2       +2 -2      eda/geda/gaf/docs/scripts/Makefile.am
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/docs/scripts/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Makefile.am	15 Aug 2006 03:20:43 -0000	1.1
  +++ Makefile.am	22 Aug 2006 02:56:11 -0000	1.2
  @@ -1,7 +1,7 @@
  -## $Id: Makefile.am,v 1.1 2006/08/15 03:20:43 ahvezda Exp $
  +## $Id: Makefile.am,v 1.2 2006/08/22 02:56:11 ahvezda Exp $
   ##
   
  -EXTRA_DIST = postproc.sh wikifetch.sh
  +EXTRA_DIST = postproc.sh wikifetch.sh wikicommit.sh
   
   MOSTLYCLEANFILES =	*.log *~
   CLEANFILES = 		*.log *~
  
  
  
  1.2       +20 -2     eda/geda/gaf/docs/scripts/postproc.sh
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: postproc.sh
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/docs/scripts/postproc.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- postproc.sh	15 Aug 2006 03:20:43 -0000	1.1
  +++ postproc.sh	22 Aug 2006 02:56:11 -0000	1.2
  @@ -1,5 +1,12 @@
   #!/bin/sh
   
  +if [ ! -e "geda_faq.html" ]
  +then
  +	echo "You must start this program in the toplevel wiki directory"
  +	echo "wherever geda_faq.html lives."
  +	exit 1
  +fi
  +
   files=`find . -name \*.html -print`
   
   for i in $files
  @@ -8,8 +15,19 @@
   	mv -f $i $i.old
   	cat $i.old | sed '/\<script type/d' > $i
   
  +	rm -f $i.old
  +
   	mv -f $i $i.old2
  +	isdetail=`echo $i | grep _detail`
  +	if [ "$isdetail" = "" ] 
  +	then
   	cat $i.old2 | sed 's%media="screen" type="text/css" href="http://geda.seul.org/wiki/lib/exe/css.php"%media="screen"; type="text/css" href="lib/exe/css"%g' | sed 's%media="print" type="text/css" href="http://geda.seul.org/wiki/lib/exe/css.php?print=1"%media="print"; type="text/css" href="lib/exe/001css"%g' > $i
  -done
  +	else
  +		cat $i.old2 | sed 's%media="screen" type="text/css" href="http://geda.seul.org/wiki/lib/exe/css.php"%media="screen"; type="text/css" href="../lib/exe/css"%g' | sed 's%media="print" type="text/css" href="http://geda.seul.org/wiki/lib/exe/css.php?print=1"%media="print"; type="text/css" href="../lib/exe/001css"%g' > $i
  +	fi
   
   
  +	rm -f $i.old2
  +
  +done
  +
  
  
  
  1.2       +19 -14    eda/geda/gaf/docs/scripts/wikifetch.sh
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: wikifetch.sh
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/docs/scripts/wikifetch.sh,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- wikifetch.sh	15 Aug 2006 03:20:43 -0000	1.1
  +++ wikifetch.sh	22 Aug 2006 02:56:11 -0000	1.2
  @@ -1,34 +1,39 @@
   #!/bin/bash
  +
   #
   # Retrieve wiki pages as html pages, creating a local tree of documents
   # mirroring the original wiki structure. Wiki URLs are converted to local
   # directories/filenames based on namespace/wiki-page naming conventions.
   #
   # Check calling arguments.
  -if [ $# -ne 1 ] ; then
  -  echo " "
  -  echo " Error: Incorrect arguments"
  -  echo " "
  -  echo "   Usage:  sh pavuk.sh {wiki's URL}"
  -  echo "   where: (wiki's URL}       -- The URL of the wiki's start page"
  -  echo "                                (e.g., http://geda.seul.org/wiki)."
  -  echo " "
  +
  +# website to fetch
  +site=http://geda.seul.org/wiki
  +
  +if [ ! -d ../wip ]
  +then
  +	mkdir ../wip
  +fi
  +
  +if [ ! -d ../wip ]
  +then
  +	echo "cannot create wip directory"
     exit 1
   fi
   
   # 
  -pavuk -logfile /tmp/pavuk/pavuk_logfile.txt \
  -      -slogfile /tmp/pavuk/pavuk_slogfile.txt \
  -      -cdir /tmp/pavuk \
  +pavuk -logfile ../wip/pavuk_logfile.txt \
  +      -slogfile ../wip/pavuk_slogfile.txt \
  +      -cdir ../wip \
         -dont_leave_site \
         -noRobots \
         -index_name "index.html" \
         -httpad "+X_DOKUWIKI_DO: export_xhtml" \
  -      -cookie_file /tmp/pavuk/cookies.txt \
  +      -cookie_file ../wip/cookies.txt \
         -cookie_send \
         -url_pattern http://geda.seul.org/wiki/\* \
         -skip_rpattern "(.*\?do=(diff|revisions|backlink|index|export_.*))|feed\.php.*" \
         -tr_chr_chr "?&*:" _ \
         -post_update \
  -      -fnrules F "*" "%h/%d/%b%E" "$1"
  +      -fnrules F "*" "%h/%d/%b%E" "$site"
   
  
  
  
  1.1                  eda/geda/gaf/docs/scripts/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  Makefile
  Makefile.in
  *.aux
  *.dvi
  *.log
  *.toc
  *.ps
  *.pdf
  *.out
  
  
  
  1.1                  eda/geda/gaf/docs/scripts/wikicommit.sh
  
  Index: wikicommit.sh
  ===================================================================
  #!/bin/sh
  
  files=`find . -name \* -print | grep -v CVS | grep -v Makefile | sed "s%^\./%%" | sed "s%^\.%%"`
  
  for i in $files
  do
  	image=`file $i | grep -i image`
  
  	if [ "$image" != "" ]
  	then
  		cvs add -kb $i
  	else
  		cvs add $i
  	fi
  done
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs