/[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.47 by joko, Sat Jan 25 19:33:32 2003 UTC revision 1.67 by joko, Mon Jan 27 03:03:30 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    for working with it
9      - global metadata
10        - cvs-loginfo/commitinfo
11      - ItemMetadata
12        - ItemStatus (open, closed and stuff)
13        - ItemIdentifier
14        - ItemAuthor
15        - ItemType
16        - references/associations to/from
17      - word metadata
18        - link to target
19        - show target as ...
20      - overview of all gathered metadata (at the bottom)
21    
22    for rendering it
23        - render <target> at <locator> as <that-type> [in <this-mode>] [to this <othertarget>]
24    
25    
26  <pre>  <pre>
27    
28  joko@netfrag.org - sample stack:  joko@netfrag.org - sample stack:
# Line 430  x configured Apache for serving news.net Line 452  x configured Apache for serving news.net
452     x /etc/init.d/apache reload     x /etc/init.d/apache reload
453     x test: http://news.netfrag.org/     x test: http://news.netfrag.org/
454        
     
   
455  o new module for cvs-repository?  o new module for cvs-repository?
456     o nfo/layouts/fs/skel/data2     o nfo/layouts/fs/skel/data2
457     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 584  x new email-addresses@netfrag.org:
584    x sysadmin@netfrag.org    x sysadmin@netfrag.org
585    x faq@netfrag.org    x faq@netfrag.org
586        
587  x setup newsportal (by Florian Amrhein)  x --rework|*reworked*-- apache-layout - check into repository as something root is responsible for!
588    
589    x --setup|*setting up*-- newsportal (by Florian Amrhein)
590    x url: http://florian-amrhein.de/newsportal/    x url: http://florian-amrhein.de/newsportal/
591    x cd /home/service/download    x cd /home/service/download
592    x mkdir newsportal    x mkdir newsportal
593    x cd newsportal    x cd newsportal
594    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
595    x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/    x mkdir -p /data/www/virtual/netfrag/sites/news/apps/newsportal/
596    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/
597      x add to /data/www/virtual/netfrag/conf/applications.conf
598  o rework apache-layout - check into repository as something root is responsible for!      Alias /webnews/ /data/www/global/apps/newsportal/
599      x configure in /data/www/global/apps/newsportal/config.inc
600        // newsserver setup
601        $server="news.netfrag.org";
602        $server_auth_user="webnews";
603        $server_auth_pass="web123";
604      x add to /etc/news/nnrp.access:
605        # 2003-01-26, joko
606        *:Read Post:webnews:web123:*
607      x modify groups.txt
608        <nfo.* - add all groups here>
609        o TODO: AUTOUPDATE here!
610      x add to the index-page:
611        xR set INSERTION="<link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />"
612        x grep -rin "<head" *
613          doc/readme-deutsch.html:4:</head>
614          doc/faq.html:4:</head>
615          doc/history.txt:234:- fehlender </head> Tag ergaenzt
616          doc/readme-english.html:4:</head>
617          doc/history.txt~:233:- fehlender </head> Tag ergaenzt
618          extras/frames/thread_frameset.php:10:</head>
619          head.inc:5:</head>
620        x cvs add head.inc
621        x cvs commit -m "+ initial commit" head.inc
622        x <modify head.inc>
623          x nano head.inc
624          x <jump to line 5> STRG+W + T: 5
625          xR <insert INSERTION>
626          xR <insert [ENTER]>
627          x <save file> STRG+O + [ENTER]
628        x test: <hit reload on <a href="http://www.netfrag.org/webnews/">http://www.netfrag.org/webnews/</a>>
629          o TODO: RefactorThisHtmlRef to WebNews
630        o view message in some MimeViewer or HtmlViewer (Horde?)
631          o -> use a MessageViewer with MimeCapabilities and HtmlCapabilities
632      x Why newsportal and no other?
633        x directly connects to nntp-daemon
634        x has local spool (o TODO: purge regularly?)
635        x highly customizable
636          x added custom css-stylesheet and changed something at content-rendering-level without any problems
637          x visit cvs.netfrag.org to look at the changes made to the newsportal codebase:
638            x -> <a href="http://cvs.netfrag.org/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/newsportal/">newsportal at cvs.netfrag.org</a>
639              o TODO: RefactorThisLink
640        x it's just easy!
641      x setup dispatchrequest for http://news.netfrag.org
642        x cd /data/www/virtual/netfrag/sites/news/
643        x create symlink
644          x ./.symlinkrc
645        x copy over from webcvs
646          x cp ../webcvs/index.php .
647          x mkdir .dispatch
648          x cd .dispatch
649          x cp ../webcvs/.dispatch/config.php .
650          x cp ../webcvs/.dispatch/index.php .
651        x cvs add ...
652        x cvs commit ...
653      x added|*adding* dispatcher at http://news.netfrag.org
654        x used and mungled DispatchRequest(->cvs, ->doc, ->search)  for this purpose
655          o IdeaFor ParseDoc: expand: cvs=JumpToCvs, doc=JumpToDoc, search=SearchFor
656            x examples for the JumpToCvs mechanism are shown on <a href="http://netfrag.org/~joko/computing/overview/topics/>computing/overview/topics</a>
657        x tested http://cvs.netfrag.org/ - still working...
658        o AddedFeatures to DispatchRequest:
659          x JumpToNewsgroup: http://news.netfrag.org/nfo.tutos.sysadmin/
660            e.g. ->http://netfrag.org/webnews/thread.php?group=nfo.links.computing
661          o JumpToThread: NotYetImplemented! DoWeReallyNeedThis?
662          o JumpToArticle: http://news.netfrag.org/nfo.sysadmin.tutos/id/b0shbj$l9s$1@quepasa.netfrag.org
663          x JumpToArticle: http://news.netfrag.org/nfo.links.computing/id/44
664            e.g. ->http://netfrag.org/webnews/article.php?id=44&group=nfo.links.computing
665          
666    
667  o NfoWeb  o NfoWeb
668    o add WikiPages:    o add WikiPages:
# Line 601  o viewcvs & yakka Line 690  o viewcvs & yakka
690  o IconForNetfrag.Org?  o IconForNetfrag.Org?
691    o fav.ico?    o fav.ico?
692        
693  x install viewcvs  x --*installed*|install-- viewcvs
694    x apt-get install viewcvs    x apt-get install viewcvs
695      x configured:      x configured:
696        x /var/lib/cvs        x /var/lib/cvs
# Line 612  x install viewcvs Line 701  x install viewcvs
701          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
702        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'
703    
704  o rendering proposals for TaviWorkflow  o rendering *proposals* for TaviWorkflow
705    o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks)    o Linking|Referencing (WikiWords, PureExplicitLinkExtrapolation, NamedLinks)
706    o Coloring    o Coloring
707      o [o=red, x=green, R=red, r=green]      o [o=red, x=green, R=red, r=green]
708    
709  o shortcut: TestApache to run 'apachectl configtest' (WikiForSystemAdministration)  o *shortcut*: TestApache to run 'apachectl configtest' (WikiForSystemAdministration)
710    
711  x web-based newsreader? twig!  x web-based newsreader? twig!
712    x apt-get install twig    x apt-get install twig
# Line 731  o dispatchrequest - a multipurpose reque Line 820  o dispatchrequest - a multipurpose reque
820      x ln -s /data/www/global/apps/dispatchrequest .      x ln -s /data/www/global/apps/dispatchrequest .
821            
822        
823  o buildhtml -> docmaker  o buildhtml -> makedoc
824    
825  o TWIG & yakka?  o TWIG & yakka?
826    
# Line 755  x setup TWIG Line 844  x setup TWIG
844          AddType application/x-httpd-php .php .php3          AddType application/x-httpd-php .php .php3
845      x /etc/init.d/apache reload      x /etc/init.d/apache reload
846      x cd /etc/twig      x cd /etc/twig
847        x        x modify config.inc.php3
848        x cd /usr/share/twig/setup
849          x mysql
850            x use mysql
851            x insert into user (host, user, password) values ('localhost', 'www-data', password(''));
852            x insert into db values ('localhost', 'twig', 'www-data', 'Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
853            x create database twig;
854            x flush privileges;
855          x database-schema
856            x gunzip twig.table.mysql.gz
857            x mysql twig < twig.table.mysql
858            
859    x setup arbitrary packet and bind to csm-system (Collaborative Software Management)
860      x pinstall twig
861        x apt-get install twig
862        x cd /etc
863        x cvs add twig
864        x cd twig
865        x cvs add *
866        x cvs add .htaccess
867        x cvs commit -m "+ initial commit"
868      
869    
870  o remove html from phpWiki: ('http://'!!!) (->https!!!)  o remove html from phpWiki: ('http://'!!!) (->https!!!)
871    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
# Line 767  o force https for: (authentication purpo Line 877  o force https for: (authentication purpo
877    o horde    o horde
878    o tutos    o tutos
879        
880    x dpkg -x twig_2.7.5-4_all.deb tmp/
881    
882    o TWIG & OpenLDAP!?
883    
884    x ApacheMasterLayoutRefactoring: quepasa.netfrag.org:
885      x removed /data/www/doc to /data/www/global/apps
886        x test:
887          x cd /data/www/virtual
888          x grep -ri "/data/www/doc" *
889          x cd /data/www/global
890            x grep -ri "/data/www/doc" *
891            x apps/twiki/
892              x lib/TWiki.cfg
893              x bin/.htaccess
894            x conf/twiki-httpd
895              ---> just change between 'global' and (e.g.) 'virtual/netfrag' for switching between scopes   ;-)
896              ---> the container (folder)-structure at global and sub-virtual level must match almost exactly to make this possible!!!!!
897            x conf/virtualdomains-httpd/
898            x doc/twiki/
899      x removed: /data/www/virtual/netfrag/pub to /data/www/virtual/netfrag/sites/public
900        x cd virtual/netfrag/conf
901          x grep -ri "/pub" *
902            x modify httpd.conf and applications.conf
903      x apachectl configtest
904        Syntax error on line 345 of /etc/apache/httpd.conf:
905        DocumentRoot must be a directory
906        x disabled there completely
907        x now in /data/www/global/conf/httpd.conf
908          DocumentRoot /data/www/virtual/netfrag/sites/public
909      x apachectl configtest
910        fopen: No such file or directory
911        apache: could not open document config file /data/www/conf/twiki-httpd.conf
912        x mv /data/www/global/conf/twiki-httpd.conf /data/www/virtual/netfrag/conf/
913        x nano /data/www/virtual/netfrag/conf/applications.conf to match new path
914      x apachectl configtest
915        fopen: No such file or directory
916        apache: could not open document config file /data/www/conf/tutos-httpd.conf
917        x cd virtual/netfrag
918        x grep -rin "www/conf" *
919        x edit applications.conf:21
920          x was: Include /data/www/conf/tutos-httpd.conf
921          x is: Include /data/www/global/conf/tutos-httpd.conf
922      x apachectl configtest
923        Warning: DocumentRoot [/data/www/virtual/netfrag/sites/webnews] does not exist
924        fopen: No such file or directory
925        apache: could not open document config file /data/www/conf/dynamic.conf
926        x grep -rin webnews *
927          x edit applications.conf:30
928            x was: Alias /webnews/ /data/www/global/apps/newsportal/
929            x is: Alias /webnews/ /data/www/global/apps/newsportal/
930          x edit httpd.conf:74
931            x was: DocumentRoot /data/www/virtual/netfrag/sites/webnews
932            x is: DocumentRoot /data/www/virtual/netfrag/sites/news
933         x cd global/conf
934         x grep -rin www/conf *
935          x STDOUT-PARSE:
936            httpd.conf:14:#Include /data/www/conf/httpd-php-perl.conf
937            httpd.conf:16:#Include /data/www/conf/virtualdomains-httpd.conf
938            httpd.conf:29:Include /data/www/conf/dynamic.conf
939              ->FILE-MODIFY: httpd.conf:29:Include /data/www/global/conf/dynamic.conf
940      x apachectl configtest
941          root@quepasa:/data/www/global/conf# apachectl configtest
942          configuring dynamic domain "golf5.de"
943          configuring dynamic domain "smartmen.de"
944          configuring dynamic domain "ballonflug.de"
945          Syntax OK
946      x /etc/init.d/apache restart
947      x testing "http://netfrag.org/" fails
948      x testing "http://netfrag.org/index.php"
949        x makes redirect to "http://netfrag.org/nfoweb/" but fails there
950      x tail -f tail -f /data/www/virtual/netfrag/log/error_log
951        [Sun Jan 26 15:32:04 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
952        [Sun Jan 26 15:33:02 2003] [error] [client 217.231.119.195] File does not exist: /data/www/virtual/netfrag/pub/
953        [Sun Jan 26 16:37:37 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
954        [Sun Jan 26 16:38:08 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
955        [Sun Jan 26 16:40:10 2003] [error] [client 217.231.119.195] Symbolic link not allowed: /data/www/virtual/netfrag/sites/public/nfoweb/
956    
957    
958    o register:
959      public.netfrag.org -> http://netfrag.org
960      secure.netfrag.org -> https://netfrag.org
961      
962    o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/!
963    o netfrag.org: DispatchRequest for http://netfrag.org/rrr/!
964    
965    o IntroduceMergePoint at http://netfrag.org/doc/
966      o MiniHowto
967      o faqs (e.g. from news://news.netfrag.org/nfo.faq.users
968    
969    o what about an "AUTOSAVE"-feature for UltraEdit when leaving the window or
970      o an AUTOCOMMIT on that very event (maybe integrated with a counter)
971      
972    o write scripts to iterate recursively through directories under specified path ...
973      o ... and do some actions on each directory, e.g.
974      o execute some specified .dot-files (e.g. .pod2htmlrc, .symlinkrc, .makedocrc)
975      
976    x CVSSpam in action:
977      10146 ?        S      0:00 /usr/sbin/sshd
978      10148 ?        S      0:00 /usr/sbin/sshd
979      10149 ?        S      0:00 cvs server
980      10150 ?        S      0:00 cvs server
981      10151 ?        S      0:00 /bin/login
982      10155 ?        S      0:00 /usr/bin/ruby -w /var/lib/cvs/CVSROOT/collect_diffs.rb --to joko@netfrag
983      10158 ?        S      0:00 /usr/bin/ruby /var/lib/cvs/CVSROOT/cvsspam.rb /tmp/#cvs.loginfo.10149.10
984      
985    x as Chora'sStylesheet has come active (by accident) when viewing this file view web
986       we should include this as a fixed default making horde our default stylesheet delivery engine (for now)
987    
988    o link-checker for netfrag.org
989    
990    o dispatcher for style.netfrag.org redirecting to <link href="/horde/css.php?app=chora" rel="stylesheet" type="text/css" />?
991      o styleme.php
992      o brandme.php
993      
994    
995    
996    o mini-howto: "HttpRedirect"
997    
998    o how to refactor the MiniHowtos?
999      o into a wiki? wikis seem to miss offline/distributed capabilities! (for now)
1000      x into pod
1001        x build offline
1002        o build online
1003      o into DocBook?
1004      o into tavi? (or "TaviWorkflow"?)
1005      o but: LinkWithWikiAutomagically to get everything together
1006        o look at the InterwikiMechanism
1007        o look at the various WikiPluginArchitectures
1008        o look at YakkaDev!
1009    
1010    o a LinkageExample: RenderThis(html4|text|html3|pdf) with [[yakka]] and [[tavi-workflow]]!
1011      o this could mean:
1012        o use the declared formats as output filters for viewing target in other formats / styles
1013    
1014    o proposal for hierarchical structure (and HomePage) of netfrag.org
1015      ~overview -> SomeWiki -> Overview
1016        ~projects (include some common text here)
1017        ~users (include some common text here)
1018          - Page: UserArea
1019          - Page: ~users
1020      ~projects -> SomeWiki-> Projects
1021      ~users (include former page "User area" (now UserArea) automagically at the bottom here! (WikiInclude?))
1022        ~rabit (raBit's router - psl.no-ip.com)
1023        ~natraj (sam's place - optix)
1024        ~joko (joko's)
1025        ~bareface (->yakka)
1026    
1027    o MasterWorkflow:
1028      -> TheThreeGoodThings
1029        -> HaveIdea -> WriteDown (RefactorLater) -> WriteDownMore -> WriteDownAssociations -> WriteDownEvenMoreIfNotStoppedByExternalInfluences
1030        -> RefactorIdeas -> Categorize -> AddNotes -> AddTasks
1031        -> DoThings -> ReadTasks -> DoTasks
1032      -> TheFourthBadThing: TimeTrackAllThis  ;-)  (it seems to be not so far away....)
1033    
1034    o what do we need / what do we do?
1035      --- researcher
1036        o OnlineReading
1037        (o SelectItemsForDownload)  <- want-to-have
1038        (o DownloadItems)  <- want-to-have
1039      --- researcher
1040        o OfflineReading
1041        x ClumsyOfflineReading  <- status-quo
1042          (o NiceOfflineReading)  <- want-to-have
1043          (o OfflineArchiving)  <- want-to-have
1044        o OfflineEditing (text, html, pod, tavi)
1045        o OnlinePublishing (<all - everything what has been rendered or archived offline>)
1046      --- engine
1047        o LiveDispatching (ContentEncoding, ContentConversion, EnvelopeEncapsulation, GatewayToXyz)
1048          o OfflineRendering (html, text, pdf, chm)
1049      --- reader
1050        o OnlineReading (<everything that has been published>)
1051        (o SelectItemsForDownload)  <- want-to-have
1052        (o DownloadItems)  <- want-to-have
1053        o OfflineReading (pdf, chm)
1054    
1055    o link to http://teamsonar.no-ip.com
1056    
1057    o mail announces to announce@netfrag.org
1058    
1059    o no symlinks in webroot anymore? use ApacheAliases?
1060    
1061    o MiniHowto: NfoLinkageSystem(->news.nfo.announce)
1062      o this declaration could mean:
1063        o UseResources:
1064          o look up "NfoLinkageSystem" as subject in newsgroup "news.nfo.announce" on default newsserver
1065        o RenderThisWay:
1066          o embed into document - html3
1067          o embed into document - dhtml (ExpandTree, CollapseTree)
1068          o LinkToIt (JumpToMechanism(->minihowto))
1069    
1070    o php: appcontrol: reads .appcontrolrc-files recursively from directories and adds/removes users or sets passwords
1071        according to specification in there
1072    
1073    o source-code parser which creates documentation with wiki techniques
1074      o pod2tavi -> tavi2html
1075      o phpDoc <- tavi-plugin?
1076    
1077    o integrate yakka and newsportal:
1078      o make a yakka-page of embedded news-articles / threads / thread-parts (a NewsComposition) (->YakkaPageMetadata)
1079        o article-sources
1080          o all items from one news-server
1081          o !!! from different news-servers !!!
1082        o add a "CommentThis"-links to each item when rendering
1083        o when user posts the answer on YakkaEditPage
1084          o make yakka post to the article's associated news-server (read from YakkaItemMetadata)
1085          o wait until new article is published, then ...
1086            o ... add to NewsComposition (update YakkaPageMetadata) (->AsynchronousBackendDaemon)
1087            o ... use/introduce a MetaItem "New" into YakkaPageMetadata (at TopLevel)
1088              which shows NewItems(->self, ->live) per thread or newsgroup
1089      
1090    
1091        
1092    
1093  </pre>  </pre>
1094    

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.67

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