/[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.51 by joko, Sun Jan 26 14:33:32 2003 UTC revision 1.66 by joko, Mon Jan 27 02:33:27 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.links.computing/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 731  o dispatchrequest - a multipurpose reque Line 802  o dispatchrequest - a multipurpose reque
802      x ln -s /data/www/global/apps/dispatchrequest .      x ln -s /data/www/global/apps/dispatchrequest .
803            
804        
805  o buildhtml -> docmaker  o buildhtml -> makedoc
806    
807  o TWIG & yakka?  o TWIG & yakka?
808    
# Line 792  x dpkg -x twig_2.7.5-4_all.deb tmp/ Line 863  x dpkg -x twig_2.7.5-4_all.deb tmp/
863    
864  o TWIG & OpenLDAP!?  o TWIG & OpenLDAP!?
865    
866  x quepasa.netfrag.org:  x ApacheMasterLayoutRefactoring: quepasa.netfrag.org:
867    x removed /data/www/doc to /data/www/global/apps    x removed /data/www/doc to /data/www/global/apps
868      x test:      x test:
869        x cd /data/www/virtual        x cd /data/www/virtual
# Line 822  x quepasa.netfrag.org: Line 893  x quepasa.netfrag.org:
893      apache: could not open document config file /data/www/conf/twiki-httpd.conf      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/      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      x nano /data/www/virtual/netfrag/conf/applications.conf to match new path
896    x    x apachectl configtest
897      fopen: No such file or directory      fopen: No such file or directory
898      apache: could not open document config file /data/www/conf/tutos-httpd.conf      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:  o register:
941    public.netfrag.org -> http://netfrag.org    public.netfrag.org -> http://netfrag.org
942    secure.netfrag.org -> https://netfrag.org    secure.netfrag.org -> https://netfrag.org
943        
944  o netfrag.org: dispatchrequest for http://netfrag.org/nfoweb/!  o netfrag.org: DispatchRequest for http://netfrag.org/nfoweb/!
945  o netfrag.org: dispatchrequest for http://netfrag.org/rrr/!  o netfrag.org: DispatchRequest for http://netfrag.org/rrr/!
946    
947  o merge at http://netfrag.org/doc/  o IntroduceMergePoint at http://netfrag.org/doc/
948    o MiniHowto    o MiniHowto
949    o faqs (e.g. from news://news.netfrag.org/nfo.faq.users    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  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)    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(->news.nfo.announce)
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    o integrate yakka and newsportal:
1051      o make a yakka-page of embedded news-articles / threads / thread-parts (a NewsComposition) (->YakkaPageMetadata)
1052        o article-sources
1053          o all items from one news-server
1054          o !!! from different news-servers !!!
1055        o add a "CommentThis"-links to each item when rendering
1056        o when user posts the answer on YakkaEditPage
1057          o make yakka post to the article's associated news-server (read from YakkaItemMetadata)
1058          o wait until new article is published, then ...
1059            o ... add to NewsComposition (update YakkaPageMetadata) (->AsynchronousBackendDaemon)
1060            o ... use/introduce a MetaItem "New" into YakkaPageMetadata (at TopLevel)
1061              which shows NewItems(->self, ->live) per thread or newsgroup
1062      
1063    
1064        
1065    
1066  </pre>  </pre>
1067    
1068  <hr/>  <hr/>

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.66

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