/[cvs]/joko/doc/SampleTasks/joko_2003-03.twingle
ViewVC logotype

Diff of /joko/doc/SampleTasks/joko_2003-03.twingle

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

revision 1.20 by joko, Sat Mar 8 13:56:42 2003 UTC revision 1.57 by joko, Wed Mar 12 04:55:52 2003 UTC
# Line 12  Line 12 
12  @cvs-info  @cvs-info
13    $Id$    $Id$
14    $Log$    $Log$
15      Revision 1.57  2003/03/12 04:55:52  joko
16      + AUTOCOMMIT: updated/added content
17    
18      Revision 1.56  2003/03/12 04:26:09  joko
19      + AUTOCOMMIT: updated/added content
20    
21      Revision 1.55  2003/03/12 02:55:54  joko
22      + AUTOCOMMIT: updated/added content
23    
24      Revision 1.54  2003/03/12 01:55:58  joko
25      + AUTOCOMMIT: updated/added content
26    
27      Revision 1.53  2003/03/12 01:25:57  joko
28      + AUTOCOMMIT: updated/added content
29    
30      Revision 1.52  2003/03/11 23:55:58  joko
31      + AUTOCOMMIT: updated/added content
32    
33      Revision 1.51  2003/03/11 23:25:49  joko
34      + AUTOCOMMIT: updated/added content
35    
36      Revision 1.50  2003/03/11 22:56:12  joko
37      + AUTOCOMMIT: updated/added content
38    
39      Revision 1.48  2003/03/11 22:03:23  joko
40      + AUTOCOMMIT: updated/added content
41    
42      Revision 1.47  2003/03/11 21:05:22  joko
43      + AUTOCOMMIT: updated/added content
44    
45      Revision 1.45  2003/03/11 18:55:52  joko
46      + AUTOCOMMIT: updated/added content
47    
48      Revision 1.43  2003/03/11 17:56:02  joko
49      + AUTOCOMMIT: updated/added content
50    
51      Revision 1.42  2003/03/11 15:26:01  joko
52      + AUTOCOMMIT: updated/added content
53    
54      Revision 1.41  2003/03/11 14:56:02  joko
55      + AUTOCOMMIT: updated/added content
56    
57      Revision 1.40  2003/03/11 06:25:59  joko
58      + AUTOCOMMIT: updated/added content
59    
60      Revision 1.39  2003/03/11 05:56:44  joko
61      + AUTOCOMMIT: updated/added content
62    
63      Revision 1.38  2003/03/11 05:26:23  joko
64      + AUTOCOMMIT: updated/added content
65    
66      Revision 1.37  2003/03/11 04:25:58  joko
67      + AUTOCOMMIT: updated/added content
68    
69      Revision 1.36  2003/03/11 02:55:54  joko
70      + AUTOCOMMIT: updated/added content
71    
72      Revision 1.35  2003/03/11 01:55:57  joko
73      + AUTOCOMMIT: updated/added content
74    
75      Revision 1.34  2003/03/10 23:55:51  joko
76      + AUTOCOMMIT: updated/added content
77    
78      Revision 1.33  2003/03/10 18:55:55  joko
79      + AUTOCOMMIT: updated/added content
80    
81      Revision 1.32  2003/03/10 17:56:05  joko
82      + AUTOCOMMIT: updated/added content
83    
84      Revision 1.31  2003/03/10 16:25:55  joko
85      + AUTOCOMMIT: updated/added content
86    
87      Revision 1.30  2003/03/10 03:56:32  joko
88      + AUTOCOMMIT: updated/added content
89    
90      Revision 1.29  2003/03/10 03:27:24  joko
91      + AUTOCOMMIT: updated/added content
92    
93      Revision 1.27  2003/03/09 19:56:04  joko
94      + AUTOCOMMIT: updated/added content
95    
96      Revision 1.25  2003/03/08 23:26:21  joko
97      + AUTOCOMMIT: updated/added content
98    
99      Revision 1.24  2003/03/08 22:56:30  joko
100      + AUTOCOMMIT: updated/added content
101    
102      Revision 1.23  2003/03/08 18:26:20  joko
103      + AUTOCOMMIT: updated/added content
104    
105      Revision 1.21  2003/03/08 14:26:13  joko
106      + AUTOCOMMIT: updated/added content
107    
108    Revision 1.20  2003/03/08 13:56:42  joko    Revision 1.20  2003/03/08 13:56:42  joko
109    + AUTOCOMMIT: updated/added content    + AUTOCOMMIT: updated/added content
110    
# Line 560  x setup org.droogs--Autodia: location ht Line 653  x setup org.droogs--Autodia: location ht
653      Freetype Font's do not work!      Freetype Font's do not work!
654      #> apt-get install freetype2-tools      #> apt-get install freetype2-tools
655      #> apt-get install libttf-dev      #> apt-get install libttf-dev
656      #> apt-get install ttf-xfree86      #> apt-get install xfonts-scalable
657              #> apt-get install xfonts-base
658        #> apt-get install ttf-freefont
659              Freefont Serif, Sans and Mono Truetype fonts:
660              A set of free high-quality TrueType fonts covering the UCS character set.
661              These fonts are similar to the (in)famous Helvetica, Times and Courier fonts.
662              http://packages.debian.org/unstable/x11/ttf-freefont.html
663        (#> apt-get install ttf-xfree86-nonfree ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon)
664        #> defoma-font register-all /etc/defoma/hints/ttf-freefont.hints
665      o enhance:
666          root@quepasa:/home/joko/public_html/test# ./.autodiarc
667          getting pattern for php
668          using directory : /data/www/virtual/netfrag/docs/nfo/code/org.netfrag.glib
669          recursively searching files..
670        o the "php-pattern" should also contain namespaces and stuff
671          (components gets instantiated by either 'mkObject' or 'php::mkComponent')
672          make this possible!
673        
674  o quick (javascript) search for netfrag.org and packages.debian.org (xul?)  o quick (javascript) search for netfrag.org and packages.debian.org (xul?)
675    
676  o phpDirectoryIndex: include Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]]  o phpDirectoryIndex: include Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]]
677    
678  @lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/  @lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/
679    
680    o autodia: enhance with "projects"
681       <-> couple with phpDocumentor
682      
683    o phpDocumentor: try php 4.3.0 for having cross-indexed browsable source as an additional feature ;-)
684      o <-> link to pages prepared by Autodia
685      o add additional browser in top left frame for cross-domain-browsing (having multiple apis beside each other)
686      o the html-title! (make it unique!!!)
687      
688    o for Autodia:
689      o resize images to a) 800x600 portrait and b) DIN A 4 square or s.th.l.th.
690        => x .autozoom -> zoomall -> zoommulti -> zoomone
691      o stamp picture with header and footer (little expressions for including predefined title, current filename, date, etc.!)
692      o idea: render as SVG???
693      o class- and package-diagrams:
694        o "Class" for relationships of Code- and DB-Schema-classes
695        o "Package" for relationships of code-packages
696      o integrate with phpDocumentor:
697        /data/opt/tools/phpdocumentor/phpDocumentor/Converters/HTML/frames/templates/phpedit/templates/left_frame.tpl
698      o Autodia-TODO:
699        Add ability to split projects into multiple diagrams and group contents of
700        a diagram/subdir into system boxes - much improving clarity in big
701        projects.
702    
703    o glib-namespace aufräumen!
704    
705    o twingle
706      o what about "<pre>"-blocks?
707      o what about non-html-tags (e.g. <optional-var-name>)?
708       => we'll probably need a html-tag-db to solve this
709      o establish as RunnerAgent and IntervalRunnerAgent on quepasa!
710    
711    o phpDocumentIndex
712      o recognize symlinked directories!!!
713      o integrate with ImageZoom written for Autodia
714        -> manipulate images: zoom, rotate
715      o sort order:
716        o default: show directories on top
717        o make changable through columns
718      o option to force view of hidden files (e.g. dot-files)
719      o 24h-time-format (no AM/PM)
720      o UML-Class-diagram-icon for tutorial!!!
721    
722    o modify /etc/hosts entry by rule!!!!
723    
724    o Yakka: automate reinstallation (new IntervalRunnerAgent) of libxml2
725      #> dpkg -i /home/bareface/public_html/yakka/data/libxml2_2.4.19-4_i386.deb
726      #> /etc/init.d/apache restart
727    
728    o autozoom/runzoom
729      o from (e.g. test6/)
730      o to (e.g. test6/zoomed/)
731    
732    o global "last-recent-error"-page for admin to view errors occouring
733      ->SystemErrors
734      ->StepProcessing: ./.runrc: update|build|publish
735    
736    o clean up disks!!!
737      o h1.service.netfrag.org
738      o quepasa.netfrag.org
739    
740    o natraj/sorceress: server-consolidation?
741    
742    o monitor regularly: http://netfrag.org/docs/code/api/org.netfrag/errors.html
743    
744    o DataSource::Generic <-> ObjectList!!!
745    
746    o Yakka: (javascript-control):
747      o let CTRL + ENTER make a new para
748      o let CTRL + CTRL (double-hit) make a new page from WikiWord left of the cursor (splash into a new DHTML page!)
749    
750    x root@quepasa:/data# apt-get install pdumpfs
751    
752    o final solution for the libxml-problem?
753      root@quepasa:/home/service/backup# apt-get --fix-broken --show-upgraded --simulate dist-upgrade
754        Reading Package Lists... Done
755        Building Dependency Tree... Done
756        Correcting dependencies... Done
757        Calculating Upgrade... Done
758        The following packages will be REMOVED:
759          libxslt1 php4-domxml
760        0 packages upgraded, 0 newly installed, 2 to remove and 0  not upgraded.
761        Remv libxslt1 (1.0.27-1 ) [php4-domxml ]
762        Remv php4-domxml (4:4.2.3-11 )
763      root@quepasa:/tmp# apt-get install pdumpfs
764        Reading Package Lists... Done
765        Building Dependency Tree... Done
766        You might want to run `apt-get -f install' to correct these:
767        Sorry, but the following packages have unmet dependencies:
768          libxslt1: Depends: libxml2 (>= 2.5.0-1) but 2.4.19-4 is to be installed
769          php4-domxml: Depends: libxml2 (>= 2.5.0-1) but 2.4.19-4 is to be installed
770        E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
771      x dpkg --force-depends -r libxml2
772      o dpkg-liftpackage libxml2_2.4.19-4_i386.deb 2.5.0-1
773        x dpkg-deb -x libxml2_2.4.19-4_i386.deb fakepkg
774        x dpkg-deb -e libxml2_2.4.19-4_i386.deb
775        x mv DEBIAN fakepkg/
776        x dpkg-deb --build fakepkg libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
777        x dpkg -i libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
778    
779    o announce on www.netfrag.org
780      o api-doc
781      o packages.netfrag.org (libxml2!)
782      o autogenerate:
783        o api-doc & diags
784        o twingle
785    
786    o ->search.netfrag.org/ruby
787    
788    o install and use 'monit' to monitor uml's!
789    
790    o refactor Yakka::YakkaSetup
791    
792    o quepasa - Error: AMaViS
793    
794       <screen>
795        Starting AMaViS Daemons: amavis-milter amavisd
796        Can't locate Razor/Client.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/share/perl/5.8.0 /usr/local/lib/site_perl) at /usr/sbin/amavisd line 54.
797        BEGIN failed--compilation aborted at /usr/sbin/amavisd line 54.
798       </screen>
799    
800      - probably because of perl-5.8.0?
801    
802      x apt-get install razor   #)§$&(
803      solution:
804        x dpkg --force-depends -r razor
805        x wget http://ftp.de.debian.org/debian/pool/main/r/razor/razor_1.20-1_all.deb
806        x dpkg -i razor_1.20-1_all.deb
807         => depends on 'libtime-hires-perl', so:
808          x wget http://ftp.de.debian.org/debian/pool/main/libt/libtime-hires-perl/libtime-hires-perl_1.20-4_i386.deb
809          x dpkg -i libtime-hires-perl_1.20-4_i386.deb
810            dpkg: dependency problems prevent configuration of libtime-hires-perl:
811             libtime-hires-perl depends on perlapi-5.6.0; however:
812              Package perlapi-5.6.0 is not installed.
813              ;-( /)(%(/$%%&$
814        => removing dependencies about everything from razor1-package
815          x dpkg -x razor_1.20-1_all.deb razor
816          x dpkg -r razor_1.20-1_all.deb
817          x mv DEBIAN/ razor/
818          x do: remove line 'Depends:' from DEBIAN/control
819          [x chmod -R 0755 razor/DEBIAN/] maybe!  (if: dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775))
820          x dpkg -b razor razor_1.20-1_all_nodeps.deb
821          x cp razor_1.20-1_all_nodeps.deb /data/Packages/dists/stable/contrib/binary-i386/
822        =>
823          x dpkg -i /data/Packages/dists/stable/contrib/binary-i386/razor_1.20-1_all_nodeps.deb
824        => [test]
825          x /etc/init.d/amavis-milter start
826           <screen>
827            Can't load '/usr/lib/perl5/auto/Time/HiRes/HiRes.so' for module Time::HiRes: /usr/lib/perl5/auto/Time/HiRes/HiRes.so: undefined symbol: PL_stack_max at /usr/lib/perl/5.8.0/DynaLoader.pm line 225.
828             at /usr/sbin/amavisd line 46
829            Compilation failed in require at /usr/sbin/amavisd line 46.
830            BEGIN failed--compilation aborted at /usr/sbin/amavisd line 46.      
831           </screen>
832        => [CPAN-install]
833          x perl -MCPAN -e "install Time::HiRes"
834           <screen>
835              [...]
836              compile -- compile -- compile
837              [...]
838              Running make install
839              Installing /usr/lib/perl/5.8.0/auto/Time/HiRes/HiRes.so
840              Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
841              Installing /usr/lib/perl/5.8.0/Time/HiRes.pm
842              Installing /usr/share/man/man3/Time::HiRes.3pm
843              Writing /usr/lib/perl/5.8.0/auto/Time/HiRes/.packlist
844              Appending installation info to /usr/lib/perl/5.8.0/perllocal.pod
845                /usr/bin/make install  -- OK
846           </screen>
847    
848      x probably because of perl-5.8.0? yes!  --  is it fixed now? let's try...  (again)
849          x /etc/init.d/amavis-milter restart
850            no! same error as above!
851          the problem is:
852          watch the output of 'perl -V' - at the bottom:
853          <screen>
854            Characteristics of this binary (from libperl):
855              Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
856              Built under linux
857              Compiled at Feb 17 2003 12:38:57
858              @INC:
859                /etc/perl
860                /usr/local/lib/perl/5.8.0
861                /usr/local/share/perl/5.8.0
862                /usr/lib/perl5
863                /usr/share/perl5
864                /usr/lib/perl/5.8.0
865                /usr/share/perl/5.8.0
866                /usr/local/lib/site_perl
867                .
868          </screen>
869    
870          The bad one is the "old" shared object coming with Time::HiRes for perl-5.6.1 living at
871          /usr/lib/perl5/auto/Time/HiRes/HiRes.so.
872          
873          We have these options:
874            1. delete this stuff
875            2. put a better version at '.'
876            3. place line '/usr/lib/perl/5.8.0' above of '/usr/lib/perl5'
877            4. copy stuff from '/usr/lib/perl/5.8.0' to '/usr/lib/perl5'
878          
879          Hmmm.....
880            I think i'll choose option 1.:
881            x rm -rf /usr/lib/perl5/auto/Time/HiRes
882            (or if you don't wanna be as brute-force)
883            x cd /usr/lib/perl5/auto/Time
884            x mv HiRes HiRes.old
885            
886        => let's try again:      
887          x /etc/init.d/amavis-milter restart
888            Time::HiRes object version 1.42 does not match bootstrap parameter 01.20 at /usr/lib/perl/5.8.0/DynaLoader.pm line 245.
889    
890        => ahhh...  (also testable via 'perl -MTime::HiRes')
891          x dpkg --force-depends -r libtime-hires-perl
892          => my fault! ;-)
893    
894      => so, everything works fine now....
895          x /etc/init.d/amavis-milter restart
896        
897    o BER.pm:  BER (Basic Encoding Rules) encoding and decoding.
898    
899    o use a common [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]?
900    
901    o use pdumpfs!
902    
903    o what we build seems similar to Torque <-> Maven  (Tangram|XyZ+Data::Storage <-> nfo-libs|rap)
904    
905    o write meta-documentation about why it's required to lift version-numbers of debian-packages
906      -> Why dpkg-liftversion?
907      1. yakka: libxml2!!!
908      2. amavis-milter: razor-1-branch-required
909    
910    o installing pdumpfs as system-wide backup-system:
911      x mkdir -p /home/service/virtual/pdumpfs/var/data
912      x mkdir -p /home/service/virtual/pdumpfs/var/log
913      x cd /usr/local/bin
914      x ln -s /home/service/virtual/pdumpfs/backup .
915    
916    o feature: BrowsableBackup:
917      o missing: authentication via LDAP....
918    
919    o make up toolpack from shortcuts/*, dispatchmail, backup (->pdumpfs), etc...
920      ->packages.service.netfrag.org
921      -->/usr/local/bin
922      
923    o one account - three services:
924      o wiki
925      o news
926      o backup
927      (o ssh) (not-a-must)
928    
929    o dpkg-modcontrol!!!
930    
931    o robinson - purge package dependencies from .deb- or .rpm-packages
932      can alien do that?
933    
934    o rsync working: view from the server-side:
935     3968 ?        R      0:40 rsync --server --sender -vulogDtprz . /home/service/backup/
936    
937    x finally: we have a backup-system!
938      - built on top of pdumpfs (ruby!), gets triggered by cron through shortcut-script 'backup'
939      - backs up:
940        x /home/*   (except /home/service)
941        x /data/bin  (approx. 9.2M)
942        x /data/libs  (approx. 1.7M)
943        x /data/opt  (approx. 27M)
944        o /data/var  (approx. 104M)
945          o mysql-db
946          o news-spool
947        o /data/www  (approx. 126M)
948          x /data/www/virtual/lashlarue  (approx. 28M)
949          x /data/www/virtual/netfrag  (approx. 68M)
950          x /data/www/virtual/wac  (approx. 4M)
951      o productive backup should go to /var/pdumpfs (similar to /var/backup) instead of /home/service/virtual/pdumpfs!!!
952      o prevent recursive backups (what happens if the backup directory itself would be specified to backup???)
953      => #> crontab -e
954            adding line: 03 03 * * * bash /home/service/virtual/agent/backup_all
955      o limit size of files that are backuped without user-request!?! (2MB, 10MB, 100MB, 1G)
956    
957    o establish logfile-rotation with logrotate!!!
958      #> cd /data/www/virtual/lashlarue/log
959      #> gzip access_log
960      #> gzip error_log
961    
962    o more todos:
963      1. clean more diskspace
964        How to find files larger than, hmm, let's say: 512MB?
965        use 'dus'! [Disk Usage Sorter]
966        http://marginalhacks.com/bin/dus
967        x now disk-usage-stats are prepared to be generated at service.netfrag.org (dus/fbf)
968        o /home/uml/skels aufräumen!
969      2. draw more diagrams
970      3. let 'monit' monitor our umls
971      4. make more backups
972    
973    o look in /var/log/syslog after crash! (other logfiles?)
974    

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

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