/[cvs]/joko/doc/SampleTasks/joko_2003-01.html
ViewVC logotype

Diff of /joko/doc/SampleTasks/joko_2003-01.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26 by joko, Sat Jan 25 02:05:14 2003 UTC revision 1.57 by joko, Sun Jan 26 18:03:46 2003 UTC
# Line 1  Line 1 
1  <html>  <html>
2    <head>
3      <title>joko's sample notes - 2003-01</title>
4      <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />
5    </head>
6  <body>  <body>
7    
8  <pre>  <pre>
# Line 442  o new module for cvs-repository? Line 446  o new module for cvs-repository?
446        x mkdir -p nfo/layouts/fs/skel/data2        x mkdir -p nfo/layouts/fs/skel/data2
447        x mkdir -p nfo/hosts/quepasa.netfrag.org/data        x mkdir -p nfo/hosts/quepasa.netfrag.org/data
448        x cvs -d /var/lib/cvs checkout -d /data nfo/hosts/quepasa.netfrag.org/data        x cvs -d /var/lib/cvs checkout -d /data nfo/hosts/quepasa.netfrag.org/data
449            x *mungle everything and commit!*  look at the repository!
450          x add special group with access to this repository: 'rootsrc'
451            x groupadd rootsrc
452            x usermod -G src,staff,rootsrc joko
453            x usermod -G src,staff,rootsrc jonen
454            x usermod -G rootsrc root
455            x change permissions
456              x cd /var/lib/cvs/nfo/
457              x chown -R .rootsrc hosts
458              x chmod -R g+w hosts
459    
460            
461  x add to system-conf-repository:  x add to system-conf-repository:
# Line 561  x setup newsportal (by Florian Amrhein) Line 575  x setup newsportal (by Florian Amrhein)
575    x cd newsportal    x cd newsportal
576    x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz    x wget http://florian-amrhein.de/newsportal/download/newsportal-0.24.tar.gz
577    x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/    x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/
578    x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/virtual/netfrag/sites/news/apps/newsportal/    x tar -xzf newsportal-0.24.tar.gz --directory=/data/www/global/apps/newsportal/
579      x add to /data/www/virtual/netfrag/conf/applications.conf
580        Alias /webnews/ /data/www/global/apps/newsportal/
581      x configure in /data/www/global/apps/newsportal/config.inc
582        // newsserver setup
583        $server="news.netfrag.org";
584        $server_auth_user="webnews";
585        $server_auth_pass="web123";
586      x add to /etc/news/nnrp.access:
587        # 2003-01-26, joko
588        *:Read Post:webnews:web123:*
589      x modify groups.txt
590        <nfo.* - add all groups here>
591        o TODO: AUTOUPDATE here!
592      x add to the index-page:
593        xR set INSERTION="<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />"
594        x grep -rin "<head" *
595          doc/readme-deutsch.html:4:</head>
596          doc/faq.html:4:</head>
597          doc/history.txt:234:- fehlender </head> Tag ergaenzt
598          doc/readme-english.html:4:</head>
599          doc/history.txt~:233:- fehlender </head> Tag ergaenzt
600          extras/frames/thread_frameset.php:10:</head>
601          head.inc:5:</head>
602        x cvs add head.inc
603        x cvs commit -m "+ initial commit" head.inc
604        x <modify head.inc>
605          x nano head.inc
606          x <jump to line 5> STRG+W + T: 5
607          xR <insert INSERTION>
608          xR <insert [ENTER]>
609          x <save file> STRG+O + [ENTER]
610        x test: <hit reload on <a href="http://www.netfrag.org/webnews/">http://www.netfrag.org/webnews/</a>>
611          o TODO: RefactorThisHtmlRef to WebNews
612        o view message in some MimeViewer or HtmlViewer (Horde?)
613          o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities
614        
615    
616    x rework apache-layout - check into repository as something root is responsible for!
617    
618    o NfoWeb
619      o add WikiPages:
620        o Overview
621          o Projects
622          o MiniHowTo
623          (o Search)
624      o modify HomePage
625        o change Projects to Overview
626    
627    o yakka & pod
628      o convert pod to tavi
629        o perl first (pod2tavi)
630        o php afterwards (pod2tavi-php)
631        o then refactor to a YakkaPlugin (an "input-filter"?) ('yakka-filter-pod'?)
632      o address "files" outside the normal/configured default YakkaRepository
633        o introduce: "ExplicitAddressingOfArbitraryTargets"
634          o via HttpHeader (GET/POST) (HtmlUrlArgument, HtmlFormField)
635        o introduce "YakkaContainers": aim: group a bunch of targets/items together as a kind of "MetaRepository"
636    
637    o viewcvs & yakka
638      o a filesystem-adapter for yakka's storage-handler-system
639      o show "view in yakka" if document-type eq 'tavi|tavi,v|pod'
640    
641    o IconForNetfrag.Org?
642      o fav.ico?
643      
644    x install viewcvs
645      x apt-get install viewcvs
646        x configured:
647          x /var/lib/cvs
648          x email-address (new): cvs-admin@netfrag.org  ->  dev@netfrag.org
649          x no forbidden modules (do this via unix permissions!)
650          x allow tarball generation? yes!
651          x Hint: add "Alias /viewcvs/ /usr/share/viewcvs/" to /etc/apache/conf/httpd.conf for online documents and icons
652            x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case
653          x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt'
654    
655    o rendering proposals for TaviWorkflow
656      o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks)
657      o Coloring
658        o [o=red, x=green, R=red, r=green]
659    
660    o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration)
661    
662    x web-based newsreader? twig!
663      x apt-get install twig
664      
665    o shutdown horde (for now: "pause")
666    
667    o viewcvs & apache-mod-python?
668    
669    o home2web, .home2webrc
670      --before: buildhtml --source=pod|tavi
671      --after: say "ready"
672    
673    x added root of quepasa to cvs
674      x su root
675      x cd /var/lib/cvs/nfo/hosts/quepasa.netfrag.org
676      x mkdir root
677        x chown -R .rootsrc root/
678        x chmod -R g+w root/
679      x cd /tmp
680      x cvs -d /var/lib/cvs checkout -d / nfo/hosts/quepasa.netfrag.org/root
681      x start with /etc
682        x cd /etc
683        x cvs add etc
684        x cvs add viewcvs
685          x cd viewcvs
686          x cvs add ....
687          x cvs commit -m "+ initial commit"
688    
689    x How to get a single file from cvs for download: (e.g.)
690       wget http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/viewcvs/viewcvs/templates/header.ezt?rev=1.2
691    
692    x cvsgraph still missing: apt-get install cvsgraph
693    
694    x chora -> viewcvs
695      o change logo at /usr/share/viewcvs/images
696      x removed from template
697      x cvsview-query.cgi didn't work yet!
698        x error was:
699          x tail -f /data/www/virtual/netfrag/log/error_log
700          Traceback (most recent call last):
701            File "/usr/lib/cgi-bin/viewcvs-query.cgi", line 50, in ?
702              import query
703            File "/usr/lib/python2.1/viewcvs/query.py", line 42, in ?
704              import cvsdb
705            File "/usr/lib/python2.1/viewcvs/cvsdb.py", line 34, in ?
706              import dbi
707            File "/usr/lib/python2.1/viewcvs/dbi.py", line 17, in ?
708              import MySQLdb
709          ImportError: No module named MySQLdb
710          [Sat Jan 25 11:16:55 2003] [error] [client 217.231.127.85] Premature end of script headers: /usr/lib/cgi-bin/viewcvs-query.cgi
711        x solution is:      
712          x apt-get install python-mysqldb
713        x use mysql;
714          x insert into db values ('localhost', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
715          x insert into db values ('%', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
716          x insert into user (host, user, password) values ('localhost', 'viewcvs', password('viewcvs'));
717          x flush privileges;
718        x cd /usr/lib/viewcvs
719        x ./make-database
720      x
721      o mail to author of viewcvs
722        
723    
724    o docu about uml and filesystem-layer running on gharb for MiniHowTo?
725    
726    o search.php?wiki=1&cvs=1&index=1
727    
728    o get mnoGoSearch running
729      e apt-get install mnoGoSearch
730    
731    o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done)
732    
733    o ScanToWeb
734    
735    o look at Mailman: http://www.list.org/features.html
736    
737    o use cvsup!?
738    
739    o alien.netfrag.org - (package-conversion)  --> alien.packages.netfrag.org
740    
741    o chora2viewcvs - How to migrate from Horde/Chora to viewcvs.
742    
743    o LinuxInCvs (linux2cvs)
744    
745    o TestApacheConfig, StopApache, StartApache have to work without any running Apache - of course!
746    
747    o through "viewcvs" we loose the ability to "publish" documents via former chora:
748       viewcvs takes care to keep documents like they are in their original - so ".html"-files should be shown with text/plain
749    
750    o re-integrate .cvslink/JumpToCvs with dispatchurl
751    
752    o WikiWords in CvsCommitMessages? (via yakka?)
753    
754    x http://cvs.netfrag.org/bareface/yakka/?tarball=1
755    
756    o [source:/link/to/source-code]   (most times a '.cvslink' - hmmm?)
757       [source:<projectname>]
758    
759    o HelpMe
760    
761    o [snapshot:/link/to/snapshot]
762       [snapshot:<projectname>]
763    
764    o dispatchrequest - a multipurpose request dispatcher
765      o integrate:
766        x redirector at cvs.netfrag.org ...
767        o ... and news.netfrag.org
768      o JumpToCvs (.cvslink-mechanism)
769      o how was it done?
770        x cd /data/www/virtual/netfrag/sites/webcvs/.dispatch
771        x ln -s /data/www/global/apps/dispatchrequest .
772        
773      
774    o buildhtml -> makedoc
775    
776    o TWIG & yakka?
777    
778    o rename: dispatchmail -> dispatchmessage
779    
780    c rename: dispatchrequest -> forwardrequest?
781    
782    o readrc of bashrc|perlrc|xmlrc
783    
784    x setup TWIG
785      x cd /usr/share/doc/twig
786      x cd /data/www/virtual/netfrag/conf/
787      x nano applications.conf
788      x add line: Alias /twig/ /usr/share/twig/
789      x had to modify /etc/apache/conf/httpd.conf:
790        x added: 'index.php3'
791            <IfModule mod_dir.c>
792                DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3
793            </IfModule>
794        x added: '.php3'
795            AddType application/x-httpd-php .php .php3
796        x /etc/init.d/apache reload
797        x cd /etc/twig
798          x modify config.inc.php3
799        x cd /usr/share/twig/setup
800          x mysql
801            x use mysql
802            x insert into user (host, user, password) values ('localhost', 'www-data', password(''));
803            x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
804            x create database twig;
805            x flush privileges;
806          x database-schema
807            x gunzip twig.table.mysql.gz
808            x mysql twig < twig.table.mysql
809            
810    x setup arbitrary packet and bind to csm-system (Collaborative Software Management)
811      x pinstall twig
812        x apt-get install twig
813        x cd /etc
814        x cvs add twig
815        x cd twig
816        x cvs add *
817        x cvs add .htaccess
818        x cvs commit -m "+ initial commit"
819      
820    
821    o remove html from phpWiki: ('http://'!!!) (->https!!!)
822      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
823        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
824      <link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
825      <link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.sourceforge.net/phpwiki/ThePhpWikiProgrammingTeam" />
826    
827    o force https for: (authentication purposes - anonymous is http!)
828      o horde
829      o tutos
830      
831    x dpkg -x twig_2.7.5-4_all.deb tmp/
832    
833    o TWIG & OpenLDAP!?
834    
835    x ApacheMasterLayoutRefactoring: quepasa.netfrag.org:
836      x removed /data/www/doc to /data/www/global/apps
837        x test:
838          x cd /data/www/virtual
839          x grep -ri "/data/www/doc" *
840          x cd /data/www/global
841            x grep -ri "/data/www/doc" *
842            x apps/twiki/
843              x lib/TWiki.cfg
844              x bin/.htaccess
845            x conf/twiki-httpd
846              ---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes   ;-)
847              ---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!!
848            x conf/virtualdomains-httpd/
849            x doc/twiki/
850      x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public
851        x cd virtual/netfrag/conf
852          x grep -ri "/pub" *
853            x modify httpd.conf and applications.conf
854      x apachectl configtest
855        Syntax error on line 345 of /etc/apache/httpd.conf:
856        DocumentRoot must be a directory
857        x disabled there completely
858        x now in /data/www/global/conf/httpd.conf
859          DocumentRoot /data/www/virtual/netfrag/sites/public
860      x apachectl configtest
861        fopen: No such file or directory
862        apache: could not open document config file /data/www/conf/twiki-httpd.conf
863        x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/
864        x nano /data/www/virtual/netfrag/conf/applications.conf to match new path
865      x apachectl configtest
866        fopen: No such file or directory
867        apache: could not open document config file /data/www/conf/tutos-httpd.conf
868        x cd virtual/netfrag
869        x grep -rin "www/conf" *
870        x edit applications.conf:21
871          x was: Include /data/www/conf/tutos-httpd.conf
872          x is: Include /data/www/global/conf/tutos-httpd.conf
873      x apachectl configtest
874        Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist
875        fopen: No such file or directory
876        apache: could not open document config file /data/www/conf/dynamic.conf
877        x grep -rin webnews *
878          x edit applications.conf:30
879            x was: Alias /webnews/ /data/www/global/apps/newsportal/
880            x is: Alias /webnews/ /data/www/global/apps/newsportal/
881          x edit httpd.conf:74
882            x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews
883            x is: DocumentRoot /data/www/virtual/netfrag/sites/news
884         x cd global/conf
885         x grep -rin www/conf *
886          x STDOUT-PARSE:
887            httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf
888            httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf
889            httpd.conf:29:Include /data/www/conf/dynamic.conf
890              ->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf
891      x apachectl configtest
892          root@quepasa:/data/www/global/conf# apachectl configtest
893          configuring dynamic domain "golf5.de"
894          configuring dynamic domain "smartmen.de"
895          configuring dynamic domain "ballonflug.de"
896          Syntax OK
897      x /etc/init.d/apache restart
898      x testing "http://netfrag.org/" fails
899      x testing "http://netfrag.org/index.php"
900        x makes redirect to "http://netfrag.org/nfoweb/" but fails there
901      x tail -f tail -f /data/www/virtual/netfrag/log/error_log
902        [Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
903        [Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
904        [Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
905        [Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
906        [Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
907    
908    
909    o register:
910      public.netfrag.org -> http://netfrag.org
911      secure.netfrag.org -> https://netfrag.org
912      
913    o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/!
914    o netfrag.org: DispatchRequest for http://netfrag.org/rrr/!
915    
916    o IntroduceMergePoint at http://netfrag.org/doc/
917      o MiniHowto
918      o faqs (e.g. from news://news.netfrag.org/nfo.faq.users
919    
920    o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or
921      o an AUTOCOMMIT on that very event (maybe integrated with a counter)
922      
923    o write scripts to iterate recursively through directories under specified path ...
924      o ... and do some actions on each directory, e.g.
925      o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc)
926      
927    x CVSSpam in action:
928      10146 ?        S      0:00 /usr/sbin/sshd
929      10148 ?        S      0:00 /usr/sbin/sshd
930      10149 ?        S      0:00 cvs server
931      10150 ?        S      0:00 cvs server
932      10151 ?        S      0:00 /bin/login
933      10155 ?        S      0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag
934      10158 ?        S      0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10
935      
936    x as Chora'sStylesheet has come active (by accident) when viewing this file view web
937       we should include this as a fixed default making horde our default stylesheet delivery engine (for now)
938    
939    o link-checker for netfrag.org
940    
941    o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />?
942      o styleme.php
943      o brandme.php
944      
945    
946    
947    o mini-howto: "HttpRedirect"
948    
949    o how to refactor the MiniHowtos?
950      o into a wiki? wikis seem to miss offline/distributed capabilities! (for now)
951      x into pod
952        x build offline
953        o build online
954      o into DocBook?
955      o into tavi? (or "TaviWorkflow"?)
956      o but: LinkWithWikiAutomagically to get everything together
957        o look at the InterwikiMechanism
958        o look at the various WikiPluginArchitectures
959        o look at YakkaDev!
960    
961    o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]!
962    
963    o proposal for hierarchical structure (and HomePage) of netfrag.org
964      ~overview -> SomeWiki -> Overview
965        ~projects (include some common text here)
966        ~users (include some common text here)
967          - Page: UserArea
968          - Page: ~users
969      ~projects -> SomeWiki-> Projects
970      ~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?))
971        ~rabit (raBit's router - psl.no-ip.com)
972        ~natraj (sam's place - optix)
973        ~joko (joko's)
974        ~bareface (->yakka)
975    
976    o MasterWorkflow:
977      -> TheThreeGoodThings
978        -> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences
979        -> RefactorIdeas -> Categorize -> AddNotes -> AddTasks
980        -> DoThings -> ReadTasks -> DoTasks
981      -> TheFourthBadThing: TimeTrackAllThis  ;-)  (it seems to be not so far away....)
982    
983    o what do we need / what do we do?
984      --- researcher
985        o OnlineReading
986        (o SelectItemsForDownload)  <- want-to-have
987        (o DownloadItems)  <- want-to-have
988      --- researcher
989        o OfflineReading
990        x ClumsyOfflineReading  <- status-quo
991          (o NiceOfflineReading)  <- want-to-have
992          (o OfflineArchiving)  <- want-to-have
993        o OfflineEditing (text, html, pod, tavi)
994        o OnlinePublishing (<all - everything what has been rendered or archived offline>)
995      --- engine
996        o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz)
997          o OfflineRendering (html, text, pdf, chm)
998      --- reader
999        o OnlineReading (<everything that has been published>)
1000        (o SelectItemsForDownload)  <- want-to-have
1001        (o DownloadItems)  <- want-to-have
1002        o OfflineReading (pdf, chm)
1003    
1004    o link to http://teamsonar.no-ip.com
1005    
1006    o mail announces to announce@netfrag.org
1007    
1008    
 o rework apache-layout - check into repository as something root is responsible for!  
1009    
1010    
1011  </pre>  </pre>

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.57

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed