/[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.34 by joko, Sat Jan 25 10:33:27 2003 UTC revision 1.61 by joko, Sun Jan 26 23:05:03 2003 UTC
# Line 1  Line 1 
1  <html>  <html>
2    <head>
3      <title>joko's sample notes - 2003-01 - InventoryCleanupAndRefactoring</title>
4      <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />
5    </head>
6  <body>  <body>
7    
8  <pre>  <pre>
# Line 430  x configured Apache for serving news.net Line 434  x configured Apache for serving news.net
434     x /etc/init.d/apache reload     x /etc/init.d/apache reload
435     x test: http://news.netfrag.org/     x test: http://news.netfrag.org/
436        
     
   
437  o new module for cvs-repository?  o new module for cvs-repository?
438     o nfo/layouts/fs/skel/data2     o nfo/layouts/fs/skel/data2
439     o checkout to /data on quepasa.netfrag.org     o checkout to /data on quepasa.netfrag.org
# Line 564  x new email-addresses@netfrag.org: Line 566  x new email-addresses@netfrag.org:
566    x sysadmin@netfrag.org    x sysadmin@netfrag.org
567    x faq@netfrag.org    x faq@netfrag.org
568        
569  x setup newsportal (by Florian Amrhein)  x --rework|*reworked*-- apache-layout - check into repository as something root is responsible for!
570    
571    x --setup|*setting up*-- newsportal (by Florian Amrhein)
572    x url: http://florian-amrhein.de/newsportal/    x url: http://florian-amrhein.de/newsportal/
573    x cd /home/service/download    x cd /home/service/download
574    x mkdir newsportal    x mkdir newsportal
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  o rework apache-layout - check into repository as something root is responsible for!      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      x Why newsportal and no other?
615        x directly connects to nntp-daemon
616        x has local spool (o TODO: purge regularly?)
617        x highly customizable
618          x added custom css-stylesheet and changed something at content-rendering-level without any problems
619          x visit cvs.netfrag.org to look at the changes made to the newsportal codebase:
620            x -> <a href="http://cvs.netfrag.org/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/newsportal/">newsportal at cvs.netfrag.org</a>
621              o TODO: RefactorThisLink
622        x it's just easy!
623      x setup dispatchrequest for http://news.netfrag.org
624        x cd /data/www/virtual/netfrag/sites/news/
625        x create symlink
626          x ./.symlinkrc
627        x copy over from webcvs
628          x cp ../webcvs/index.php .
629          x mkdir .dispatch
630          x cd .dispatch
631          x cp ../webcvs/.dispatch/config.php .
632          x cp ../webcvs/.dispatch/index.php .
633        x cvs add ...
634        x cvs commit ...
635      x added|*adding* dispatcher at http://news.netfrag.org
636        x used and mungled DispatchRequest(->cvs, ->doc, ->search)  for this purpose
637          o IdeaFor ParseDoc: expand: cvs=JumpToCvs, doc=JumpToDoc, search=SearchFor
638            x examples for the JumpToCvs mechanism are shown on <a href="http://netfrag.org/~joko/computing/overview/topics/>computing/overview/topics</a>
639        x tested http://cvs.netfrag.org/ - still working...
640        o AddedFeatures to DispatchRequest:
641          x JumpToNewsgroup: http://news.netfrag.org/nfo.tutos.sysadmin/
642          o JumpToThread: NotYetImplemented! DoWeReallyNeedThis?
643          o JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/b0shbj$l9s$1@quepasa.netfrag.org
644          x JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/44
645          
646    
647  o NfoWeb  o NfoWeb
648    o add WikiPages:    o add WikiPages:
# Line 601  o viewcvs & yakka Line 670  o viewcvs & yakka
670  o IconForNetfrag.Org?  o IconForNetfrag.Org?
671    o fav.ico?    o fav.ico?
672        
673  x install viewcvs  x --*installed*|install-- viewcvs
674    x apt-get install viewcvs    x apt-get install viewcvs
675      x configured:      x configured:
676        x /var/lib/cvs        x /var/lib/cvs
# Line 612  x install viewcvs Line 681  x install viewcvs
681          x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case          x added to '/data/www/virtual/netfrag/conf/applications.conf' in our case
682        x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt'        x added '<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />' to '/etc/viewcvs/templates/header.ezt'
683    
684  o rendering proposals for TaviWorkflow  o rendering *proposals* for TaviWorkflow
685    o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks)    o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks)
686    o Coloring    o Coloring
687      o [o=red, x=green, R=red, r=green]      o [o=red, x=green, R=red, r=green]
688    
689  o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration)  o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration)
690    
691  x web-based newsreader? twig!  x web-based newsreader? twig!
692    x apt-get install twig    x apt-get install twig
# Line 651  x How to get a single file from cvs for Line 720  x How to get a single file from cvs for
720    
721  x cvsgraph still missing: apt-get install cvsgraph  x cvsgraph still missing: apt-get install cvsgraph
722    
723  x cvsview  x chora -> viewcvs
724    o change logo at /usr/share/viewcvs/images    o change logo at /usr/share/viewcvs/images
725    x removed from template    x removed from template
726    x cvsview-query.cgi didn't work yet!    x cvsview-query.cgi didn't work yet!
# Line 670  x cvsview Line 739  x cvsview
739        [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        [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
740      x solution is:            x solution is:      
741        x apt-get install python-mysqldb        x apt-get install python-mysqldb
742        x use mysql;
743          x insert into db values ('localhost', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
744          x insert into db values ('%', 'ViewCVS', 'viewcvs', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
745          x insert into user (host, user, password) values ('localhost', 'viewcvs', password('viewcvs'));
746          x flush privileges;
747        x cd /usr/lib/viewcvs
748        x ./make-database
749      x
750      o mail to author of viewcvs
751        
752    
753    o docu about uml and filesystem-layer running on gharb for MiniHowTo?
754    
755    o search.php?wiki=1&cvs=1&index=1
756    
757    o get mnoGoSearch running
758      e apt-get install mnoGoSearch
759    
760    o it's not tavi nor tavi-workflow - it's: JustWrite? it's todo! (.todo -> .justdo -> .justwrite -> .done)
761    
762    o ScanToWeb
763    
764    o look at Mailman: http://www.list.org/features.html
765    
766    o use cvsup!?
767    
768    o alien.netfrag.org - (package-conversion)  --> alien.packages.netfrag.org
769    
770    o chora2viewcvs - How to migrate from Horde/Chora to viewcvs.
771    
772    o LinuxInCvs (linux2cvs)
773    
774    o TestApacheConfig, StopApache, StartApache have to work without any running Apache - of course!
775    
776    o through "viewcvs" we loose the ability to "publish" documents via former chora:
777       viewcvs takes care to keep documents like they are in their original - so ".html"-files should be shown with text/plain
778    
779    o re-integrate .cvslink/JumpToCvs with dispatchurl
780    
781    o WikiWords in CvsCommitMessages? (via yakka?)
782    
783    x http://cvs.netfrag.org/bareface/yakka/?tarball=1
784    
785    o [source:/link/to/source-code]   (most times a '.cvslink' - hmmm?)
786       [source:<projectname>]
787    
788    o HelpMe
789    
790    o [snapshot:/link/to/snapshot]
791       [snapshot:<projectname>]
792    
793    o dispatchrequest - a multipurpose request dispatcher
794      o integrate:
795        x redirector at cvs.netfrag.org ...
796        o ... and news.netfrag.org
797      o JumpToCvs (.cvslink-mechanism)
798      o how was it done?
799        x cd /data/www/virtual/netfrag/sites/webcvs/.dispatch
800        x ln -s /data/www/global/apps/dispatchrequest .
801        
802      
803    o buildhtml -> makedoc
804    
805    o TWIG & yakka?
806    
807    o rename: dispatchmail -> dispatchmessage
808    
809    c rename: dispatchrequest -> forwardrequest?
810    
811    o readrc of bashrc|perlrc|xmlrc
812    
813    x setup TWIG
814      x cd /usr/share/doc/twig
815      x cd /data/www/virtual/netfrag/conf/
816      x nano applications.conf
817      x add line: Alias /twig/ /usr/share/twig/
818      x had to modify /etc/apache/conf/httpd.conf:
819        x added: 'index.php3'
820            <IfModule mod_dir.c>
821                DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3
822            </IfModule>
823        x added: '.php3'
824            AddType application/x-httpd-php .php .php3
825        x /etc/init.d/apache reload
826        x cd /etc/twig
827          x modify config.inc.php3
828        x cd /usr/share/twig/setup
829          x mysql
830            x use mysql
831            x insert into user (host, user, password) values ('localhost', 'www-data', password(''));
832            x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
833            x create database twig;
834            x flush privileges;
835          x database-schema
836            x gunzip twig.table.mysql.gz
837            x mysql twig < twig.table.mysql
838            
839    x setup arbitrary packet and bind to csm-system (Collaborative Software Management)
840      x pinstall twig
841        x apt-get install twig
842        x cd /etc
843        x cvs add twig
844        x cd twig
845        x cvs add *
846        x cvs add .htaccess
847        x cvs commit -m "+ initial commit"
848      
849    
850    o remove html from phpWiki: ('http://'!!!) (->https!!!)
851      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
852        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
853      <link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
854      <link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.sourceforge.net/phpwiki/ThePhpWikiProgrammingTeam" />
855    
856    o force https for: (authentication purposes - anonymous is http!)
857      o horde
858      o tutos
859      
860    x dpkg -x twig_2.7.5-4_all.deb tmp/
861    
862    o TWIG & OpenLDAP!?
863    
864    x ApacheMasterLayoutRefactoring: quepasa.netfrag.org:
865      x removed /data/www/doc to /data/www/global/apps
866        x test:
867          x cd /data/www/virtual
868          x grep -ri "/data/www/doc" *
869          x cd /data/www/global
870            x grep -ri "/data/www/doc" *
871            x apps/twiki/
872              x lib/TWiki.cfg
873              x bin/.htaccess
874            x conf/twiki-httpd
875              ---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes   ;-)
876              ---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!!
877            x conf/virtualdomains-httpd/
878            x doc/twiki/
879      x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public
880        x cd virtual/netfrag/conf
881          x grep -ri "/pub" *
882            x modify httpd.conf and applications.conf
883      x apachectl configtest
884        Syntax error on line 345 of /etc/apache/httpd.conf:
885        DocumentRoot must be a directory
886        x disabled there completely
887        x now in /data/www/global/conf/httpd.conf
888          DocumentRoot /data/www/virtual/netfrag/sites/public
889      x apachectl configtest
890        fopen: No such file or directory
891        apache: could not open document config file /data/www/conf/twiki-httpd.conf
892        x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/
893        x nano /data/www/virtual/netfrag/conf/applications.conf to match new path
894      x apachectl configtest
895        fopen: No such file or directory
896        apache: could not open document config file /data/www/conf/tutos-httpd.conf
897        x cd virtual/netfrag
898        x grep -rin "www/conf" *
899        x edit applications.conf:21
900          x was: Include /data/www/conf/tutos-httpd.conf
901          x is: Include /data/www/global/conf/tutos-httpd.conf
902      x apachectl configtest
903        Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist
904        fopen: No such file or directory
905        apache: could not open document config file /data/www/conf/dynamic.conf
906        x grep -rin webnews *
907          x edit applications.conf:30
908            x was: Alias /webnews/ /data/www/global/apps/newsportal/
909            x is: Alias /webnews/ /data/www/global/apps/newsportal/
910          x edit httpd.conf:74
911            x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews
912            x is: DocumentRoot /data/www/virtual/netfrag/sites/news
913         x cd global/conf
914         x grep -rin www/conf *
915          x STDOUT-PARSE:
916            httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf
917            httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf
918            httpd.conf:29:Include /data/www/conf/dynamic.conf
919              ->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf
920      x apachectl configtest
921          root@quepasa:/data/www/global/conf# apachectl configtest
922          configuring dynamic domain "golf5.de"
923          configuring dynamic domain "smartmen.de"
924          configuring dynamic domain "ballonflug.de"
925          Syntax OK
926      x /etc/init.d/apache restart
927      x testing "http://netfrag.org/" fails
928      x testing "http://netfrag.org/index.php"
929        x makes redirect to "http://netfrag.org/nfoweb/" but fails there
930      x tail -f tail -f /data/www/virtual/netfrag/log/error_log
931        [Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
932        [Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
933        [Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
934        [Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
935        [Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
936    
937    
938    o register:
939      public.netfrag.org -> http://netfrag.org
940      secure.netfrag.org -> https://netfrag.org
941      
942    o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/!
943    o netfrag.org: DispatchRequest for http://netfrag.org/rrr/!
944    
945    o IntroduceMergePoint at http://netfrag.org/doc/
946      o MiniHowto
947      o faqs (e.g. from news://news.netfrag.org/nfo.faq.users
948    
949    o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or
950      o an AUTOCOMMIT on that very event (maybe integrated with a counter)
951      
952    o write scripts to iterate recursively through directories under specified path ...
953      o ... and do some actions on each directory, e.g.
954      o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc)
955      
956    x CVSSpam in action:
957      10146 ?        S      0:00 /usr/sbin/sshd
958      10148 ?        S      0:00 /usr/sbin/sshd
959      10149 ?        S      0:00 cvs server
960      10150 ?        S      0:00 cvs server
961      10151 ?        S      0:00 /bin/login
962      10155 ?        S      0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag
963      10158 ?        S      0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10
964      
965    x as Chora'sStylesheet has come active (by accident) when viewing this file view web
966       we should include this as a fixed default making horde our default stylesheet delivery engine (for now)
967    
968    o link-checker for netfrag.org
969    
970    o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />?
971      o styleme.php
972      o brandme.php
973      
974    
975    
976    o mini-howto: "HttpRedirect"
977    
978    o how to refactor the MiniHowtos?
979      o into a wiki? wikis seem to miss offline/distributed capabilities! (for now)
980      x into pod
981        x build offline
982        o build online
983      o into DocBook?
984      o into tavi? (or "TaviWorkflow"?)
985      o but: LinkWithWikiAutomagically to get everything together
986        o look at the InterwikiMechanism
987        o look at the various WikiPluginArchitectures
988        o look at YakkaDev!
989    
990    o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]!
991    
992    o proposal for hierarchical structure (and HomePage) of netfrag.org
993      ~overview -> SomeWiki -> Overview
994        ~projects (include some common text here)
995        ~users (include some common text here)
996          - Page: UserArea
997          - Page: ~users
998      ~projects -> SomeWiki-> Projects
999      ~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?))
1000        ~rabit (raBit's router - psl.no-ip.com)
1001        ~natraj (sam's place - optix)
1002        ~joko (joko's)
1003        ~bareface (->yakka)
1004    
1005    o MasterWorkflow:
1006      -> TheThreeGoodThings
1007        -> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences
1008        -> RefactorIdeas -> Categorize -> AddNotes -> AddTasks
1009        -> DoThings -> ReadTasks -> DoTasks
1010      -> TheFourthBadThing: TimeTrackAllThis  ;-)  (it seems to be not so far away....)
1011    
1012    o what do we need / what do we do?
1013      --- researcher
1014        o OnlineReading
1015        (o SelectItemsForDownload)  <- want-to-have
1016        (o DownloadItems)  <- want-to-have
1017      --- researcher
1018        o OfflineReading
1019        x ClumsyOfflineReading  <- status-quo
1020          (o NiceOfflineReading)  <- want-to-have
1021          (o OfflineArchiving)  <- want-to-have
1022        o OfflineEditing (text, html, pod, tavi)
1023        o OnlinePublishing (<all - everything what has been rendered or archived offline>)
1024      --- engine
1025        o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz)
1026          o OfflineRendering (html, text, pdf, chm)
1027      --- reader
1028        o OnlineReading (<everything that has been published>)
1029        (o SelectItemsForDownload)  <- want-to-have
1030        (o DownloadItems)  <- want-to-have
1031        o OfflineReading (pdf, chm)
1032    
1033    o link to http://teamsonar.no-ip.com
1034    
1035    o mail announces to announce@netfrag.org
1036    
1037    o no symlinks in webroot anymore? use ApacheAliases?
1038    
1039  o docu about uml and filesystem-layer running on gharb for MiniHowTo?      o MiniHowto: NfoLinkageSystem
1040    
1041    
1042  </pre>  </pre>

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.61

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