netfrag.org . Pad . Joko-2004-09-06


html2wml: /usr/lib/cgi-bin/html2wml


xcvs:

xcvs: patchset.c:121: revision_compare: Assertion `x->rev_number_id = y->rev_number_id' failed. Aborted

hmmm, trying new cvs version (1.11.17-2) and re-enabling xcvs "-S" rlog option


CVS Monitor:

http://ali.as/devel/cvsmonitor/installing.html install cvsmonitor from .tar.gz to /usr/lib/cgi-bin/cvsmonitor

#> cpan (cpan> install Bundle::CVSMonitor)

Chart::Math::Axis: libchart-perl Class::Handle File::Find::Rule: libfile-find-rule-perl File::NCopy: libfile-ncopy-perl File::Remove GD::Graph: libgd-graph-perl GD::Text: libgd-text-perl HTTP::BrowserDetect: libhttp-browserdetect-perl Number::Compare: libnumber-compare-perl Proc::ProcessTable: libproc-process-perl Sort::Versions: libsort-versions-perl Text::Glob: libtext-glob-perl Time::Duration: libtime-duration-perl Time::ParseDate: libtimedate-perl Validate::Net XML::Generator: libxml-generator-perl

list for pasting to #> apt-get install libchart-perl libfile-find-rule-perl libfile-ncopy-perl libgd-graph-perl libgd-text-perl libhttp-browserdetect-perl libnumber-compare-perl libproc-process-perl libsort-versions-perl libtext-glob-perl libtime-duration-perl libtimedate-perl libxml-generator-perl

list for pasting to cpan> Chart::Math::Axis Class::Handle File::Remove Time::ParseDate Validate::Net

disabling setup script: chmod a-x /usr/lib/cgi-bin/cvsmonitor/setup.pl

these are the directories CVS Monitor lives on quepasa: /usr/lib/cgi-bin/cvsmonitor /data/www/virtual/netfrag/sites/public/cvsmonitor metadata is stored here: /var/cache/apache/CVSMonitor_MetaData_0_6/

this is its unix-account: cvsmonitor/cvsmon33


some packages related to cvs: cvs-autoreleasedeb - Automatically release/upload debian packages from CVS cvs-buildpackage - A set of Debian package scripts for CVS source trees. cvs-mailcommit - Send CVS commitments via mail

cvs-syncmail - Notification program for CVS checkins cvs2cl - CVS-log-message-to-ChangeLog conversion script cvs2html - create HTML versions of CVS logs cvs2svn - Convert a cvs repository to a subversion repository

cvsbook - Open Source Development with CVS, the book cvsbook-ja - Open Source Development with CVS ; Japanese Translation cvsd - Chroot wrapper to run `cvs pserver' more securely cvsdelta - Summarize differences in a CVS repository cvsgraph - Create a tree of revisions/branches from a CVS/RCS file cvsps - Tool to generate CVS patch set information cvsreport - Extract activity reports from a CVS repository cvsutils - CVS utilities for use in working directories cvsweb - a CGI interface to your CVS repository

statcvs - CVS Repository statistic analysis tool, written in Java


config-manager - manage directories with Arch, CVS, HTTP and/or FTP rancid-cgi - CGI for rancid rancid-core - rancid -- Really Awesome New Cisco confIg Differ rancid-util - Utilities for rancid unison - A file-synchronization tool for Unix and Windows rssh - Restricted shell allowing only scp, sftp, cvs, rsync and/or rdist lxr-cvs - A general hypertext cross-referencing tool chill-2.95 - The GNU CHILL compiler curves - colorful console interface for CVS version control


look at installation tool of CVS Monitor: http://netfrag.org/cgi-bin/cvsmonitor/setup.pl?cmd=viewPerl

purge not required databases from mysql

announce four new apps @netfrag.org: RssReader?, CVSHistory, XCVS, CVS Monitor

RSS Bandit: http://www.kuro5hin.org/story/2003/8/23/154240/533 http://www.gotdotnet.com/workspaces/workspace.aspx?id=cb8d3173-9f65-46fe-bf17-122e3703bb00

The Comment API: http://wellformedweb.org/story/9/ Comment API Implementations: http://wellformedweb.org/news/35 Exposing RSS Comments: http://www.sellsbrothers.com/spout/#exposingRssComments


RSS in ICE: http://www.io.com/~laird/rss-in-ice.html

ROSA: An Open Source, Customisable RSS Aggregator and Filter http://www.jisc.ac.uk/index.cfm?name=project_rosa Urchin RSS Aggregator http://urchin.sourceforge.net/

libxml-rss-perl - Perl module for managing RSS (RDF Site Summary) files

JeeWiz?! - The Model-Driven Enterprise System Builder http://www.jeewiz.com/

Writing Version Controllable XML http://www.oracle.com/technology/products/jdev/tips/duff/teamxml.html

Merge XSD documents (XML Schemas) in java program http://theserverside.com/discussions/thread.tss?thread_id=28149

http://www.programurl.com/software/merge-xml-files.htm

http://jaffa.sourceforge.net/


rss-merge:

using rss-merge.xsl from http://ex-code.com/rss-merge/

1. trying to use it via sablotron: #> sabcmd rss-merge.xsl all.rdf out.rdf ...but: Error [code:60] [URI:file:/data/home/service/bin/rss-merge.xsl] [line:52] [node:element ''] xsl:message (This stylesheet requires XSLT 1.1 or above.) - terminating root@quepasa:/home/service/bin# man sabcmd

2. trying xsltproc:

The XSLT C library for Gnome: http://xmlsoft.org/XSLT/

#> apt-cache search xsl gives: [...] libxslt1 - XSLT processing library - runtime library libxslt1-dev - XSLT processing library - development kit libxslt1-python2.3 - Python 2.3 bindings for libxslt1 libxslt1.1 - XSLT processing library - runtime library [...] xsltproc - XSLT command line processor [...]

#> apt-get install xsltproc

#> xsltproc -o out.rdf rss-merge.xsl all.rdf This stylesheet requires XSLT 1.1 or above.

3. trying saxon #> apt-cache search saxon [...] lib-saxon-java - The Saxon XSLT Processor libsaxon-java - The Saxon XSLT Processor libsaxon-java-doc - The Saxon XSLT Processor's documentation and javadoc saxon-catalog - Catalog support and wrapper for the Saxon XSLT Processor [...]

#> apt-cache show lib-saxon-java|libsaxon-java ..decision:

#> apt-get install lib-saxon-java (depends on java-common only!)

Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: java-common The following NEW packages will be installed: java-common lib-saxon-java 0 packages upgraded, 2 newly installed, 0 to remove and 388 not upgraded. Need to get 1731kB of archives. After unpacking 12.1MB will be used. Do you want to continue? [Y/n] Get:1 ftp://ftp.de.debian.org unstable/main java-common 0.22 [68.2kB] Get:2 ftp://ftp.de.debian.org unstable/contrib lib-saxon-java 6.4.4-1 [1662kB] Fetched 1731kB in 1s (1566kB/s)

#> dpkg -s java-common #> dpkg -L java-common

4. Java - uhhh, ohhhh, Java enters quepasa!!!

#> apt-get install sablevm

original: #java -jar /java/saxon8.jar -o /website/all.rdf all.rdf rss-merge.xsl param-rss-max-items=5

our calls:

#> sablevm --classpath="/usr/share/java/saxon.jar" com.icl.saxon.StyleSheet all.rdf rss-merge.xsl >out.rdf This stylesheet requires XSLT 1.1 or above. Processing terminated by xsl:message at line 52

#> apt-get install kaffe

#> kaffe -classpath /usr/share/java/saxon.jar com.icl.saxon.StyleSheet -o out.rdf all.rdf rss-merge.xsl param-rss-max-items=5 This stylesheet requires XSLT 1.1 or above. Processing terminated by xsl:message at line 52

5. so we should install Saxon 8.0B:

#> wget http://puzzle.dl.sourceforge.net/sourceforge/saxon/saxonb8-0.zip #> unzip saxonb8-0.zip #> cp saxon8* /usr/share/java/

#> kaffe -jar /usr/share/java/saxon8.jar -o out.rdf all.rdf rss-merge.xsl param-rss-max-items=5 java.lang.NullPointerException [...]

#> sablevm --classpath="/usr/share/java/saxon8.jar" net.sf.saxon.Transform all.rdf rss-merge.xsl >out.rdf java.lang.ClassNotFoundException: javax.xml.transform.sax.SAXTransformerFactory

#> apt-get install libjaxp1.2-java #> dpkg -L libjaxp1.2-java /. /usr /usr/share /usr/share/doc /usr/share/doc/libjaxp1.2-java /usr/share/doc/libjaxp1.2-java/README.dom.txt /usr/share/doc/libjaxp1.2-java/README.sax.txt /usr/share/doc/libjaxp1.2-java/copyright /usr/share/doc/libjaxp1.2-java/changelog.Debian.gz /usr/share/java /usr/share/java/jaxp-1.2.jar

=>

#> sablevm --classpath="/usr/share/java/saxon8.jar:/usr/share/java/jaxp-1.2.jar" net.sf.saxon.Transform all.rdf rss-merge.xsl javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.SAXParserFactoryImpl not found #> apt-get install libxerces2-java

#> dpkg -L libxerces2-java /. /usr /usr/share /usr/share/java /usr/share/java/xercesImpl.jar /usr/share/doc /usr/share/doc/libxerces2-java /usr/share/doc/libxerces2-java/ISSUES /usr/share/doc/libxerces2-java/STATUS /usr/share/doc/libxerces2-java/TODO /usr/share/doc/libxerces2-java/README /usr/share/doc/libxerces2-java/README.Debian /usr/share/doc/libxerces2-java/copyright /usr/share/doc/libxerces2-java/changelog.Debian.gz /usr/share/java/xmlParserAPIs.jar

#> sablevm --classpath="/usr/share/java/saxon8.jar:/usr/share/java/jaxp-1.2.jar:/usr/share/java/xercesImpl.jar:/usr/share/java/xmlParserAPIs.jar" net.sf.saxon.Transform all.rdf rss-merge.xsl

works! (seems to...)


RSS 1.0 Modules: Taxonomy http://web.resource.org/rss/1.0/modules/taxonomy/

MetaVocab? (Proposed) http://webns.net/mvcb/

GinDjin? - mobile download platform and communication gateway http://www.gingerall.com/charlie/ga/xml/p_gindjin.xml

devtodo - hierarchical, prioritised todo list manager kxsldbg - graphical XSLT debugger for KDE xsltproc - XSLT command line processor xmlto - XML-to-any converter


shortcut for "apt-cache search " #> alias pkgsearch='apt-cache search $1'


cvs-upgrade (again) to 1.12.9 http://ftp.de.debian.org/debian/pool/main/c/cvs/cvs_1.12.9-4_i386.deb why? it includes cvs-pserver required for CVS Monitor + Access Control


1. strange error when committing file:

root@quepasa:/data/www/global/apps/xcvs# cvs commit index.php cvs commit: warning: commitinfo line contains no format strings: "/var/lib/cvs/CVSROOT/record_lastdir.rb" Appending defaults (" %r/%p %s"), but please be aware that this usage is deprecated. /var/lib/cvs/nfo/hosts/quepasa.netfrag.org/data/www/global/apps/xcvs/index.php,v <-- index.php initial revision: 1.1

cvs commit: warning: Set to use deprecated info format strings. Establish compatibility with the new info file format strings (add a temporary '1' in all info files after each '%' which doesn't represent a literal percent) and set UseNewInfoFmtStrings?=yes in CVSROOT/config. After that, convert individual command lines and scripts to handle the new format at your leisure.


this seems to come from new cvs version!!???

Solutions from these resources: http://twistedmatrix.com/pipermail/cvstoys-list/2004q3/000175.html https://www.cvshome.org/docs/manual/cvs-1.12.6/cvs_18.html#SEC168

2. new error: cvs commit: Using deprecated info format strings. Convert your scripts to use the new argument format and remove '1's from your info file format strings.

Answers and solutions: http://lists.gnu.org/archive/html/info-cvs/2004-03/msg00416.html

3. and again: xcvs does not seem to work together with cvs 1.12.9, it's creating entries with 0 (zero) values as dates inside "patchset" and "revision" tables => downgrading to cvs 1.11.17 (dpkg) xcvs is working again...

Hint: delete distorted data by issuing: DELETE FROM `patchset` WHERE date_start=0; DELETE FROM `revision` WHERE date=0;

4. but: root@quepasa:/etc# cvs commit cron.d/sendmail cvs [commit aborted]: 'root' is not allowed to commit files

found: https://www.cvshome.org/docs/manual/cvs-1.11.6/cvs_21.html

solution: getting source of 1.11.17 from cvshome.org

#> tar -xjf cvs-1.11.17.tar.bz2 #> cd cvs-1.11.17 #> ./configure --enable-rootcommit

no! stop!

just trying "cvs_1.11.1p1debian-9woody7_i386.deb" before: #> wget http://security.debian.org/debian-security/pool/updates/main/c/cvs/cvs_1.11.1p1debian-9woody7_i386.deb

root@quepasa:/home/service/download# dpkg -i cvs_1.11.1p1debian-9woody7_i386.deb dpkg - warning: downgrading cvs from 1.11.17-2 to 1.11.1p1debian-9woody7.


switch to xinetd?

Reiser4!!!

cvsd: a cvs pserver daemon http://tiefighter.et.tudelft.nl/~arthur/cvsd/about.html

alias nfoupdate='cd /data/www/virtual/netfrag/sites/public/nfo; cvs -q update -d; cd -'

Secure CVS Pserver Mini-HOWTO: http://www.geniusweb.com/LDP/HOWTO/Secure-CVS-Pserver/

CVSGrab: http://cvsgrab.sourceforge.net/

cvs mit eigener passwort-datei: http://www.php-homepage.de/artikel/artikel9.html#k2


tutorial: language-overview: compare lanugages (basic, pascal, vb, php, perl, bash, python, ruby) a) data types (primitives): scalar, array, hash b) procedural functions c) modules, namespaces (import & co.), classes & objects d) misc d.1) by ref or not by ref

-- Main.joko - 06 Sep 2004

----- Revision r1.3 - 06 Sep 2004 - 14:04 - Main.joko