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

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.64

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