/[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.16 by joko, Sat Mar 8 08:56:05 2003 UTC revision 1.49 by joko, Tue Mar 11 22:26:26 2003 UTC
# Line 12  Line 12 
12  @cvs-info  @cvs-info
13    $Id$    $Id$
14    $Log$    $Log$
15      Revision 1.49  2003/03/11 22:26:26  joko
16      + AUTOCOMMIT: updated/added content
17    
18      Revision 1.48  2003/03/11 22:03:23  joko
19      + AUTOCOMMIT: updated/added content
20    
21      Revision 1.47  2003/03/11 21:05:22  joko
22      + AUTOCOMMIT: updated/added content
23    
24      Revision 1.45  2003/03/11 18:55:52  joko
25      + AUTOCOMMIT: updated/added content
26    
27      Revision 1.43  2003/03/11 17:56:02  joko
28      + AUTOCOMMIT: updated/added content
29    
30      Revision 1.42  2003/03/11 15:26:01  joko
31      + AUTOCOMMIT: updated/added content
32    
33      Revision 1.41  2003/03/11 14:56:02  joko
34      + AUTOCOMMIT: updated/added content
35    
36      Revision 1.40  2003/03/11 06:25:59  joko
37      + AUTOCOMMIT: updated/added content
38    
39      Revision 1.39  2003/03/11 05:56:44  joko
40      + AUTOCOMMIT: updated/added content
41    
42      Revision 1.38  2003/03/11 05:26:23  joko
43      + AUTOCOMMIT: updated/added content
44    
45      Revision 1.37  2003/03/11 04:25:58  joko
46      + AUTOCOMMIT: updated/added content
47    
48      Revision 1.36  2003/03/11 02:55:54  joko
49      + AUTOCOMMIT: updated/added content
50    
51      Revision 1.35  2003/03/11 01:55:57  joko
52      + AUTOCOMMIT: updated/added content
53    
54      Revision 1.34  2003/03/10 23:55:51  joko
55      + AUTOCOMMIT: updated/added content
56    
57      Revision 1.33  2003/03/10 18:55:55  joko
58      + AUTOCOMMIT: updated/added content
59    
60      Revision 1.32  2003/03/10 17:56:05  joko
61      + AUTOCOMMIT: updated/added content
62    
63      Revision 1.31  2003/03/10 16:25:55  joko
64      + AUTOCOMMIT: updated/added content
65    
66      Revision 1.30  2003/03/10 03:56:32  joko
67      + AUTOCOMMIT: updated/added content
68    
69      Revision 1.29  2003/03/10 03:27:24  joko
70      + AUTOCOMMIT: updated/added content
71    
72      Revision 1.27  2003/03/09 19:56:04  joko
73      + AUTOCOMMIT: updated/added content
74    
75      Revision 1.25  2003/03/08 23:26:21  joko
76      + AUTOCOMMIT: updated/added content
77    
78      Revision 1.24  2003/03/08 22:56:30  joko
79      + AUTOCOMMIT: updated/added content
80    
81      Revision 1.23  2003/03/08 18:26:20  joko
82      + AUTOCOMMIT: updated/added content
83    
84      Revision 1.21  2003/03/08 14:26:13  joko
85      + AUTOCOMMIT: updated/added content
86    
87      Revision 1.20  2003/03/08 13:56:42  joko
88      + AUTOCOMMIT: updated/added content
89    
90      Revision 1.19  2003/03/08 12:56:24  joko
91      + AUTOCOMMIT: updated/added content
92    
93      Revision 1.18  2003/03/08 12:27:20  joko
94      + AUTOCOMMIT: updated/added content
95    
96      Revision 1.17  2003/03/08 11:27:00  joko
97      + AUTOCOMMIT: updated/added content
98    
99    Revision 1.16  2003/03/08 08:56:05  joko    Revision 1.16  2003/03/08 08:56:05  joko
100    + AUTOCOMMIT: updated/added content    + AUTOCOMMIT: updated/added content
101    
# Line 475  x updated phpDocumentor to version from Line 559  x updated phpDocumentor to version from
559    o trying to get uml-rendering working    o trying to get uml-rendering working
560      x apt-get install dia      x apt-get install dia
561      x apt-get install dia2code      x apt-get install dia2code
562    
563    x setup org.droogs--Autodia: location http://www.droogs.org/autodia/
564      #> cd /tmp
565      #> /data/opt/tools/Autodia-1.4/autodia.pl -l php -i * -p /data/www/virtual/netfrag/docs/nfo/code/flib -O
566      x setup CPAN--Template: perl -MCPAN -e "install Template"
567      ->CPAN--TT2
568      ->CPAN--Splash!
569          Which Splash! colour scheme would you like to use to build the
570          documentation?  Acceptable values are:
571            Name     Colours
572            -------------------------
573            default  lilac/mauve
574            aqua     aqua/marine
575            blue     grey75/blue75
576            green    grey75/green75
577            grey     grey75/grey50
578            leon     red75/orange/white/black
579            red      grey75/red75
580          Enter name of colour scheme:  [default]
581      ->CPAN--AppConfig
582      ->CPAN--GD
583        CPAN.pm: Going to build L/LD/LDS/GD-2.06.tar.gz
584        NOTICE: This module requires libgd 2.0.5 or higher.
585        ->Debian--libgd2: apt-get install libgd2 libjpeg62 libpng2 xlibs zlib1g
586          ->Debian--debconf ->Debian--nethack-common ->Debian--xfree86-common
587              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
588              Installing new version of config file /etc/X11/Xsession.d/99xfree86-common_start ...
589               Adding system startup for /etc/init.d/xfree86-common ...
590                 /etc/rcS.d/S70xfree86-common -> ../init.d/xfree86-common
591              !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
592              Setting up X server socket directory /tmp/.X11-unix...done.
593              Setting up xlibs (4.2.1-6) ...
594              ->CPAN--Math::Trig
595           ->Debian--libgd2-xpm: apt-get install libgd2-xpm libgd2-xpm-dev
596              #> cd /.cpan/build/GD-2.06
597              #> make
598      x some further library-patches: cd /usr/lib
599        #> ln -s ln -s libperl.so.5.8 libperl.so
600        #> ln -s libpng.so.2 libpng.so
601        #> ln -s libfreetype.so.6 libfreetype.so
602        #> ln -s libjpeg.so.62 libjpeg.so
603      x test:
604        #> ld -l png|jpeg|freetype|perl|X11
605        X11 still fails with make GD!!!
606        #> cd /.cpan/build/GD-2.06
607        #> make
608          /usr/bin/ld: cannot find -lX11
609          collect2: ld returned 1 exit status
610          make: *** [blib/arch/auto/GD/GD.so] Error 1
611        #> apt-get install xlibs-dev
612        #> make
613        yai!
614        #> make test
615          t/GD..........ok 1/10libpng warning: Application was compiled with png.h from libpng-1.2.5
616          libpng warning: Application  is running with png.c from libpng-1.0.12
617          gd-png:  fatal libpng error: Incompatible libpng version in application and library
618        #> apt-get install libpng2-dev
619        #> apt-get install libjpeg62-dev
620          ... still the same error with "make test"
621        #> apt-get install libpng3 libpng3-dev
622        #> apt-get install libfreetype6-dev
623        The first output xml is seen! Great! Let's move on to graphviz:
624          Can't locate GraphViz.pm in @INC (@INC contains: /data/opt/tools/Autodia-1.4 /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 /data/opt/tools/Autodia-1.4/Autodia/Diagram.pm line 336.
625        #> apt-get install graphviz
626        ???#> perl -MCPAN -e "install Template"
627        #> perl -MCPAN -e "install Graphviz"
628          ->CPAN--IPC::Run
629          ->CPAN--Graph
630          ->CPAN--Math::Bezier
631          ->CPAN--Heap
632        Freetype Font's do not work!
633        #> apt-get install freetype2-tools
634        #> apt-get install libttf-dev
635        #> apt-get install xfonts-scalable
636        #> apt-get install xfonts-base
637        #> apt-get install ttf-freefont
638              Freefont Serif, Sans and Mono Truetype fonts:
639              A set of free high-quality TrueType fonts covering the UCS character set.
640              These fonts are similar to the (in)famous Helvetica, Times and Courier fonts.
641              http://packages.debian.org/unstable/x11/ttf-freefont.html
642        (#> apt-get install ttf-xfree86-nonfree ttf-larabie-deco ttf-larabie-straight ttf-larabie-uncommon)
643        #> defoma-font register-all /etc/defoma/hints/ttf-freefont.hints
644      o enhance:
645          root@quepasa:/home/joko/public_html/test# ./.autodiarc
646          getting pattern for php
647          using directory : /data/www/virtual/netfrag/docs/nfo/code/org.netfrag.glib
648          recursively searching files..
649        o the "php-pattern" should also contain namespaces and stuff
650          (components gets instantiated by either 'mkObject' or 'php::mkComponent')
651          make this possible!
652        
653    o quick (javascript) search for netfrag.org and packages.debian.org (xul?)
654    
655    o phpDirectoryIndex: include Joshua Eichhorns 'auth' [[http://cvs.joshuaeichorn.com/cvsweb.cgi/auth/]]
656    
657    @lookat http://cvs.joshuaeichorn.com/cvsweb.cgi/phpXmlTransform/
658    
659    o autodia: enhance with "projects"
660       <-> couple with phpDocumentor
661      
662    o phpDocumentor: try php 4.3.0 for having cross-indexed browsable source as an additional feature ;-)
663      o <-> link to pages prepared by Autodia
664      o add additional browser in top left frame for cross-domain-browsing (having multiple apis beside each other)
665      o the html-title! (make it unique!!!)
666      
667    o for Autodia:
668      o resize images to a) 800x600 portrait and b) DIN A 4 square or s.th.l.th.
669        => x .autozoom -> zoomall -> zoommulti -> zoomone
670      o stamp picture with header and footer (little expressions for including predefined title, current filename, date, etc.!)
671      o idea: render as SVG???
672      o class- and package-diagrams:
673        o "Class" for relationships of Code- and DB-Schema-classes
674        o "Package" for relationships of code-packages
675      o integrate with phpDocumentor:
676        /data/opt/tools/phpdocumentor/phpDocumentor/Converters/HTML/frames/templates/phpedit/templates/left_frame.tpl
677      o Autodia-TODO:
678        Add ability to split projects into multiple diagrams and group contents of
679        a diagram/subdir into system boxes - much improving clarity in big
680        projects.
681    
682    o glib-namespace aufräumen!
683    
684    o twingle
685      o what about "<pre>"-blocks?
686      o what about non-html-tags (e.g. <optional-var-name>)?
687       => we'll probably need a html-tag-db to solve this
688      o establish as RunnerAgent and IntervalRunnerAgent on quepasa!
689    
690    o phpDocumentIndex
691      o recognize symlinked directories!!!
692      o integrate with ImageZoom written for Autodia
693        -> manipulate images: zoom, rotate
694      o sort order:
695        o default: show directories on top
696        o make changable through columns
697      o option to force view of hidden files (e.g. dot-files)
698      o 24h-time-format (no AM/PM)
699      o UML-Class-diagram-icon for tutorial!!!
700    
701    o modify /etc/hosts entry by rule!!!!
702    
703    o Yakka: automate reinstallation (new IntervalRunnerAgent) of libxml2
704      #> dpkg -i /home/bareface/public_html/yakka/data/libxml2_2.4.19-4_i386.deb
705      #> /etc/init.d/apache restart
706    
707    o autozoom/runzoom
708      o from (e.g. test6/)
709      o to (e.g. test6/zoomed/)
710    
711    o global "last-recent-error"-page for admin to view errors occouring
712      ->SystemErrors
713      ->StepProcessing: ./.runrc: update|build|publish
714    
715    o clean up disks!!!
716      o h1.service.netfrag.org
717      o quepasa.netfrag.org
718    
719    o natraj/sorceress: server-consolidation?
720    
721    o monitor regularly: http://netfrag.org/docs/code/api/org.netfrag/errors.html
722    
723    o DataSource::Generic <-> ObjectList!!!
724    
725    o Yakka: (javascript-control):
726      o let CTRL + ENTER make a new para
727      o let CTRL + CTRL (double-hit) make a new page from WikiWord left of the cursor (splash into a new DHTML page!)
728    
729    x root@quepasa:/data# apt-get install pdumpfs
730    
731    o final solution for the libxml-problem?
732      root@quepasa:/home/service/backup# apt-get --fix-broken --show-upgraded --simulate dist-upgrade
733        Reading Package Lists... Done
734        Building Dependency Tree... Done
735        Correcting dependencies... Done
736        Calculating Upgrade... Done
737        The following packages will be REMOVED:
738          libxslt1 php4-domxml
739        0 packages upgraded, 0 newly installed, 2 to remove and 0  not upgraded.
740        Remv libxslt1 (1.0.27-1 ) [php4-domxml ]
741        Remv php4-domxml (4:4.2.3-11 )
742      root@quepasa:/tmp# apt-get install pdumpfs
743        Reading Package Lists... Done
744        Building Dependency Tree... Done
745        You might want to run `apt-get -f install' to correct these:
746        Sorry, but the following packages have unmet dependencies:
747          libxslt1: Depends: libxml2 (>= 2.5.0-1) but 2.4.19-4 is to be installed
748          php4-domxml: Depends: libxml2 (>= 2.5.0-1) but 2.4.19-4 is to be installed
749        E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
750      x dpkg --force-depends -r libxml2
751      o dpkg-liftpackage libxml2_2.4.19-4_i386.deb 2.5.0-1
752        x dpkg-deb -x libxml2_2.4.19-4_i386.deb fakepkg
753        x dpkg-deb -e libxml2_2.4.19-4_i386.deb
754        x mv DEBIAN fakepkg/
755        x dpkg-deb --build fakepkg libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
756        x dpkg -i libxml2_2.4.19-4_i386_fake_2.5.0-1.deb
757    
758    o announce on www.netfrag.org
759      o api-doc
760      o packages.netfrag.org (libxml2!)
761      o autogenerate:
762        o api-doc & diags
763        o twingle
764    
765    o ->search.netfrag.org/ruby
766    
767    o install and use 'monit' to monitor uml's!
768    
769    o refactor Yakka::YakkaSetup
770    
771    o quepasa - Error: AMaViS
772    
773       <screen>
774        Starting AMaViS Daemons: amavis-milter amavisd
775        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.
776        BEGIN failed--compilation aborted at /usr/sbin/amavisd line 54.
777       </screen>
778    
779      - probably because of perl-5.8.0?
780    
781      x apt-get install razor   #)§$&(
782      solution:
783        x dpkg --force-depends -r razor
784        x wget http://ftp.de.debian.org/debian/pool/main/r/razor/razor_1.20-1_all.deb
785        x dpkg -i razor_1.20-1_all.deb
786         => depends on 'libtime-hires-perl', so:
787          x wget http://ftp.de.debian.org/debian/pool/main/libt/libtime-hires-perl/libtime-hires-perl_1.20-4_i386.deb
788          x dpkg -i libtime-hires-perl_1.20-4_i386.deb
789            dpkg: dependency problems prevent configuration of libtime-hires-perl:
790             libtime-hires-perl depends on perlapi-5.6.0; however:
791              Package perlapi-5.6.0 is not installed.
792              ;-( /)(%(/$%%&$
793        => removing dependencies about everything from razor1-package
794          x dpkg -x razor_1.20-1_all.deb razor
795          x dpkg -r razor_1.20-1_all.deb
796          x mv DEBIAN/ razor/
797          x do: remove line 'Depends:' from DEBIAN/control
798          [x chmod -R 0755 razor/DEBIAN/] maybe!  (if: dpkg-deb: control directory has bad permissions 2755 (must be >=0755 and <=0775))
799          x dpkg -b razor razor_1.20-1_all_nodeps.deb
800          x cp razor_1.20-1_all_nodeps.deb /data/Packages/dists/stable/contrib/binary-i386/
801        =>
802          x dpkg -i /data/Packages/dists/stable/contrib/binary-i386/razor_1.20-1_all_nodeps.deb
803        => [test]
804          x /etc/init.d/amavis-milter start
805           <screen>
806            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.
807             at /usr/sbin/amavisd line 46
808            Compilation failed in require at /usr/sbin/amavisd line 46.
809            BEGIN failed--compilation aborted at /usr/sbin/amavisd line 46.      
810           </screen>
811        => [CPAN-install]
812          x perl -MCPAN -e "install Time::HiRes"
813           <screen>
814              [...]
815              compile -- compile -- compile
816              [...]
817              Running make install
818              Installing /usr/lib/perl/5.8.0/auto/Time/HiRes/HiRes.so
819              Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
820              Installing /usr/lib/perl/5.8.0/Time/HiRes.pm
821              Installing /usr/share/man/man3/Time::HiRes.3pm
822              Writing /usr/lib/perl/5.8.0/auto/Time/HiRes/.packlist
823              Appending installation info to /usr/lib/perl/5.8.0/perllocal.pod
824                /usr/bin/make install  -- OK
825           </screen>
826    
827      x probably because of perl-5.8.0? yes!  --  is it fixed now? let's try...  (again)
828          x /etc/init.d/amavis-milter restart
829            no! same error as above!
830          the problem is:
831          watch the output of 'perl -V' - at the bottom:
832          <screen>
833            Characteristics of this binary (from libperl):
834              Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
835              Built under linux
836              Compiled at Feb 17 2003 12:38:57
837              @INC:
838                /etc/perl
839                /usr/local/lib/perl/5.8.0
840                /usr/local/share/perl/5.8.0
841                /usr/lib/perl5
842                /usr/share/perl5
843                /usr/lib/perl/5.8.0
844                /usr/share/perl/5.8.0
845                /usr/local/lib/site_perl
846                .
847          </screen>
848    
849          The bad one is the "old" shared object coming with Time::HiRes for perl-5.6.1 living at
850          /usr/lib/perl5/auto/Time/HiRes/HiRes.so.
851          
852          We have these options:
853            1. delete this stuff
854            2. put a better version at '.'
855            3. place line '/usr/lib/perl/5.8.0' above of '/usr/lib/perl5'
856            4. copy stuff from '/usr/lib/perl/5.8.0' to '/usr/lib/perl5'
857          
858          Hmmm.....
859            I think i'll choose option 1.:
860            x rm -rf /usr/lib/perl5/auto/Time/HiRes
861            (or if you don't wanna be as brute-force)
862            x cd /usr/lib/perl5/auto/Time
863            x mv HiRes HiRes.old
864            
865        => let's try again:      
866          x /etc/init.d/amavis-milter restart
867            Time::HiRes object version 1.42 does not match bootstrap parameter 01.20 at /usr/lib/perl/5.8.0/DynaLoader.pm line 245.
868    
869        => ahhh...  (also testable via 'perl -MTime::HiRes')
870          x dpkg --force-depends -r libtime-hires-perl
871          => my fault! ;-)
872    
873      => so, everything works fine now....
874          x /etc/init.d/amavis-milter restart
875        
876    o BER.pm:  BER (Basic Encoding Rules) encoding and decoding.
877    
878    o use a common [[http://razor.sourceforge.net/artistic.html|"Artistic License"]]?
879    
880    o use pdumpfs!
881    
882    o what we build seems similar to Torque <-> Maven  (Tangram|XyZ+Data::Storage <-> nfo-libs|rap)
883    
884    o write meta-documentation about why it's required to lift version-numbers of debian-packages
885      -> Why dpkg-liftversion?
886      1. yakka: libxml2!!!
887      2. amavis-milter: razor-1-branch-required
888    
889    o installing pdumpfs as system-wide backup-system:
890      x mkdir -p /home/service/virtual/pdumpfs/var/data
891      x mkdir -p /home/service/virtual/pdumpfs/var/log
892      x cd /usr/local/bin
893      x ln -s /home/service/virtual/pdumpfs/backup .
894    
895    o feature: BrowsableBackup:
896      o missing: authentication via LDAP....
897    
898    o make up toolpack from shortcuts/*, dispatchmail, backup (->pdumfs), etc...
899      ->packages.service.netfrag.org
900      -->/usr/local/bin
901      
902    o one account - three services:
903      o wiki
904      o news
905      o backup
906      (o ssh) (not-a-must)
907    
908    o dpkg-modcontrol!!!
909    

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.49

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