Gentoo Archives: gentoo-commits

From: "Александр Берсенев" <bay@×××××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/autodep:master commit in: docs/build/html/_sources/, docs/build/html/_modules/package_utils/, ...
Date: Tue, 02 Aug 2011 20:36:32
Message-Id: 24cc5cf722f06b219ffbc5246c45e9a1de1a2f87.bay@gentoo
1 commit: 24cc5cf722f06b219ffbc5246c45e9a1de1a2f87
2 Author: Alexander Bersenev <bay <AT> hackerdom <DOT> ru>
3 AuthorDate: Wed Aug 3 02:35:28 2011 +0000
4 Commit: Александр Берсенев <bay <AT> hackerdom <DOT> ru>
5 CommitDate: Wed Aug 3 02:35:28 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/autodep.git;a=commit;h=24cc5cf7
7
8 small docs changes
9
10 ---
11 docs/build/doctrees/api.doctree | Bin 36541 -> 45408 bytes
12 docs/build/doctrees/environment.pickle | Bin 970608 -> 971389 bytes
13 docs/build/doctrees/intro.doctree | Bin 27603 -> 28313 bytes
14 docs/build/doctrees/man.doctree | Bin 25087 -> 25760 bytes
15 docs/build/html/_modules/index.html | 2 +-
16 docs/build/html/_modules/logfs/fstracer.html | 2 +-
17 .../_modules/package_utils/portage_log_parser.html | 2 +-
18 .../package_utils/portage_misc_functions.html | 2 +-
19 .../html/_modules/package_utils/portage_utils.html | 2 +-
20 docs/build/html/_sources/intro.txt | 21 ++-
21 docs/build/html/_sources/man.txt | 18 ++-
22 docs/build/html/api.html | 57 ++++++-
23 docs/build/html/genindex.html | 75 +++++----
24 docs/build/html/index.html | 2 +-
25 docs/build/html/intro.html | 49 +++---
26 docs/build/html/man.html | 46 +++--
27 docs/build/html/objects.inv | 9 +-
28 docs/build/html/py-modindex.html | 2 +-
29 docs/build/html/search.html | 2 +-
30 docs/build/html/searchindex.js | 2 +-
31 docs/build/man/autodep.1 | 186 ++++++++++++++++++++
32 docs/source/conf.py | 2 +-
33 docs/source/intro.rst | 18 ++-
34 docs/source/man.rst | 18 ++-
35 24 files changed, 399 insertions(+), 118 deletions(-)
36
37 diff --git a/docs/build/doctrees/api.doctree b/docs/build/doctrees/api.doctree
38 index c9fac92..bfb5a6d 100644
39 Binary files a/docs/build/doctrees/api.doctree and b/docs/build/doctrees/api.doctree differ
40
41 diff --git a/docs/build/doctrees/environment.pickle b/docs/build/doctrees/environment.pickle
42 index 3f1e1b1..3f806c9 100644
43 Binary files a/docs/build/doctrees/environment.pickle and b/docs/build/doctrees/environment.pickle differ
44
45 diff --git a/docs/build/doctrees/intro.doctree b/docs/build/doctrees/intro.doctree
46 index e59e70e..314b99e 100644
47 Binary files a/docs/build/doctrees/intro.doctree and b/docs/build/doctrees/intro.doctree differ
48
49 diff --git a/docs/build/doctrees/man.doctree b/docs/build/doctrees/man.doctree
50 index 5343497..a6ca5c2 100644
51 Binary files a/docs/build/doctrees/man.doctree and b/docs/build/doctrees/man.doctree differ
52
53 diff --git a/docs/build/html/_modules/index.html b/docs/build/html/_modules/index.html
54 index 9bb0382..a676437 100644
55 --- a/docs/build/html/_modules/index.html
56 +++ b/docs/build/html/_modules/index.html
57 @@ -86,7 +86,7 @@
58 </div>
59 <div class="footer">
60 &copy; Copyright 2011, Alexander Bersenev.
61 - Last updated on Jul 25, 2011.
62 + Last updated on Aug 03, 2011.
63 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
64 </div>
65 </body>
66
67 diff --git a/docs/build/html/_modules/logfs/fstracer.html b/docs/build/html/_modules/logfs/fstracer.html
68 index fc474a1..0214fa6 100644
69 --- a/docs/build/html/_modules/logfs/fstracer.html
70 +++ b/docs/build/html/_modules/logfs/fstracer.html
71 @@ -327,7 +327,7 @@
72 </div>
73 <div class="footer">
74 &copy; Copyright 2011, Alexander Bersenev.
75 - Last updated on Jul 25, 2011.
76 + Last updated on Aug 03, 2011.
77 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
78 </div>
79 </body>
80
81 diff --git a/docs/build/html/_modules/package_utils/portage_log_parser.html b/docs/build/html/_modules/package_utils/portage_log_parser.html
82 index 47f92b6..2c02aa7 100644
83 --- a/docs/build/html/_modules/package_utils/portage_log_parser.html
84 +++ b/docs/build/html/_modules/package_utils/portage_log_parser.html
85 @@ -170,7 +170,7 @@
86 </div>
87 <div class="footer">
88 &copy; Copyright 2011, Alexander Bersenev.
89 - Last updated on Jul 25, 2011.
90 + Last updated on Aug 03, 2011.
91 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
92 </div>
93 </body>
94
95 diff --git a/docs/build/html/_modules/package_utils/portage_misc_functions.html b/docs/build/html/_modules/package_utils/portage_misc_functions.html
96 index d95ce7d..637694c 100644
97 --- a/docs/build/html/_modules/package_utils/portage_misc_functions.html
98 +++ b/docs/build/html/_modules/package_utils/portage_misc_functions.html
99 @@ -188,7 +188,7 @@
100 </div>
101 <div class="footer">
102 &copy; Copyright 2011, Alexander Bersenev.
103 - Last updated on Jul 25, 2011.
104 + Last updated on Aug 03, 2011.
105 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
106 </div>
107 </body>
108
109 diff --git a/docs/build/html/_modules/package_utils/portage_utils.html b/docs/build/html/_modules/package_utils/portage_utils.html
110 index 94f8a00..58064e7 100644
111 --- a/docs/build/html/_modules/package_utils/portage_utils.html
112 +++ b/docs/build/html/_modules/package_utils/portage_utils.html
113 @@ -158,7 +158,7 @@
114 </div>
115 <div class="footer">
116 &copy; Copyright 2011, Alexander Bersenev.
117 - Last updated on Jul 25, 2011.
118 + Last updated on Aug 03, 2011.
119 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
120 </div>
121 </body>
122
123 diff --git a/docs/build/html/_sources/intro.txt b/docs/build/html/_sources/intro.txt
124 index 5ee0dd5..82278ac 100644
125 --- a/docs/build/html/_sources/intro.txt
126 +++ b/docs/build/html/_sources/intro.txt
127 @@ -5,7 +5,8 @@ Introduction
128 Overview
129 ===================================
130 Auto dependency builder is a tool for analysis files accessed during
131 -building a package. It also can be used for runtime dependencies analysis.
132 +building a package. It also can be used for buildtime and runtime dependency
133 +analysis.
134
135 The tool can block an access to files of defined packages.
136
137 @@ -23,17 +24,21 @@ Installing
138 Running
139 ===================================
140
141 -.. program:: showfsevents.py
142 +.. program:: autodep
143
144 .. code-block:: none
145
146 - showfsevents.py [options] <command>
147 + autodep [options] <command>
148
149 .. cmdoption:: --help, -h
150
151 show this help message and exit
152
153 -.. cmdoption:: -b PACKAGES, --block=PACKAGES
154 +.. cmdoption:: -b, --block
155 +
156 + strict mode: deny all access to non-dependency packages
157 +
158 +.. cmdoption:: --blockpkgs=PACKAGES
159
160 block an access to files from this packages
161
162 @@ -95,28 +100,28 @@ Examples
163
164 .. code-block:: none
165
166 - showfsevents.py emerge xchat
167 + autodep emerge xchat
168
169 .. rubric:: 2. Get the potential dependencies of a xchat package, blocking
170 x11-misc/util-macros package:
171
172 .. code-block:: none
173
174 - showfsevents.py emerge --block x11-misc/util-macros emerge xchat
175 + autodep emerge --block x11-misc/util-macros emerge xchat
176
177 .. rubric:: 3. Get the potential dependencies of a xchat package, and show files
178 accessed:
179
180 .. code-block:: none
181
182 - showfsevents.py --files emerge xchat
183 + autodep --files emerge xchat
184
185 .. rubric:: 4. Get the runtime dependencies of a xchat and show files
186 accessed:
187
188 .. code-block:: none
189
190 - showfsevents.py --fusefs --files xchat
191 + autodep --fusefs --files xchat
192
193
194
195
196 diff --git a/docs/build/html/_sources/man.txt b/docs/build/html/_sources/man.txt
197 index ca7fdab..b49fb54 100644
198 --- a/docs/build/html/_sources/man.txt
199 +++ b/docs/build/html/_sources/man.txt
200 @@ -5,7 +5,7 @@ USER COMMANDS
201 SYNOPSIS
202 ========
203
204 -**showfsevents.py** [options] <command>
205 +**autodep** [options] <command>
206
207 DESCRIPTION
208 ===========
209 @@ -18,13 +18,17 @@ The tool can block an access to files of defined packages.
210 OPTIONS
211 =======
212
213 -.. program:: showfsevents.py
214 +.. program:: autodep
215
216 .. cmdoption:: --help, -h
217
218 show this help message and exit
219
220 -.. cmdoption:: -b PACKAGES, --block=PACKAGES
221 +.. cmdoption:: -b, --block
222 +
223 + strict mode: deny all access to non-dependency packages
224 +
225 +.. cmdoption:: --blockpkgs=PACKAGES
226
227 block an access to files from this packages
228
229 @@ -79,17 +83,17 @@ Examples
230
231 Get the potential dependencies of a xchat package:
232 -----------------------------------------------------
233 -showfsevents.py emerge xchat
234 +autodep emerge xchat
235
236 Get the potential dependencies of a xchat package, blocking x11-misc/util-macros package:
237 --------------------------------------------------------------------------------------------
238 -showfsevents.py emerge --block x11-misc/util-macros emerge xchat
239 +autodep emerge --block x11-misc/util-macros emerge xchat
240
241 Get the potential dependencies of a xchat package, and show files accessed:
242 ------------------------------------------------------------------------------
243 -showfsevents.py --files emerge xchat
244 +autodep --files emerge xchat
245
246 Get the runtime dependencies of a xchat and show files accessed:
247 -------------------------------------------------------------------
248 -showfsevents.py --fusefs --files xchat
249 +autodep --fusefs --files xchat
250
251
252 diff --git a/docs/build/html/api.html b/docs/build/html/api.html
253 index cbbdce2..c5963a3 100644
254 --- a/docs/build/html/api.html
255 +++ b/docs/build/html/api.html
256 @@ -56,7 +56,7 @@ handling dependency logic.</p>
257 <p>It can be used to launch a program and get all file events</p>
258 <dl class="function">
259 <dt id="logfs.fstracer.getfsevents">
260 -<tt class="descclassname">logfs.fstracer.</tt><tt class="descname">getfsevents</tt><big>(</big><em>prog_name</em>, <em>arguments</em>, <em>approach='hooklib'</em>, <em>filterproc=&lt;function defaultfilter at 0x19e7b18&gt;</em><big>)</big><a class="reference internal" href="_modules/logfs/fstracer.html#getfsevents"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#logfs.fstracer.getfsevents" title="Permalink to this definition">¶</a></dt>
261 +<tt class="descclassname">logfs.fstracer.</tt><tt class="descname">getfsevents</tt><big>(</big><em>prog_name</em>, <em>arguments</em>, <em>approach='hooklib'</em>, <em>filterproc=&lt;function defaultfilter at 0x1dbdb90&gt;</em><big>)</big><a class="reference internal" href="_modules/logfs/fstracer.html#getfsevents"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#logfs.fstracer.getfsevents" title="Permalink to this definition">¶</a></dt>
262 <dd><p>Launches a program and gets file access events</p>
263 <table class="docutils field-list" frame="void" rules="none">
264 <col class="field-name" />
265 @@ -113,6 +113,20 @@ Stage can be <em>&#8216;unknown&#8217;</em></p>
266 </dd></dl>
267
268 <span class="target" id="module-package_utils.portage_utils"></span><dl class="function">
269 +<dt id="package_utils.portage_utils.get_all_packages_files">
270 +<tt class="descclassname">package_utils.portage_utils.</tt><tt class="descname">get_all_packages_files</tt><big>(</big><big>)</big><a class="headerlink" href="#package_utils.portage_utils.get_all_packages_files" title="Permalink to this definition">¶</a></dt>
271 +<dd><p>Memory-hungry operation</p>
272 +<table class="docutils field-list" frame="void" rules="none">
273 +<col class="field-name" />
274 +<col class="field-body" />
275 +<tbody valign="top">
276 +<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><strong>set</strong> of all files that belongs to package</td>
277 +</tr>
278 +</tbody>
279 +</table>
280 +</dd></dl>
281 +
282 +<dl class="function">
283 <dt id="package_utils.portage_utils.getfilesbypackage">
284 <tt class="descclassname">package_utils.portage_utils.</tt><tt class="descname">getfilesbypackage</tt><big>(</big><em>packagename</em><big>)</big><a class="reference internal" href="_modules/package_utils/portage_utils.html#getfilesbypackage"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#package_utils.portage_utils.getfilesbypackage" title="Permalink to this definition">¶</a></dt>
285 <dd><table class="docutils field-list" frame="void" rules="none">
286 @@ -148,9 +162,38 @@ package it not returned as key of this dictionary</td>
287 <em class="property">class </em><tt class="descclassname">package_utils.portage_misc_functions.</tt><tt class="descname">portage_api</tt><a class="reference internal" href="_modules/package_utils/portage_misc_functions.html#portage_api"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#package_utils.portage_misc_functions.portage_api" title="Permalink to this definition">¶</a></dt>
288 <dd><p>class for accessing the portage api</p>
289 <dl class="method">
290 +<dt id="package_utils.portage_misc_functions.portage_api.get_best_visible_pkg">
291 +<tt class="descname">get_best_visible_pkg</tt><big>(</big><em>pkg</em><big>)</big><a class="headerlink" href="#package_utils.portage_misc_functions.portage_api.get_best_visible_pkg" title="Permalink to this definition">¶</a></dt>
292 +<dd><p>Gets best candidate on installing. Returns empty string if no found</p>
293 +</dd></dl>
294 +
295 +<dl class="method">
296 +<dt id="package_utils.portage_misc_functions.portage_api.get_dep">
297 +<tt class="descname">get_dep</tt><big>(</big><em>pkg, dep_type=['RDEPEND', 'DEPEND']</em><big>)</big><a class="headerlink" href="#package_utils.portage_misc_functions.portage_api.get_dep" title="Permalink to this definition">¶</a></dt>
298 +<dd><p>Gets current dependencies of a package. Looks in portage db</p>
299 +<table class="docutils field-list" frame="void" rules="none">
300 +<col class="field-name" />
301 +<col class="field-body" />
302 +<tbody valign="top">
303 +<tr class="field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
304 +<li><strong>pkg</strong> &#8211; name of package</li>
305 +<li><strong>dep_type</strong> &#8211; type of dependencies to recurse. Can be [&#8220;DEPEND&#8221;] or
306 +[&#8220;RDEPEND&#8221;, &#8220;DEPEND&#8221;]</li>
307 +</ul>
308 +</td>
309 +</tr>
310 +<tr class="field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><strong>set</strong> of packages names</p>
311 +</td>
312 +</tr>
313 +</tbody>
314 +</table>
315 +</dd></dl>
316 +
317 +<dl class="method">
318 <dt id="package_utils.portage_misc_functions.portage_api.get_deps">
319 <tt class="descname">get_deps</tt><big>(</big><em>pkg, dep_type=['RDEPEND', 'DEPEND']</em><big>)</big><a class="reference internal" href="_modules/package_utils/portage_misc_functions.html#portage_api.get_deps"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#package_utils.portage_misc_functions.portage_api.get_deps" title="Permalink to this definition">¶</a></dt>
320 -<dd><p>Gets current dependencies of a package on any depth</p>
321 +<dd><p>Gets current dependencies of a package on any depth
322 +All dependencies <strong>must</strong> be installed</p>
323 <table class="docutils field-list" frame="void" rules="none">
324 <col class="field-name" />
325 <col class="field-body" />
326 @@ -170,6 +213,14 @@ package it not returned as key of this dictionary</td>
327 </dd></dl>
328
329 <dl class="method">
330 +<dt id="package_utils.portage_misc_functions.portage_api.get_merge_list">
331 +<tt class="descname">get_merge_list</tt><big>(</big><em>emergeargs</em><big>)</big><a class="headerlink" href="#package_utils.portage_misc_functions.portage_api.get_merge_list" title="Permalink to this definition">¶</a></dt>
332 +<dd><p>Gets list of packages that emerge with emergeargs-arguments will merge
333 +This function uses very internal functions of portage so
334 +it may be unreliable in various portage versions</p>
335 +</dd></dl>
336 +
337 +<dl class="method">
338 <dt id="package_utils.portage_misc_functions.portage_api.get_system_packages_list">
339 <tt class="descname">get_system_packages_list</tt><big>(</big><big>)</big><a class="reference internal" href="_modules/package_utils/portage_misc_functions.html#portage_api.get_system_packages_list"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#package_utils.portage_misc_functions.portage_api.get_system_packages_list" title="Permalink to this definition">¶</a></dt>
340 <dd><p>returns all packages from system set. They are always implicit dependencies</p>
341 @@ -262,7 +313,7 @@ list)</td>
342 </div>
343 <div class="footer">
344 &copy; Copyright 2011, Alexander Bersenev.
345 - Last updated on Jul 25, 2011.
346 + Last updated on Aug 03, 2011.
347 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
348 </div>
349 </body>
350
351 diff --git a/docs/build/html/genindex.html b/docs/build/html/genindex.html
352 index b1a69d7..e44ab7a 100644
353 --- a/docs/build/html/genindex.html
354 +++ b/docs/build/html/genindex.html
355 @@ -47,52 +47,76 @@
356 <h1 id="index">Index</h1>
357
358 <div class="genindex-jumpbox">
359 - <a href="#Symbols"><strong>Symbols</strong></a> | <a href="#G"><strong>G</strong></a> | <a href="#L"><strong>L</strong></a> | <a href="#P"><strong>P</strong></a> | <a href="#S"><strong>S</strong></a>
360 + <a href="#Symbols"><strong>Symbols</strong></a> | <a href="#A"><strong>A</strong></a> | <a href="#G"><strong>G</strong></a> | <a href="#L"><strong>L</strong></a> | <a href="#P"><strong>P</strong></a>
361 </div>
362 <h2 id="Symbols">Symbols</h2>
363 <table style="width: 100%" class="indextable genindextable"><tr>
364 <td style="width: 33%" valign="top"><dl>
365 + <dt>--blockpkgs=PACKAGES</dt>
366 + <dd><dl>
367 + <dt><a href="intro.html#cmdoption-autodep--blockpkgs">autodep command line option</a>, <a href="man.html#cmdoption-autodep--blockpkgs">[1]</a></dt>
368 + </dl></dd>
369 <dt>--fusefs</dt>
370 <dd><dl>
371 - <dt><a href="intro.html#cmdoption-showfsevents.py--fusefs">showfsevents.py command line option</a>, <a href="man.html#cmdoption-showfsevents.py--fusefs">[1]</a></dt>
372 + <dt><a href="intro.html#cmdoption-autodep--fusefs">autodep command line option</a>, <a href="man.html#cmdoption-autodep--fusefs">[1]</a></dt>
373 </dl></dd>
374 <dt>--help, -h</dt>
375 <dd><dl>
376 - <dt><a href="intro.html#cmdoption-showfsevents.py--help">showfsevents.py command line option</a>, <a href="man.html#cmdoption-showfsevents.py--help">[1]</a></dt>
377 + <dt><a href="intro.html#cmdoption-autodep--help">autodep command line option</a>, <a href="man.html#cmdoption-autodep--help">[1]</a></dt>
378 </dl></dd>
379 <dt>--hooklib</dt>
380 <dd><dl>
381 - <dt><a href="intro.html#cmdoption-showfsevents.py--hooklib">showfsevents.py command line option</a>, <a href="man.html#cmdoption-showfsevents.py--hooklib">[1]</a></dt>
382 + <dt><a href="intro.html#cmdoption-autodep--hooklib">autodep command line option</a>, <a href="man.html#cmdoption-autodep--hooklib">[1]</a></dt>
383 </dl></dd>
384 <dt>--nocolor, -C</dt>
385 <dd><dl>
386 - <dt><a href="man.html#cmdoption-showfsevents.py--nocolor">showfsevents.py command line option</a></dt>
387 + <dt><a href="man.html#cmdoption-autodep--nocolor">autodep command line option</a></dt>
388 </dl></dd>
389 - <dt>-b PACKAGES, --block=PACKAGES</dt>
390 + <dt>-b, --block</dt>
391 <dd><dl>
392 - <dt><a href="intro.html#cmdoption-showfsevents.py-b">showfsevents.py command line option</a>, <a href="man.html#cmdoption-showfsevents.py-b">[1]</a></dt>
393 + <dt><a href="intro.html#cmdoption-autodep-b">autodep command line option</a>, <a href="man.html#cmdoption-autodep-b">[1]</a></dt>
394 </dl></dd>
395 </dl></td>
396 <td style="width: 33%" valign="top"><dl>
397 <dt>-C , --nocolor</dt>
398 <dd><dl>
399 - <dt><a href="intro.html#cmdoption-showfsevents.py-C">showfsevents.py command line option</a></dt>
400 + <dt><a href="intro.html#cmdoption-autodep-C">autodep command line option</a></dt>
401 </dl></dd>
402 <dt>-f , --files</dt>
403 <dd><dl>
404 - <dt><a href="intro.html#cmdoption-showfsevents.py-f">showfsevents.py command line option</a></dt>
405 + <dt><a href="intro.html#cmdoption-autodep-f">autodep command line option</a></dt>
406 </dl></dd>
407 <dt>-f, --files</dt>
408 <dd><dl>
409 - <dt><a href="man.html#cmdoption-showfsevents.py-f">showfsevents.py command line option</a></dt>
410 + <dt><a href="man.html#cmdoption-autodep-f">autodep command line option</a></dt>
411 </dl></dd>
412 <dt>-v , --verbose</dt>
413 <dd><dl>
414 - <dt><a href="intro.html#cmdoption-showfsevents.py-v">showfsevents.py command line option</a></dt>
415 + <dt><a href="intro.html#cmdoption-autodep-v">autodep command line option</a></dt>
416 </dl></dd>
417 <dt>-v, --verbose</dt>
418 <dd><dl>
419 - <dt><a href="man.html#cmdoption-showfsevents.py-v">showfsevents.py command line option</a></dt>
420 + <dt><a href="man.html#cmdoption-autodep-v">autodep command line option</a></dt>
421 + </dl></dd>
422 +</dl></td>
423 +</tr></table>
424 +
425 +<h2 id="A">A</h2>
426 +<table style="width: 100%" class="indextable genindextable"><tr>
427 + <td style="width: 33%" valign="top"><dl>
428 + <dt>autodep command line option</dt>
429 + <dd><dl>
430 + <dt><a href="intro.html#cmdoption-autodep--blockpkgs">--blockpkgs=PACKAGES</a>, <a href="man.html#cmdoption-autodep--blockpkgs">[1]</a></dt>
431 + <dt><a href="intro.html#cmdoption-autodep--fusefs">--fusefs</a>, <a href="man.html#cmdoption-autodep--fusefs">[1]</a></dt>
432 + <dt><a href="intro.html#cmdoption-autodep--help">--help, -h</a>, <a href="man.html#cmdoption-autodep--help">[1]</a></dt>
433 + <dt><a href="intro.html#cmdoption-autodep--hooklib">--hooklib</a>, <a href="man.html#cmdoption-autodep--hooklib">[1]</a></dt>
434 + <dt><a href="man.html#cmdoption-autodep--nocolor">--nocolor, -C</a></dt>
435 + <dt><a href="intro.html#cmdoption-autodep-C">-C , --nocolor</a></dt>
436 + <dt><a href="intro.html#cmdoption-autodep-b">-b, --block</a>, <a href="man.html#cmdoption-autodep-b">[1]</a></dt>
437 + <dt><a href="intro.html#cmdoption-autodep-f">-f , --files</a></dt>
438 + <dt><a href="man.html#cmdoption-autodep-f">-f, --files</a></dt>
439 + <dt><a href="intro.html#cmdoption-autodep-v">-v , --verbose</a></dt>
440 + <dt><a href="man.html#cmdoption-autodep-v">-v, --verbose</a></dt>
441 </dl></dd>
442 </dl></td>
443 </tr></table>
444 @@ -100,11 +124,15 @@
445 <h2 id="G">G</h2>
446 <table style="width: 100%" class="indextable genindextable"><tr>
447 <td style="width: 33%" valign="top"><dl>
448 + <dt><a href="api.html#package_utils.portage_utils.get_all_packages_files">get_all_packages_files() (in module package_utils.portage_utils)</a></dt>
449 + <dt><a href="api.html#package_utils.portage_misc_functions.portage_api.get_best_visible_pkg">get_best_visible_pkg() (package_utils.portage_misc_functions.portage_api method)</a></dt>
450 + <dt><a href="api.html#package_utils.portage_misc_functions.portage_api.get_dep">get_dep() (package_utils.portage_misc_functions.portage_api method)</a></dt>
451 <dt><a href="api.html#package_utils.portage_misc_functions.portage_api.get_deps">get_deps() (package_utils.portage_misc_functions.portage_api method)</a></dt>
452 <dt><a href="api.html#package_utils.portage_log_parser.get_list_of_merged_packages">get_list_of_merged_packages() (in module package_utils.portage_log_parser)</a></dt>
453 - <dt><a href="api.html#package_utils.portage_misc_functions.portage_api.get_system_packages_list">get_system_packages_list() (package_utils.portage_misc_functions.portage_api method)</a></dt>
454 </dl></td>
455 <td style="width: 33%" valign="top"><dl>
456 + <dt><a href="api.html#package_utils.portage_misc_functions.portage_api.get_merge_list">get_merge_list() (package_utils.portage_misc_functions.portage_api method)</a></dt>
457 + <dt><a href="api.html#package_utils.portage_misc_functions.portage_api.get_system_packages_list">get_system_packages_list() (package_utils.portage_misc_functions.portage_api method)</a></dt>
458 <dt><a href="api.html#package_utils.portage_utils.getfilesbypackage">getfilesbypackage() (in module package_utils.portage_utils)</a></dt>
459 <dt><a href="api.html#logfs.fstracer.getfsevents">getfsevents() (in module logfs.fstracer)</a></dt>
460 <dt><a href="api.html#package_utils.portage_utils.getpackagesbyfiles">getpackagesbyfiles() (in module package_utils.portage_utils)</a></dt>
461 @@ -131,25 +159,6 @@
462 </dl></td>
463 </tr></table>
464
465 -<h2 id="S">S</h2>
466 -<table style="width: 100%" class="indextable genindextable"><tr>
467 - <td style="width: 33%" valign="top"><dl>
468 - <dt>showfsevents.py command line option</dt>
469 - <dd><dl>
470 - <dt><a href="intro.html#cmdoption-showfsevents.py--fusefs">--fusefs</a>, <a href="man.html#cmdoption-showfsevents.py--fusefs">[1]</a></dt>
471 - <dt><a href="intro.html#cmdoption-showfsevents.py--help">--help, -h</a>, <a href="man.html#cmdoption-showfsevents.py--help">[1]</a></dt>
472 - <dt><a href="intro.html#cmdoption-showfsevents.py--hooklib">--hooklib</a>, <a href="man.html#cmdoption-showfsevents.py--hooklib">[1]</a></dt>
473 - <dt><a href="man.html#cmdoption-showfsevents.py--nocolor">--nocolor, -C</a></dt>
474 - <dt><a href="intro.html#cmdoption-showfsevents.py-C">-C , --nocolor</a></dt>
475 - <dt><a href="intro.html#cmdoption-showfsevents.py-b">-b PACKAGES, --block=PACKAGES</a>, <a href="man.html#cmdoption-showfsevents.py-b">[1]</a></dt>
476 - <dt><a href="intro.html#cmdoption-showfsevents.py-f">-f , --files</a></dt>
477 - <dt><a href="man.html#cmdoption-showfsevents.py-f">-f, --files</a></dt>
478 - <dt><a href="intro.html#cmdoption-showfsevents.py-v">-v , --verbose</a></dt>
479 - <dt><a href="man.html#cmdoption-showfsevents.py-v">-v, --verbose</a></dt>
480 - </dl></dd>
481 -</dl></td>
482 -</tr></table>
483 -
484
485
486 </div>
487 @@ -191,7 +200,7 @@
488 </div>
489 <div class="footer">
490 &copy; Copyright 2011, Alexander Bersenev.
491 - Last updated on Jul 25, 2011.
492 + Last updated on Aug 03, 2011.
493 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
494 </div>
495 </body>
496
497 diff --git a/docs/build/html/index.html b/docs/build/html/index.html
498 index 6fc6a22..b56bed7 100644
499 --- a/docs/build/html/index.html
500 +++ b/docs/build/html/index.html
501 @@ -136,7 +136,7 @@
502 </div>
503 <div class="footer">
504 &copy; Copyright 2011, Alexander Bersenev.
505 - Last updated on Jul 25, 2011.
506 + Last updated on Aug 03, 2011.
507 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
508 </div>
509 </body>
510
511 diff --git a/docs/build/html/intro.html b/docs/build/html/intro.html
512 index 75211da..18e7294 100644
513 --- a/docs/build/html/intro.html
514 +++ b/docs/build/html/intro.html
515 @@ -56,7 +56,8 @@
516 <div class="section" id="overview">
517 <h2>Overview<a class="headerlink" href="#overview" title="Permalink to this headline">¶</a></h2>
518 <p>Auto dependency builder is a tool for analysis files accessed during
519 -building a package. It also can be used for runtime dependencies analysis.</p>
520 +building a package. It also can be used for buildtime and runtime dependency
521 +analysis.</p>
522 <p>The tool can block an access to files of defined packages.</p>
523 <p>It is released under GNU GPL license.</p>
524 </div>
525 @@ -73,48 +74,54 @@ building a package. It also can be used for runtime dependencies analysis.</p>
526 </div>
527 <div class="section" id="running">
528 <h2>Running<a class="headerlink" href="#running" title="Permalink to this headline">¶</a></h2>
529 -<div class="highlight-none"><div class="highlight"><pre>showfsevents.py [options] &lt;command&gt;
530 +<div class="highlight-none"><div class="highlight"><pre>autodep [options] &lt;command&gt;
531 </pre></div>
532 </div>
533 <dl class="cmdoption">
534 -<dt id="cmdoption-showfsevents.py--help">
535 -<tt class="descname">--help</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">-h</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py--help" title="Permalink to this definition">¶</a></dt>
536 +<dt id="cmdoption-autodep--help">
537 +<tt class="descname">--help</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">-h</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep--help" title="Permalink to this definition">¶</a></dt>
538 <dd><p>show this help message and exit</p>
539 </dd></dl>
540
541 <dl class="cmdoption">
542 -<dt id="cmdoption-showfsevents.py-b">
543 -<tt class="descname">-b</tt><tt class="descclassname"> PACKAGES</tt><tt class="descclassname">, </tt><tt class="descname">--block</tt><tt class="descclassname">=PACKAGES</tt><a class="headerlink" href="#cmdoption-showfsevents.py-b" title="Permalink to this definition">¶</a></dt>
544 +<dt id="cmdoption-autodep-b">
545 +<tt class="descname">-b</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--block</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep-b" title="Permalink to this definition">¶</a></dt>
546 +<dd><p>strict mode: deny all access to non-dependency packages</p>
547 +</dd></dl>
548 +
549 +<dl class="cmdoption">
550 +<dt id="cmdoption-autodep--blockpkgs">
551 +<tt class="descname">--blockpkgs</tt><tt class="descclassname">=PACKAGES</tt><a class="headerlink" href="#cmdoption-autodep--blockpkgs" title="Permalink to this definition">¶</a></dt>
552 <dd><p>block an access to files from this packages</p>
553 </dd></dl>
554
555 <dl class="cmdoption">
556 -<dt id="cmdoption-showfsevents.py-f">
557 -<tt class="descname">-f</tt><tt class="descclassname"> </tt><tt class="descclassname">, </tt><tt class="descname">--files</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py-f" title="Permalink to this definition">¶</a></dt>
558 +<dt id="cmdoption-autodep-f">
559 +<tt class="descname">-f</tt><tt class="descclassname"> </tt><tt class="descclassname">, </tt><tt class="descname">--files</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep-f" title="Permalink to this definition">¶</a></dt>
560 <dd><p>show accessed files and not founded files</p>
561 </dd></dl>
562
563 <dl class="cmdoption">
564 -<dt id="cmdoption-showfsevents.py-v">
565 -<tt class="descname">-v</tt><tt class="descclassname"> </tt><tt class="descclassname">, </tt><tt class="descname">--verbose</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py-v" title="Permalink to this definition">¶</a></dt>
566 +<dt id="cmdoption-autodep-v">
567 +<tt class="descname">-v</tt><tt class="descclassname"> </tt><tt class="descclassname">, </tt><tt class="descname">--verbose</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep-v" title="Permalink to this definition">¶</a></dt>
568 <dd><p>show non-important packages, show unknown package and unknown stage</p>
569 </dd></dl>
570
571 <dl class="cmdoption">
572 -<dt id="cmdoption-showfsevents.py-C">
573 -<tt class="descname">-C</tt><tt class="descclassname"> </tt><tt class="descclassname">, </tt><tt class="descname">--nocolor</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py-C" title="Permalink to this definition">¶</a></dt>
574 +<dt id="cmdoption-autodep-C">
575 +<tt class="descname">-C</tt><tt class="descclassname"> </tt><tt class="descclassname">, </tt><tt class="descname">--nocolor</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep-C" title="Permalink to this definition">¶</a></dt>
576 <dd><p>don&#8217;t output color</p>
577 </dd></dl>
578
579 <dl class="cmdoption">
580 -<dt id="cmdoption-showfsevents.py--hooklib">
581 -<tt class="descname">--hooklib</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py--hooklib" title="Permalink to this definition">¶</a></dt>
582 +<dt id="cmdoption-autodep--hooklib">
583 +<tt class="descname">--hooklib</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep--hooklib" title="Permalink to this definition">¶</a></dt>
584 <dd><p>use ld_preload logging approach(default)</p>
585 </dd></dl>
586
587 <dl class="cmdoption">
588 -<dt id="cmdoption-showfsevents.py--fusefs">
589 -<tt class="descname">--fusefs</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py--fusefs" title="Permalink to this definition">¶</a></dt>
590 +<dt id="cmdoption-autodep--fusefs">
591 +<tt class="descname">--fusefs</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep--fusefs" title="Permalink to this definition">¶</a></dt>
592 <dd><p>use fuse logging approach(slow, but reliable)</p>
593 </dd></dl>
594
595 @@ -186,22 +193,22 @@ while launching, so this will take more time than usual.</td></tr>
596 <div class="section" id="examples">
597 <h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
598 <p class="rubric">1. Get the potential dependencies of a xchat package:</p>
599 -<div class="highlight-none"><div class="highlight"><pre>showfsevents.py emerge xchat
600 +<div class="highlight-none"><div class="highlight"><pre>autodep emerge xchat
601 </pre></div>
602 </div>
603 <p class="rubric">2. Get the potential dependencies of a xchat package, blocking
604 x11-misc/util-macros package:</p>
605 -<div class="highlight-none"><div class="highlight"><pre>showfsevents.py emerge --block x11-misc/util-macros emerge xchat
606 +<div class="highlight-none"><div class="highlight"><pre>autodep emerge --block x11-misc/util-macros emerge xchat
607 </pre></div>
608 </div>
609 <p class="rubric">3. Get the potential dependencies of a xchat package, and show files
610 accessed:</p>
611 -<div class="highlight-none"><div class="highlight"><pre>showfsevents.py --files emerge xchat
612 +<div class="highlight-none"><div class="highlight"><pre>autodep --files emerge xchat
613 </pre></div>
614 </div>
615 <p class="rubric">4. Get the runtime dependencies of a xchat and show files
616 accessed:</p>
617 -<div class="highlight-none"><div class="highlight"><pre>showfsevents.py --fusefs --files xchat
618 +<div class="highlight-none"><div class="highlight"><pre>autodep --fusefs --files xchat
619 </pre></div>
620 </div>
621 </div>
622 @@ -283,7 +290,7 @@ accessed:</p>
623 </div>
624 <div class="footer">
625 &copy; Copyright 2011, Alexander Bersenev.
626 - Last updated on Jul 25, 2011.
627 + Last updated on Aug 03, 2011.
628 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
629 </div>
630 </body>
631
632 diff --git a/docs/build/html/man.html b/docs/build/html/man.html
633 index f2b221a..734bd1f 100644
634 --- a/docs/build/html/man.html
635 +++ b/docs/build/html/man.html
636 @@ -47,7 +47,7 @@
637 <h1>USER COMMANDS<a class="headerlink" href="#user-commands" title="Permalink to this headline">¶</a></h1>
638 <div class="section" id="synopsis">
639 <h2>SYNOPSIS<a class="headerlink" href="#synopsis" title="Permalink to this headline">¶</a></h2>
640 -<p><strong>showfsevents.py</strong> [options] &lt;command&gt;</p>
641 +<p><strong>autodep</strong> [options] &lt;command&gt;</p>
642 </div>
643 <div class="section" id="description">
644 <h2>DESCRIPTION<a class="headerlink" href="#description" title="Permalink to this headline">¶</a></h2>
645 @@ -58,44 +58,50 @@ building a package. It also can be used for runtime dependencies analysis.</p>
646 <div class="section" id="options">
647 <h2>OPTIONS<a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h2>
648 <dl class="cmdoption">
649 -<dt id="cmdoption-showfsevents.py--help">
650 -<tt class="descname">--help</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">-h</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py--help" title="Permalink to this definition">¶</a></dt>
651 +<dt id="cmdoption-autodep--help">
652 +<tt class="descname">--help</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">-h</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep--help" title="Permalink to this definition">¶</a></dt>
653 <dd><p>show this help message and exit</p>
654 </dd></dl>
655
656 <dl class="cmdoption">
657 -<dt id="cmdoption-showfsevents.py-b">
658 -<tt class="descname">-b</tt><tt class="descclassname"> PACKAGES</tt><tt class="descclassname">, </tt><tt class="descname">--block</tt><tt class="descclassname">=PACKAGES</tt><a class="headerlink" href="#cmdoption-showfsevents.py-b" title="Permalink to this definition">¶</a></dt>
659 +<dt id="cmdoption-autodep-b">
660 +<tt class="descname">-b</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--block</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep-b" title="Permalink to this definition">¶</a></dt>
661 +<dd><p>strict mode: deny all access to non-dependency packages</p>
662 +</dd></dl>
663 +
664 +<dl class="cmdoption">
665 +<dt id="cmdoption-autodep--blockpkgs">
666 +<tt class="descname">--blockpkgs</tt><tt class="descclassname">=PACKAGES</tt><a class="headerlink" href="#cmdoption-autodep--blockpkgs" title="Permalink to this definition">¶</a></dt>
667 <dd><p>block an access to files from this packages</p>
668 </dd></dl>
669
670 <dl class="cmdoption">
671 -<dt id="cmdoption-showfsevents.py-f">
672 -<tt class="descname">-f</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--files</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py-f" title="Permalink to this definition">¶</a></dt>
673 +<dt id="cmdoption-autodep-f">
674 +<tt class="descname">-f</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--files</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep-f" title="Permalink to this definition">¶</a></dt>
675 <dd><p>show accessed files and not founded files</p>
676 </dd></dl>
677
678 <dl class="cmdoption">
679 -<dt id="cmdoption-showfsevents.py-v">
680 -<tt class="descname">-v</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--verbose</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py-v" title="Permalink to this definition">¶</a></dt>
681 +<dt id="cmdoption-autodep-v">
682 +<tt class="descname">-v</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">--verbose</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep-v" title="Permalink to this definition">¶</a></dt>
683 <dd><p>show non-important packages, show unknown package and unknown stage</p>
684 </dd></dl>
685
686 <dl class="cmdoption">
687 -<dt id="cmdoption-showfsevents.py--nocolor">
688 -<tt class="descname">--nocolor</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">-C</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py--nocolor" title="Permalink to this definition">¶</a></dt>
689 +<dt id="cmdoption-autodep--nocolor">
690 +<tt class="descname">--nocolor</tt><tt class="descclassname"></tt><tt class="descclassname">, </tt><tt class="descname">-C</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep--nocolor" title="Permalink to this definition">¶</a></dt>
691 <dd><p>don&#8217;t output color</p>
692 </dd></dl>
693
694 <dl class="cmdoption">
695 -<dt id="cmdoption-showfsevents.py--hooklib">
696 -<tt class="descname">--hooklib</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py--hooklib" title="Permalink to this definition">¶</a></dt>
697 +<dt id="cmdoption-autodep--hooklib">
698 +<tt class="descname">--hooklib</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep--hooklib" title="Permalink to this definition">¶</a></dt>
699 <dd><p>use ld_preload logging approach(default)</p>
700 </dd></dl>
701
702 <dl class="cmdoption">
703 -<dt id="cmdoption-showfsevents.py--fusefs">
704 -<tt class="descname">--fusefs</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-showfsevents.py--fusefs" title="Permalink to this definition">¶</a></dt>
705 +<dt id="cmdoption-autodep--fusefs">
706 +<tt class="descname">--fusefs</tt><tt class="descclassname"></tt><a class="headerlink" href="#cmdoption-autodep--fusefs" title="Permalink to this definition">¶</a></dt>
707 <dd><p>use fuse logging approach(slow, but reliable)</p>
708 </dd></dl>
709
710 @@ -167,19 +173,19 @@ while launching, so this will take more time than usual.</td></tr>
711 <h2>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h2>
712 <div class="section" id="get-the-potential-dependencies-of-a-xchat-package">
713 <h3>Get the potential dependencies of a xchat package:<a class="headerlink" href="#get-the-potential-dependencies-of-a-xchat-package" title="Permalink to this headline">¶</a></h3>
714 -<p>showfsevents.py emerge xchat</p>
715 +<p>autodep emerge xchat</p>
716 </div>
717 <div class="section" id="get-the-potential-dependencies-of-a-xchat-package-blocking-x11-misc-util-macros-package">
718 <h3>Get the potential dependencies of a xchat package, blocking x11-misc/util-macros package:<a class="headerlink" href="#get-the-potential-dependencies-of-a-xchat-package-blocking-x11-misc-util-macros-package" title="Permalink to this headline">¶</a></h3>
719 -<p>showfsevents.py emerge &#8211;block x11-misc/util-macros emerge xchat</p>
720 +<p>autodep emerge &#8211;block x11-misc/util-macros emerge xchat</p>
721 </div>
722 <div class="section" id="get-the-potential-dependencies-of-a-xchat-package-and-show-files-accessed">
723 <h3>Get the potential dependencies of a xchat package, and show files accessed:<a class="headerlink" href="#get-the-potential-dependencies-of-a-xchat-package-and-show-files-accessed" title="Permalink to this headline">¶</a></h3>
724 -<p>showfsevents.py &#8211;files emerge xchat</p>
725 +<p>autodep &#8211;files emerge xchat</p>
726 </div>
727 <div class="section" id="get-the-runtime-dependencies-of-a-xchat-and-show-files-accessed">
728 <h3>Get the runtime dependencies of a xchat and show files accessed:<a class="headerlink" href="#get-the-runtime-dependencies-of-a-xchat-and-show-files-accessed" title="Permalink to this headline">¶</a></h3>
729 -<p>showfsevents.py &#8211;fusefs &#8211;files xchat</p>
730 +<p>autodep &#8211;fusefs &#8211;files xchat</p>
731 </div>
732 </div>
733 </div>
734 @@ -244,7 +250,7 @@ while launching, so this will take more time than usual.</td></tr>
735 </div>
736 <div class="footer">
737 &copy; Copyright 2011, Alexander Bersenev.
738 - Last updated on Jul 25, 2011.
739 + Last updated on Aug 03, 2011.
740 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
741 </div>
742 </body>
743
744 diff --git a/docs/build/html/objects.inv b/docs/build/html/objects.inv
745 index a2f3148..20cf75f 100644
746 --- a/docs/build/html/objects.inv
747 +++ b/docs/build/html/objects.inv
748 @@ -2,5 +2,10 @@
749 # Project: Autodep
750 # Version: 0.1
751 # The remainder of this file is compressed using zlib.
752 -xÚ­T½NÃ0Þû–`uD×®L HH<€åØçĪ"ŸSÈÛ“ØIP¥­Ë˜ó}w§Pªz…£<ø.jïÈžXîª6Zó ¬ÌEŠ­ÿP'p«nx$tG©óŠÀªõ¼Eiƒ¿Êj ¦+R¬ËFÓz4º |*AY/µ“ð™°†×`Ý“n ËCæ ¯^öÈËTÚ5à~-Õ‘[xí¶1×æ¶÷ÜðÆØß(¬ÆÀ„ÑÅÁfÙ'Â;¹B'ïÇÆú¨Í˜Ç‡¸~bG¬ã‹Å­FÁTïÄ4o¼'AÕ@œŸ±”6èîqÁ+áÄtvt?ú.(&z˜»þ¼1ÿõ6nm%×ò„1 ]¦„Øzyå÷$
753 -£12¯˜…ЀdËVîÎÆj’c$ÍÍž/ŒŒ`Wï)Óy‰í5¥Ã˜ÿzâ†#Þº•ó'òt»e‚
754 \ No newline at end of file
755 +xÚ­TOoƒ ¿÷SlWšõÚëN;,Y²@J!<læ·ŸˆÚt[µ´;úüýãýDJkk­
756 +‚¡<Z”mɁÞîë`ô“0eRÞ[‚{&tGi¡­h\Saíõ­ÚàíªM
757 Úå“‚ÌK•yôÖ
758 +«­Ï"²Ð2ml©Ú¾FŽæhBÄõt~‘¸äÝ–òG»
759 +Ú?Hótb$(÷¢¾¦ÙûL€^ÁNÛJâ^bð\€RM²}!Ü©DH³;.šÆº 4îõayº“;`Ž{¼ÛÜ(Lv­ˆ{ÆYÆQ ‚À
760 +ÀÀN
761 +U¡
762 —htPÛrh{qÙXPTš^cÑK¥aL;»þTºl&’% ڰÊÚðg\k6‡`›2*»‰yµ«ÛOñ˜å¯f‡;‰¹mnHðqI
763 +C®ðy±£P”`V&Ár©-¿°•À£ƒ”™ûê¿—=0çOîžµlWx]ñêÿíAç¨$4G̼€ã•+ú µVå7CÞê
764 \ No newline at end of file
765
766 diff --git a/docs/build/html/py-modindex.html b/docs/build/html/py-modindex.html
767 index a2e022c..42ac89a 100644
768 --- a/docs/build/html/py-modindex.html
769 +++ b/docs/build/html/py-modindex.html
770 @@ -132,7 +132,7 @@
771 </div>
772 <div class="footer">
773 &copy; Copyright 2011, Alexander Bersenev.
774 - Last updated on Jul 25, 2011.
775 + Last updated on Aug 03, 2011.
776 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
777 </div>
778 </body>
779
780 diff --git a/docs/build/html/search.html b/docs/build/html/search.html
781 index dfff3e8..2da6a37 100644
782 --- a/docs/build/html/search.html
783 +++ b/docs/build/html/search.html
784 @@ -96,7 +96,7 @@
785 </div>
786 <div class="footer">
787 &copy; Copyright 2011, Alexander Bersenev.
788 - Last updated on Jul 25, 2011.
789 + Last updated on Aug 03, 2011.
790 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
791 </div>
792 </body>
793
794 diff --git a/docs/build/html/searchindex.js b/docs/build/html/searchindex.js
795 index 9d5cacb..8c5fbdb 100644
796 --- a/docs/build/html/searchindex.js
797 +++ b/docs/build/html/searchindex.js
798 @@ -1 +1 @@
799 -Search.setIndex({objects:{"":{"-f":[4,0,1],"-C":[2,0,1],"-b":[4,0,1],"--hooklib":[4,0,1],"--fusefs":[4,0,1],"-v":[4,0,1],"--nocolor":[4,0,1],"--help":[4,0,1]},"package_utils.portage_misc_functions":{portage_api:[1,4,1]},"package_utils.portage_log_parser":{get_list_of_merged_packages:[1,2,1]},logfs:{fstracer:[1,1,1]},"package_utils.portage_utils":{getfilesbypackage:[1,2,1],getpackagesbyfiles:[1,2,1]},"logfs.fstracer":{getfsevents:[1,2,1]},"package_utils.portage_misc_functions.portage_api":{get_deps:[1,3,1],get_system_packages_list:[1,3,1],parse_emerge_args:[1,3,1]},package_utils:{portage_misc_functions:[1,1,1],portage_utils:[1,1,1],portage_log_parser:[1,1,1]}},terms:{load:[2,3,4],all:[1,2,3,4],code:3,help:[2,4],chain:1,show:[2,4],over:3,rootf:3,mnt:3,time:[1,2,3,4],pkg:1,rdepend:1,environ:3,find:1,dynam:[2,3,4],paramet:1,xml:3,prog_nam:1,onli:[2,4],cut:3,depend:[1,2,3,4],execut:3,field:3,"true":1,activ:2,dep_typ:1,should:1,cowsai:2,ebuild:2,program:[1,2,3,4],under:2,els:3,par
800 se_emerge_arg:1,main:3,analys:3,logic:1,take:[1,2,3,4],filterproc:1,sock_seqpacket:3,sourc:1,"return":[1,3],string:1,thei:1,get:[1,2,4],fals:1,big:[2,4],between:1,util:[2,3,4],lib32:3,got:3,increas:3,"0x19e7b18":1,recurs:1,hooker:3,requir:[2,4],introduct:[0,2],tri:3,builder:[2,4],name:[1,3],success:1,level:1,approach:[0,1,2,3,4],package_util:[0,1],list:[1,3],nocolor:[2,4],api:[0,1],each:1,userspac:3,found:[1,2,3,4],get_list_of_merged_packag:1,emerg:[1,2,4],kernel:[2,4],domain:3,set:1,slower:[2,4],often:3,protect:3,linux:3,idea:3,packet:3,shm:3,logf:[0,1],second:1,cost:3,sec:3,result:3,pass:1,fail:1,further:3,successfulli:1,todo:2,event:[0,1,2,3,4],librari:[2,3,4],variabl:3,index:2,statu:[0,2],servic:1,network:3,compar:3,bind:3,normal:[2,4],unknown:[1,2,3,4],access:[0,1,2,3,4],autodep:[0,2],exit:[2,4],directori:3,overlai:2,"new":3,lib64:3,content:0,proc:3,reciev:3,after:3,run:[0,2,3],depth:1,kei:1,contain:1,slow:[2,4],believ:3,starttim:1,x11:[2,4],releas:2,argument:1,portage_
801 api:1,sinc:[1,3],bash:2,xchat:[2,4],both:1,fstracer:[0,1],socket:3,thread:3,registar:3,libc:3,current:1,page:2,portage_log_pars:1,registrar:3,includ:3,getfsev:1,action:1,mani:[2,4],chang:3,lsof:2,licens:2,block:[1,2,3,4],first:1,origin:3,via:3,dictionari:1,packagenam:1,color:[2,4],overview:[0,2],modul:[1,2,3],misc:[2,4],system:[1,2,3,4],ld_preload:[2,3,4],ask:3,unix:3,defaultfilt:1,send:3,heurist:3,instal:[0,2,3],desktop:3,open:[1,3],merg:1,gpl:2,get_dep:1,getpackagesbyfil:1,fusef:[0,1,2,3,4],from:[1,2,3,4],log:[1,2,4],wai:3,errno:3,showfsev:[2,4],doesn:1,two:1,messag:[2,3,4],implicit:[1,3],verbos:[2,4],start:1,much:3,call:[1,3],usr:3,handl:1,"var":3,overhead:[2,4],stage:[1,2,3,4],type:[1,3],low:1,analysi:[0,2,3,4],allow:[1,2,3,4],linker:3,option:[1,2,4],unexpect:3,getfilesbypackag:1,tupl:1,tool:[2,4],copi:3,tmp:3,search:[1,2],direct:[2,4],postrm:3,modifi:3,endtim:1,portag:[1,3],atom:1,arg:1,than:[2,4],must:[2,4],also:[1,2,3,4],scheme:3,portage_util:1,err:3,gnu:2,"default":[
802 1,2,4],mount:3,launch:[1,2,3,4],intern:[0,3],dev:3,charact:3,defin:[2,4],"while":[2,3,4],bridg:1,can:[1,2,3,4],behavior:3,error:3,about:3,more:[2,4],root:[2,4],delimit:3,connect:3,pre:[2,4],"function":[1,3],parser:1,creat:3,portage_misc_funct:1,dure:[2,4],registr:3,filenam:1,non:[2,4],indic:[0,2],high:1,packag:[1,2,3,4],befor:3,inform:[1,3],file:[0,1,2,3,4],tabl:[0,2],synopsi:4,"import":[2,4],work:[0,1,3],check:3,unus:3,filter:1,profil:3,chroot:3,end:[1,3],get_system_packages_list:1,output:[2,4],perform:[2,3,4],anoth:3,make:2,belong:1,when:[2,3,4],detail:3,same:3,accuraci:3,note:[2,3,4],how:[0,3],other:3,read:[1,2,3,4],build:[2,3,4],which:1,auto:[2,4],answer:3,instead:[1,3],document:0,simpl:3,prepar:3,enabl:[2,4],fork:3,map:3,loggabl:3,extern:3,thi:[1,2,3,4],see:3,alwai:1,recomend:[2,4],who:[2,4],what:[2,4],most:[2,4],buildtim:[2,4],fuse:[2,3,4],user:[2,4],share:3,phase:3,develop:2,"class":1,man:3,don:[2,4],write:[1,3],syscal:[2,4],ani:[1,2,3,4],macro:[2,4],reliabl:[2,4],acl
803 oc:3,descript:4,rule:3,element:1,hooklib:[0,1,2,3,4],deni:3,exampl:[0,2,4],command:[2,4],runtim:[2,3,4],potenti:[2,4],filesystem:3,format:3,pars:1,stagenam:3,futher:[0,3],usual:[2,3,4]},objtypes:{"0":"std:option","1":"py:module","2":"py:function","3":"py:method","4":"py:class"},titles:["Autodep&#8217;s documentation","API","Introduction","Internals","USER COMMANDS"],objnames:{"0":"option","1":"Python module","2":"Python function","3":"Python method","4":"Python class"},filenames:["index","api","intro","architecture","man"]})
804 \ No newline at end of file
805 +Search.setIndex({objects:{"":{"-v":[4,0,1],"-f":[4,0,1],"-C":[2,0,1],"-b":[4,0,1],"--hooklib":[4,0,1],"--fusefs":[4,0,1],"--blockpkgs":[4,0,1],"--nocolor":[4,0,1],"--help":[4,0,1]},"package_utils.portage_misc_functions":{portage_api:[1,4,1]},"package_utils.portage_log_parser":{get_list_of_merged_packages:[1,3,1]},logfs:{fstracer:[1,1,1]},"package_utils.portage_utils":{getfilesbypackage:[1,3,1],getpackagesbyfiles:[1,3,1],get_all_packages_files:[1,3,1]},"logfs.fstracer":{getfsevents:[1,3,1]},"package_utils.portage_misc_functions.portage_api":{get_dep:[1,2,1],get_system_packages_list:[1,2,1],get_best_visible_pkg:[1,2,1],get_deps:[1,2,1],get_merge_list:[1,2,1],parse_emerge_args:[1,2,1]},package_utils:{portage_misc_functions:[1,1,1],portage_utils:[1,1,1],portage_log_parser:[1,1,1]}},terms:{oper:1,all:[1,2,3,4],code:3,help:[2,4],chain:1,show:[2,4],futher:[0,3],over:3,rootf:3,mnt:3,veri:1,pkg:1,accuraci:3,find:1,dynam:[2,3,4],paramet:1,xml:3,prog_nam:1,onli:[2,4],cut:3,depend:[1,2,
806 3,4],execut:3,field:3,activ:2,dep_typ:1,should:1,cowsai:2,ebuild:2,program:[1,2,3,4],under:2,els:3,parse_emerge_arg:1,main:3,analys:3,getfsev:1,build:[2,3,4],filterproc:1,deni:[2,3,4],sock_seqpacket:3,sourc:1,"return":[1,3],string:1,variou:1,get:[1,2,4],fals:1,big:[2,4],overlai:2,util:[2,3,4],than:[2,4],candid:1,command:[2,4],"new":3,increas:3,potenti:[2,4],"0x19e7b18":[],recurs:1,lib64:3,requir:[2,4],introduct:[0,2],tri:3,document:0,name:[1,3],success:1,level:1,proc:3,gnu:2,list:[1,3],nocolor:[2,4],exampl:[0,2,4],phase:3,mode:[2,4],man:3,each:1,userspac:3,found:[1,2,3,4],shm:3,kernel:[2,4],domain:3,set:1,slower:[2,4],often:3,map:3,heurist:3,idea:3,packet:3,logf:[0,1],second:1,cost:3,sec:3,result:3,pass:1,fail:1,further:3,successfulli:1,todo:2,event:[0,1,2,3,4],librari:[2,3,4],variabl:3,index:2,statu:[0,2],servic:1,network:3,compar:3,bind:3,develop:2,unknown:[1,2,3,4],best:1,access:[0,1,2,3,4],version:1,exit:[2,4],between:1,got:3,hooker:3,content:0,approach:[0,1,2,3,4],unus:
807 3,gpl:2,who:[2,4],run:[0,2,3],kei:1,arg:1,contain:1,get_all_packages_fil:1,slow:[2,4],believ:3,starttim:1,x11:[2,4],releas:2,hooklib:[0,1,2,3,4],portage_api:1,sinc:[1,3],bash:2,get_best_visible_pkg:1,both:1,search:[1,2],socket:3,thread:3,registar:3,libc:3,current:1,page:2,portage_log_pars:1,registrar:3,reliabl:[2,4],logic:1,action:1,mani:[2,4],chang:3,share:3,lsof:2,other:3,block:[1,2,3,4],first:1,load:[2,3,4],via:3,dictionari:1,packagenam:1,color:[2,4],overview:[0,2],modul:[1,2,3],defaultfilt:1,misc:[2,4],get_merge_list:1,usual:[2,3,4],two:1,ld_preload:[2,3,4],ask:3,unix:3,api:[0,1],non:[2,4],send:3,linux:3,instal:[0,1,2,3],desktop:3,open:[1,3],stage:[1,2,3,4],merg:1,reciev:3,get_dep:1,most:[2,4],from:[1,2,3,4],log:[1,2,4],fusef:[0,1,2,3,4],memori:1,profil:3,modifi:3,licens:2,doesn:1,system:[1,2,3,4],messag:[2,3,4],implicit:[1,3],verbos:[2,4],start:1,much:3,call:[1,3],includ:3,handl:1,autodep:[0,2,4],overhead:[2,4],xchat:[2,4],type:[1,3],strict:[2,4],usr:3,fork:3,parser:1,e
808 rrno:3,unexpect:3,fstracer:[0,1],tupl:1,tool:[2,4],copi:3,protect:3,direct:[2,4],"var":3,postrm:3,pars:1,low:1,portag:[1,3],atom:1,filesystem:3,"true":1,getfilesbypackag:1,origin:3,must:[1,2,4],also:[1,2,3,4],scheme:3,portage_util:1,err:3,package_util:[0,1],"default":[1,2,4],mount:3,launch:[1,2,3,4],intern:[0,1,3],dev:3,charact:3,showfsev:2,defin:[2,4],lib32:3,bridg:1,can:[1,2,3,4],behavior:3,error:3,about:3,more:[2,4],root:[2,4],delimit:3,loggabl:3,connect:3,pre:[2,4],"function":[1,3],empti:1,creat:3,look:1,descript:4,dure:[2,4],linker:3,filenam:1,argument:1,indic:[0,2],get_list_of_merged_packag:1,high:1,packag:[1,2,3,4],inform:[1,3],unreli:1,file:[0,1,2,3,4],tabl:[0,2],synopsi:4,"import":[2,4],work:[0,1,3],check:3,option:[1,2,4],filter:1,write:[1,3],chroot:3,emergearg:1,thei:1,output:[2,4],perform:[2,3,4],anoth:3,make:2,belong:1,when:[2,3,4],detail:3,same:3,"while":[2,3,4],note:[2,3,4],how:[0,3],wai:3,read:[1,2,3,4],take:[1,2,3,4],which:1,auto:[2,4],answer:3,instead:[1,3],
809 tmp:3,simpl:3,prepar:3,enabl:[2,4],analysi:[0,2,3,4],getpackagesbyfil:1,get_system_packages_list:1,extern:3,thi:[1,2,3,4],see:3,normal:[2,4],recomend:[2,4],after:3,what:[2,4],befor:3,buildtim:[2,4],fuse:[2,3,4],user:[2,4],blockpkg:[2,4],mai:1,end:[1,3],"class":1,"0x1dbdb90":1,don:[2,4],ani:[1,2,3,4],syscal:[2,4],directori:3,macro:[2,4],builder:[2,4],acloc:3,portage_misc_funct:1,rule:3,element:1,alwai:1,registr:3,depth:1,emerg:[1,2,4],environ:3,runtim:[2,3,4],allow:[1,2,3,4],time:[1,2,3,4],format:3,endtim:1,stagenam:3,hungri:1,rdepend:1},objtypes:{"0":"std:option","1":"py:module","2":"py:method","3":"py:function","4":"py:class"},titles:["Autodep&#8217;s documentation","API","Introduction","Internals","USER COMMANDS"],objnames:{"0":"option","1":"Python module","2":"Python method","3":"Python function","4":"Python class"},filenames:["index","api","intro","architecture","man"]})
810 \ No newline at end of file
811
812 diff --git a/docs/build/man/autodep.1 b/docs/build/man/autodep.1
813 new file mode 100644
814 index 0000000..da9aa10
815 --- /dev/null
816 +++ b/docs/build/man/autodep.1
817 @@ -0,0 +1,186 @@
818 +.TH "AUTODEP" "1" "August 03, 2011" "0.1" "Autodep"
819 +.SH NAME
820 +autodep \- auto dependency builder for Gentoo
821 +.
822 +.nr rst2man-indent-level 0
823 +.
824 +.de1 rstReportMargin
825 +\\$1 \\n[an-margin]
826 +level \\n[rst2man-indent-level]
827 +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
828 +-
829 +\\n[rst2man-indent0]
830 +\\n[rst2man-indent1]
831 +\\n[rst2man-indent2]
832 +..
833 +.de1 INDENT
834 +.\" .rstReportMargin pre:
835 +. RS \\$1
836 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
837 +. nr rst2man-indent-level +1
838 +.\" .rstReportMargin post:
839 +..
840 +.de UNINDENT
841 +. RE
842 +.\" indent \\n[an-margin]
843 +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
844 +.nr rst2man-indent-level -1
845 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
846 +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
847 +..
848 +.\" Man page generated from reStructeredText.
849 +.
850 +.SH SYNOPSIS
851 +.sp
852 +\fBautodep\fP [options] <command>
853 +.SH DESCRIPTION
854 +.sp
855 +Auto dependency builder is a tool for analysis files accessed during
856 +building a package. It also can be used for runtime dependencies analysis.
857 +.sp
858 +The tool can block an access to files of defined packages.
859 +.SH OPTIONS
860 +.INDENT 0.0
861 +.TP
862 +.B \-\-help, \-h
863 +.sp
864 +show this help message and exit
865 +.UNINDENT
866 +.INDENT 0.0
867 +.TP
868 +.B \-b, \-\-block
869 +.sp
870 +strict mode: deny all access to non\-dependency packages
871 +.UNINDENT
872 +.INDENT 0.0
873 +.TP
874 +.B \-\-blockpkgs=PACKAGES
875 +.sp
876 +block an access to files from this packages
877 +.UNINDENT
878 +.INDENT 0.0
879 +.TP
880 +.B \-f, \-\-files
881 +.sp
882 +show accessed files and not founded files
883 +.UNINDENT
884 +.INDENT 0.0
885 +.TP
886 +.B \-v, \-\-verbose
887 +.sp
888 +show non\-important packages, show unknown package and unknown stage
889 +.UNINDENT
890 +.INDENT 0.0
891 +.TP
892 +.B \-\-nocolor, \-C
893 +.sp
894 +don\(aqt output color
895 +.UNINDENT
896 +.INDENT 0.0
897 +.TP
898 +.B \-\-hooklib
899 +.
900 +use ld_preload logging approach(default)
901 +.UNINDENT
902 +.INDENT 0.0
903 +.TP
904 +.B \-\-fusefs
905 +.
906 +use fuse logging approach(slow, but reliable)
907 +.UNINDENT
908 +.SH HOOKLIB VS FUSEFS
909 +.TS
910 +center;
911 +|l|l|l|.
912 +_
913 +T{
914 +T} T{
915 +Hooklib
916 +T} T{
917 +Fusefs
918 +T}
919 +_
920 +T{
921 +Who can use this approach?
922 +T} T{
923 +\fBAny user\fP
924 +T} T{
925 +Only root
926 +T}
927 +_
928 +T{
929 +Is approach allows blocking an access to files?
930 +T} T{
931 +\fBYES\fP
932 +T} T{
933 +\fBYES\fP
934 +T}
935 +_
936 +T{
937 +Is overhead in performance big?
938 +T} T{
939 +\fBNO\fP
940 +T} T{
941 +YES [1]
942 +T}
943 +_
944 +T{
945 +What events are logged?
946 +T} T{
947 +Most [2]
948 +T} T{
949 +\fBALL\fP
950 +T}
951 +_
952 +T{
953 +When is it recomended to use an approach?
954 +T} T{
955 +For analysis
956 +of
957 +\fIbuildtime\fP
958 +dependencies
959 +T} T{
960 +For analysis
961 +of \fIruntime\fP
962 +dependencies
963 +T}
964 +_
965 +T{
966 +Is any pre\-requirements for using an approach?
967 +T} T{
968 +\fBNO\fP
969 +T} T{
970 +FUSE must be
971 +enabled in
972 +kernel
973 +T}
974 +_
975 +.TE
976 +Notes
977 +.IP [1] 5
978 +.
979 +Fuse file system is slower than normal one. Program reads many files
980 +while launching, so this will take more time than usual.
981 +.IP [2] 5
982 +.
983 +Loading of dynamic libraries and direct syscalls will not be logged.
984 +.SH EXAMPLES
985 +.SS Get the potential dependencies of a xchat package:
986 +.sp
987 +autodep emerge xchat
988 +.SS Get the potential dependencies of a xchat package, blocking x11\-misc/util\-macros package:
989 +.sp
990 +autodep emerge \-\-block x11\-misc/util\-macros emerge xchat
991 +.SS Get the potential dependencies of a xchat package, and show files accessed:
992 +.sp
993 +autodep \-\-files emerge xchat
994 +.SS Get the runtime dependencies of a xchat and show files accessed:
995 +.sp
996 +autodep \-\-fusefs \-\-files xchat
997 +.SH AUTHOR
998 +Alexander Bersenev
999 +.SH COPYRIGHT
1000 +2011, Alexander Bersenev
1001 +.\" Generated by docutils manpage writer.
1002 +.\"
1003 +.
1004
1005 diff --git a/docs/source/conf.py b/docs/source/conf.py
1006 index 12fdf8e..1f26d02 100644
1007 --- a/docs/source/conf.py
1008 +++ b/docs/source/conf.py
1009 @@ -194,7 +194,7 @@ latex_documents = [
1010 # One entry per manual page. List of tuples
1011 # (source start file, name, description, authors, manual section).
1012 man_pages = [
1013 - ('man', 'showfsevents.py', u'auto dependency builder for Gentoo',
1014 + ('man', 'autodep', u'auto dependency builder for Gentoo',
1015 [u'Alexander Bersenev'], 1)
1016 ]
1017
1018
1019 diff --git a/docs/source/intro.rst b/docs/source/intro.rst
1020 index 3914bbc..82278ac 100644
1021 --- a/docs/source/intro.rst
1022 +++ b/docs/source/intro.rst
1023 @@ -24,17 +24,21 @@ Installing
1024 Running
1025 ===================================
1026
1027 -.. program:: showfsevents.py
1028 +.. program:: autodep
1029
1030 .. code-block:: none
1031
1032 - showfsevents.py [options] <command>
1033 + autodep [options] <command>
1034
1035 .. cmdoption:: --help, -h
1036
1037 show this help message and exit
1038
1039 -.. cmdoption:: -b PACKAGES, --block=PACKAGES
1040 +.. cmdoption:: -b, --block
1041 +
1042 + strict mode: deny all access to non-dependency packages
1043 +
1044 +.. cmdoption:: --blockpkgs=PACKAGES
1045
1046 block an access to files from this packages
1047
1048 @@ -96,28 +100,28 @@ Examples
1049
1050 .. code-block:: none
1051
1052 - showfsevents.py emerge xchat
1053 + autodep emerge xchat
1054
1055 .. rubric:: 2. Get the potential dependencies of a xchat package, blocking
1056 x11-misc/util-macros package:
1057
1058 .. code-block:: none
1059
1060 - showfsevents.py emerge --block x11-misc/util-macros emerge xchat
1061 + autodep emerge --block x11-misc/util-macros emerge xchat
1062
1063 .. rubric:: 3. Get the potential dependencies of a xchat package, and show files
1064 accessed:
1065
1066 .. code-block:: none
1067
1068 - showfsevents.py --files emerge xchat
1069 + autodep --files emerge xchat
1070
1071 .. rubric:: 4. Get the runtime dependencies of a xchat and show files
1072 accessed:
1073
1074 .. code-block:: none
1075
1076 - showfsevents.py --fusefs --files xchat
1077 + autodep --fusefs --files xchat
1078
1079
1080
1081
1082 diff --git a/docs/source/man.rst b/docs/source/man.rst
1083 index ca7fdab..b49fb54 100644
1084 --- a/docs/source/man.rst
1085 +++ b/docs/source/man.rst
1086 @@ -5,7 +5,7 @@ USER COMMANDS
1087 SYNOPSIS
1088 ========
1089
1090 -**showfsevents.py** [options] <command>
1091 +**autodep** [options] <command>
1092
1093 DESCRIPTION
1094 ===========
1095 @@ -18,13 +18,17 @@ The tool can block an access to files of defined packages.
1096 OPTIONS
1097 =======
1098
1099 -.. program:: showfsevents.py
1100 +.. program:: autodep
1101
1102 .. cmdoption:: --help, -h
1103
1104 show this help message and exit
1105
1106 -.. cmdoption:: -b PACKAGES, --block=PACKAGES
1107 +.. cmdoption:: -b, --block
1108 +
1109 + strict mode: deny all access to non-dependency packages
1110 +
1111 +.. cmdoption:: --blockpkgs=PACKAGES
1112
1113 block an access to files from this packages
1114
1115 @@ -79,17 +83,17 @@ Examples
1116
1117 Get the potential dependencies of a xchat package:
1118 -----------------------------------------------------
1119 -showfsevents.py emerge xchat
1120 +autodep emerge xchat
1121
1122 Get the potential dependencies of a xchat package, blocking x11-misc/util-macros package:
1123 --------------------------------------------------------------------------------------------
1124 -showfsevents.py emerge --block x11-misc/util-macros emerge xchat
1125 +autodep emerge --block x11-misc/util-macros emerge xchat
1126
1127 Get the potential dependencies of a xchat package, and show files accessed:
1128 ------------------------------------------------------------------------------
1129 -showfsevents.py --files emerge xchat
1130 +autodep --files emerge xchat
1131
1132 Get the runtime dependencies of a xchat and show files accessed:
1133 -------------------------------------------------------------------
1134 -showfsevents.py --fusefs --files xchat
1135 +autodep --fusefs --files xchat