author | František Kučera <franta-hg@frantovo.cz> |
Sun, 06 Oct 2019 11:24:40 +0200 | |
branch | v_0 |
changeset 271 | a19312ab9db7 |
parent 256 | 822ffd23d679 |
child 299 | dd7aeff5ef0c |
permissions | -rw-r--r-- |
23
0d2729ed16ed
zkouška interního odkazu
František Kučera <franta-hg@frantovo.cz>
parents:
18
diff
changeset
|
1 |
<stránka |
0d2729ed16ed
zkouška interního odkazu
František Kučera <franta-hg@frantovo.cz>
parents:
18
diff
changeset
|
2 |
xmlns="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/strana" |
0d2729ed16ed
zkouška interního odkazu
František Kučera <franta-hg@frantovo.cz>
parents:
18
diff
changeset
|
3 |
xmlns:m="https://trac.frantovo.cz/xml-web-generator/wiki/xmlns/makro"> |
0d2729ed16ed
zkouška interního odkazu
František Kučera <franta-hg@frantovo.cz>
parents:
18
diff
changeset
|
4 |
|
256 | 5 |
<nadpis>Release v0.11</nadpis> |
6 |
<perex>fourth public release of Relational pipes</perex> |
|
7 |
<m:release>v0.11</m:release> |
|
4
1bb39595a51c
genrování hlavní nabídky #1
František Kučera <franta-hg@frantovo.cz>
parents:
2
diff
changeset
|
8 |
|
2
ab9099ff88fa
vkládání zápatí, jmenné prostory, saxon
František Kučera <franta-hg@frantovo.cz>
parents:
1
diff
changeset
|
9 |
<text xmlns="http://www.w3.org/1999/xhtml"> |
ab9099ff88fa
vkládání zápatí, jmenné prostory, saxon
František Kučera <franta-hg@frantovo.cz>
parents:
1
diff
changeset
|
10 |
<p> |
256 | 11 |
We are pleased to introduce you the new development version of <m:name/>. |
12 |
This release brings Recfile input and output and ASN.1 BER output: |
|
241 | 13 |
</p> |
14 |
||
15 |
<ul> |
|
16 |
<li> |
|
256 | 17 |
<strong>Recfile format support</strong>: |
18 |
Recfile is the native format of <a href="https://www.gnu.org/software/recutils/">GNU Recutils</a>. |
|
19 |
Recfiles are text files that contain records of various types. |
|
20 |
They are human-editable and serve as simple databases. |
|
21 |
<m:name/> now contain tools for converting relational data streams to and from the recfile format. |
|
22 |
This format is good for editing by hand or for storing in some version control system. |
|
23 |
GNU Recutils and <m:name/> can be used together for data processing or e.g. for data-driven scripting. |
|
250 | 24 |
</li> |
25 |
||
26 |
<li> |
|
256 | 27 |
<strong>ASN.1 BER output</strong>: |
28 |
Abstract Syntax Notation One (ASN.1) is traditional and well established language for describing interfaces and data structures in particular. |
|
29 |
This format/language is widespread and actively used in telecommunications, cryptography and other industries. |
|
30 |
<abbr title="Basic Encoding Rules">BER</abbr> is one of ASN.1 encodings. |
|
31 |
This release of <m:name/> bring <abbr title="This support will be further improved and extended in further releases.">basic</abbr> support for output in the BER format. |
|
32 |
Now it can serve as a preview (such data can be opened in dumpasn1 or wireshark) or a template (the source code can be modified to generate BER data in some particular format) |
|
33 |
and help with interaction with ASN.1 <em>native speakers</em>. |
|
241 | 34 |
</li> |
35 |
</ul> |
|
256 | 36 |
|
241 | 37 |
<p> |
256 | 38 |
See the <m:a href="examples">examples</m:a> and <m:a href="screenshots">screenshots</m:a> pages for details. |
151 | 39 |
</p> |
256 | 40 |
|
41 |
<p> |
|
42 |
Please note that this is still a development relasease and thus the API (libraries, CLI arguments, formats) might and will change. |
|
43 |
Any suggestions, ideas and bug reports are welcome in our <m:a href="contact">mailing list</m:a>. |
|
44 |
</p> |
|
151 | 45 |
|
46 |
<h3>Data types</h3> |
|
47 |
<ul> |
|
241 | 48 |
<li m:since="v0.8">boolean</li> |
49 |
<li m:since="v0.8">variable unsigned integer (prototype)</li> |
|
50 |
<li m:since="v0.8">string in UTF-8</li> |
|
151 | 51 |
</ul> |
52 |
<h3>Inputs</h3> |
|
53 |
<ul> |
|
256 | 54 |
<li m:since="v0.11">Recfile</li> |
241 | 55 |
<li m:since="v0.9">XML</li> |
56 |
<li m:since="v0.9">CSV</li> |
|
57 |
<li m:since="v0.9">file system</li> |
|
58 |
<li m:since="v0.8">CLI</li> |
|
59 |
<li m:since="v0.8">fstab</li> |
|
151 | 60 |
</ul> |
61 |
<h3>Transformations</h3> |
|
62 |
<ul> |
|
250 | 63 |
<li m:since="v0.10">guile: filtering and transformations defined in the Scheme language using GNU Guile</li> |
241 | 64 |
<li m:since="v0.8">grep: regular expression filter, removes unwanted records from the relation</li> |
65 |
<li m:since="v0.8">cut: regular expression attribute cutter (removes or duplicates attributes and can also DROP whole relation)</li> |
|
66 |
<li m:since="v0.8">sed: regular expression replacer</li> |
|
67 |
<li m:since="v0.8">validator: just a pass-through filter that crashes on invalid data</li> |
|
68 |
<li m:since="v0.8">python: highly experimental</li> |
|
151 | 69 |
</ul> |
70 |
<h3>Outputs</h3> |
|
71 |
<ul> |
|
256 | 72 |
<li m:since="v0.11">ASN.1 BER</li> |
73 |
<li m:since="v0.11">Recfile</li> |
|
241 | 74 |
<li m:since="v0.9">CSV</li> |
75 |
<li m:since="v0.8">tabular</li> |
|
76 |
<li m:since="v0.8">XML</li> |
|
77 |
<li m:since="v0.8">nullbyte</li> |
|
78 |
<li m:since="v0.8">GUI in Qt</li> |
|
79 |
<li m:since="v0.8">ODS (LibreOffice)</li> |
|
151 | 80 |
</ul> |
81 |
||
82 |
<p> |
|
219 | 83 |
Instalation was tested on Debian GNU/Linux 9.6. |
84 |
The process should be similar on other distributions. |
|
85 |
</p> |
|
151 | 86 |
|
256 | 87 |
<m:pre src="examples/release-v0.11.sh" jazyk="bash" odkaz="ano"/> |
151 | 88 |
|
219 | 89 |
<p> |
90 |
<m:name/> are modular thus you can download and install only parts you need (the libraries are needed always). |
|
91 |
Tools <code>out-gui.qt</code> and <code>tr-python</code> require additional libraries and are not built by default. |
|
92 |
</p> |
|
151 | 93 |
|
241 | 94 |
<p> |
95 |
The module <code>relpipe-in-filesystem</code> uses C++ filesystem API which is supported since GCC 8. |
|
96 |
This module can be compiled and seems usable even with GCC 6, but requires some patching (switch to the experimental API): |
|
97 |
</p> |
|
98 |
||
99 |
<m:pre jazyk="bash"><![CDATA[sed 's@#include <filesystem>@#include <experimental/filesystem>@g' -i "$RELPIPE_SRC"/relpipe-in-filesystem.cpp/src/FileAttributeFinder.h "$RELPIPE_SRC"/relpipe-in-filesystem.cpp/src/XattrAttributeFinder.h "$RELPIPE_SRC"/relpipe-in-filesystem.cpp/src/FilesystemCommand.h "$RELPIPE_SRC"/relpipe-in-filesystem.cpp/src/AttributeFinder.h |
|
100 |
sed 's@std::filesystem@std::experimental::filesystem@g' -i "$RELPIPE_SRC"/relpipe-in-filesystem.cpp/src/FileAttributeFinder.h "$RELPIPE_SRC"/relpipe-in-filesystem.cpp/src/XattrAttributeFinder.h "$RELPIPE_SRC"/relpipe-in-filesystem.cpp/src/FilesystemCommand.h "$RELPIPE_SRC"/relpipe-in-filesystem.cpp/src/AttributeFinder.h |
|
101 |
sed 's/.*PROPERTY CXX_STANDARD.*/#\0/g' -i "$RELPIPE_SRC"/relpipe-in-filesystem.cpp/src/CMakeLists.txt]]></m:pre> |
|
102 |
||
250 | 103 |
<p> |
104 |
The module <code>relpipe-tr-guile</code> uses GNU Guile 2.2 but can also work with 2.0. |
|
105 |
In such case, it requires this patch: |
|
106 |
</p> |
|
107 |
||
108 |
<m:pre jazyk="bash"><![CDATA[sed 's/guile-2\.2/guile-2.0/g' -i "$RELPIPE_SRC"/relpipe-tr-guile.cpp/src/CMakeLists.txt]]></m:pre> |
|
109 |
||
87
25dec6931f18
Lepší odsazení, tabulátory.
František Kučera <franta-hg@frantovo.cz>
parents:
23
diff
changeset
|
110 |
</text> |
4
1bb39595a51c
genrování hlavní nabídky #1
František Kučera <franta-hg@frantovo.cz>
parents:
2
diff
changeset
|
111 |
|
1 | 112 |
</stránka> |