Recent Changes - Search:

Main (edit)

AdaWikiRing

Skin

RSS Feeds

SourceForge.net Logo


Edit Sidebar

HowTo/Manage the PmWiki Documentation

Setup

To setup - for example after a fatal error - read:

http://www.pmwiki.com/wiki/Cookbook/SourceForgeServers(approve sites)

Wiki_Commit_CVS.bash

Commit currend data into cvs archive. That way we allways have a quick access backup.

 
#!/bin/bash

pushd /work/martin/BC/pmwiki
   cvs -q add wiki.d/*.*
   cvs -q commit -m"Yet another automated Wiki Download commit.";
popd

pushd /work/martin/wikibook-ada/pmwiki
   cvs -q add wiki.d/*.*
   cvs -q commit -m"Yet another automated Wiki Download commit.";
popd

pushd /work/martin/adacl_95/adacl/Document
   cvs -q add wiki.d/*.*
   cvs -q commit -m"Yet another automated Wiki Download commit.";
popd

pushd /work/gnu_4.1/asis/Document
   cvs -q add wiki.d/*.*
   cvs -q commit -m"Yet another automated Wiki Download commit.";
popd

pushd /work/gnu_4.1/glade/Document
   cvs -q add wiki.d/*.*
   cvs -q commit -m"Yet another automated Wiki Download commit.";
popd

pushd /work/gnu_4.1/florist/Document
   cvs -q add wiki.d/*.*
   cvs -q commit -m"Yet another automated Wiki Download commit.";
popd

 

Wiki_Download.bash

Download changes made to the wiki from the /tmp/persistent directory. This must be done often - There had been at least one incident were /tmp/persistent directory was deleted.

 
#!/bin/bash

pushd /work/martin/BC/pmwiki
   scp -p -r -C "krischik@booch95.sourceforge.net:/tmp/persistent/booch95/*" "./";
popd

pushd /work/martin/wikibook-ada/pmwiki
   scp -p -r -C "krischik@wikibook-ada.sourceforge.net:/tmp/persistent/wikibook-ada/*" "./";
popd

pushd /work/martin/adacl_95/adacl/Document
   scp -p -r -C "krischik@adacl.sourceforge.net:/tmp/persistent/adacl/*" "./";
popd

pushd /work/gnu_4.1/asis/Document
   scp -p -r -C "krischik@gnat-asis.sourceforge.net:/tmp/persistent/gnat-asis/*" "./";
popd

pushd /work/gnu_4.1/glade/Document
   scp -p -r -C "krischik@gnat-glade.sourceforge.net:/tmp/persistent/gnat-glade/*" "./";
popd

pushd /work/gnu_4.1/florist/Document
  scp -p -r -C "krischik@gnat-florist.sourceforge.net:/tmp/persistent/gnat-florist/*" "./";
popd

 

Wiki_Edit_Config.bash

 
#!/bin/bash

gvim  /work/martin/adacl_95/adacl/Document/local/config.php     \
      /work/martin/wikibook-ada/pmwiki/local/config.php         \
      /work/martin/BC/pmwiki/local/config.php                   \
      /work/gnu_4.1/asis/Document/local/config.php              \
      /work/gnu_4.1/glade/Document/local/config.php             \
      /work/gnu_4.1/florist/Document/local/config.php

 

Wiki_Import_CVS.bash

 
#!/bin/bash

declare Dir=/work/pmwiki-2.0.13
declare Vendor=PmWiki
declare Release=pmwiki-2_0_13
declare Message='"Import pmwiki-2.0.13"'

pushd ${Dir}

   eval cvs  -d :ext:krischik@cvs.sourceforge.net:/cvsroot/BC           import -m ${Message} pmwiki/.         ${Vendor} ${Release}
   eval cvs  -d :ext:krischik@cvs.sourceforge.net:/cvsroot/wikibook-ada import -m ${Message} pmwiki/.         ${Vendor} ${Release}
   eval cvs  -d :ext:krischik@cvs.sourceforge.net:/cvsroot/adacl        import -m ${Message} adacl/Document/. ${Vendor} ${Release}
   eval cvs  -d :ext:krischik@cvs.sourceforge.net:/cvsroot/gnat-asis    import -m ${Message} Document/.       ${Vendor} ${Release}
   eval cvs  -d :ext:krischik@cvs.sourceforge.net:/cvsroot/gnat-glade   import -m ${Message} Document/.       ${Vendor} ${Release}
   eval cvs  -d :ext:krischik@cvs.sourceforge.net:/cvsroot/gnat-florist import -m ${Message} Document/.       ${Vendor} ${Release}

popd

pushd /work/martin/wikibook-ada/pmwiki;
   cvs -q update -j ${Release};
popd;
 

Wiki_Update_All_CVS.bash

 
#!/bin/bash

pushd /work/HomePage/krischik.com
   cvs -q update -P -d;
popd

pushd /work/martin/BC 
   cvs -q update -P -d;
popd

pushd /work/martin/wikibook-ada
   cvs -q update -P -d;
popd

pushd /work/martin/adacl_95/adacl
   cvs -q update -P -d;
popd

pushd /work/gnu_4.1/asis
   cvs -q update -P -d;
popd

pushd /work/gnu_4.1/glade
   cvs -q update -P -d;
popd

pushd /work/gnu_4.1/florist
   cvs -q update -P -d;
popd
 

Wiki_Update_CVS.bash

 
#!/bin/bash

pushd /work/HomePage/krischik.com
   cvs -q update;
popd

pushd /work/martin/BC/pmwiki
   cvs -q update;
popd

pushd /work/martin/wikibook-ada/pmwiki
   cvs -q update;
popd

pushd /work/martin/adacl_95/adacl/Document
   cvs -q update;
popd

pushd /work/gnu_4.1/asis/Document
   cvs -q update;
popd

pushd /work/gnu_4.1/glade/Document
   cvs -q update;
popd

pushd /work/gnu_4.1/florist/Document
   cvs -q update;
popd

 

Wiki_Upload_All.bash

 
#!/bin/bash

pushd /work/martin/BC/pmwiki
    chmod -R a+rw .
    scp -p -r -C "."      "krischik@booch95.sourceforge.net:/home/groups/w/wi/wikibook-ada/htdocs/";
    scp -p    -C wiki.d/* "krischik@booch95.sourceforge.net:/tmp/persistent/wikibook-ada/wiki.d/" ;
popd

pushd /work/martin/wikibook-ada/pmwiki
    chmod -R a+rw .
    scp -p -r -C "."      "krischik@wikibook-ada.sourceforge.net:/home/groups/w/wi/wikibook-ada/htdocs/";
    scp -p    -C wiki.d/* "krischik@wikibook-ada.sourceforge.net:/tmp/persistent/wikibook-ada/wiki.d/" ;
popd

pushd /work/martin/adacl_95/adacl/Document
    chmod -R a+rw .
    scp -p -r -C .        "krischik@adacl.sourceforge.net:/home/groups/a/ad/adacl/htdocs/";
    scp -p    -C wiki.d/* "krischik@adacl.sourceforge.net:/tmp/persistent/adacl/wiki.d/";
popd

pushd /work/gnu_4.1/asis/Document
    chmod -R a+rw .
    scp -p -r -C .        "krischik@gnat-asis.sourceforge.net:/home/groups/g/gn/gnat-asis/htdocs/";
    scp -p    -C wiki.d/* "krischik@gnat-asis.sourceforge.net:/tmp/persistent/gnat-asis/wiki.d/";
popd

pushd /work/gnu_4.1/glade/Document
    chmod -R a+rw .
    scp -p -r -C .        "krischik@gnat-glade.sourceforge.net:/home/groups/g/gn/gnat-glade/htdocs/";
    scp -p -r -C wiki.d/* "krischik@gnat-glade.sourceforge.net:/tmp/persistent/gnat-glade/wiki.d/" ;
popd

pushd /work/gnu_4.1/florist/Document
    chmod -R a+rw .
    scp -p -r -C .        "krischik@gnat-florist.sourceforge.net:/home/groups/g/gn/gnat-florist/htdocs/";
    scp -p    -C wiki.d/* "krischik@gnat-florist.sourceforge.net:/tmp/persistent/gnat-florist/wiki.d/";
popd
 

Wiki_Upload_Config.bash

 
#!/bin/bash

sitecopy --update krischik

pushd /work/martin/wikibook-ada/pmwiki
   scp -p -r -C "local" "krischik@booch95.sourceforge.net:/home/groups/w/wi/booch95/htdocs/";
popd

pushd /work/martin/wikibook-ada/pmwiki
   scp -p -r -C "local" "krischik@wikibook-ada.sourceforge.net:/home/groups/w/wi/wikibook-ada/htdocs/";
popd

pushd /work/martin/adacl_95/adacl/Document
   scp -p -r -C "local" "krischik@adacl.sourceforge.net:/home/groups/a/ad/adacl/htdocs/";
popd

pushd /work/gnu_4.1/asis/Document
   scp -p -r -C "local" "krischik@gnat-asis.sourceforge.net:/home/groups/g/gn/gnat-asis/htdocs/";
popd

pushd /work/gnu_4.1/glade/Document
   scp -p -r -C "local" "krischik@gnat-glade.sourceforge.net:/home/groups/g/gn/gnat-glade/htdocs/";
popd

pushd /work/gnu_4.1/florist/Document
  scp -p -r -C "local" "krischik@gnat-florist.sourceforge.net:/home/groups/g/gn/gnat-florist/htdocs/";
popd

 

Wiki_Upload_Cookbook.bash

 
#!/bin/bash

sitecopy --update krischik

pushd /work/martin/wikibook-ada/pmwiki
    cp --verbose --update --target-directory=cookbook /work/HomePage/krischik.com/pmwiki/cookbook/* 
    chmod a+r cookbook/*.php
    scp -p -r -C "cookbook" "krischik@booch95.sourceforge.net:/home/groups/w/wi/wikibook-ada/htdocs/";
popd

pushd /work/martin/wikibook-ada/pmwiki
    cp --verbose --update --target-directory=cookbook /work/HomePage/krischik.com/pmwiki/cookbook/* 
    chmod a+r cookbook/*.php
    scp -p -r -C "cookbook" "krischik@wikibook-ada.sourceforge.net:/home/groups/w/wi/wikibook-ada/htdocs/";
popd

pushd /work/martin/adacl_95/adacl/Document
    cp --verbose --update --target-directory=cookbook /work/HomePage/krischik.com/pmwiki/cookbook/* 
    chmod a+r cookbook/*.php
    scp -p -r -C "cookbook" "krischik@adacl.sourceforge.net:/home/groups/a/ad/adacl/htdocs/";
popd

pushd /work/gnu_4.1/asis/Document
    cp --verbose --update --target-directory=cookbook /work/HomePage/krischik.com/pmwiki/cookbook/* 
    chmod a+r cookbook/*.php
    scp -p -r -C "cookbook" "krischik@gnat-asis.sourceforge.net:/home/groups/g/gn/gnat-asis/htdocs/";
popd

pushd /work/gnu_4.1/glade/Document
    cp --verbose --update --target-directory=cookbook /work/HomePage/krischik.com/pmwiki/cookbook/* 
    chmod a+r cookbook/*.php
    scp -p -r -C "cookbook" "krischik@gnat-glade.sourceforge.net:/home/groups/g/gn/gnat-glade/htdocs/";
popd

pushd /work/gnu_4.1/florist/Document
    cp --verbose --update --target-directory=cookbook /work/HomePage/krischik.com/pmwiki/cookbook/* 
    chmod a+r cookbook/*.php
    scp -p -r -C "cookbook" "krischik@gnat-florist.sourceforge.net:/home/groups/g/gn/gnat-florist/htdocs/";
popd

 
Edit - History - Print - Recent Changes - Search
Page last modified on January 01, 2006, at 03:14 PM