website rev 541

tazwok*: add hooks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 17 11:29:31 2009 +0200 (2009-09-17)
parents 489aa5f8f2f0
children 182c0a29a432
files en/doc/manuals/tazwok.en.html fr/doc/manuals/tazwok.html pt/doc/manuals/tazwok.pt.html
line diff
     1.1 --- a/en/doc/manuals/tazwok.en.html	Mon Aug 31 19:23:12 2009 +0000
     1.2 +++ b/en/doc/manuals/tazwok.en.html	Thu Sep 17 11:29:31 2009 +0200
     1.3 @@ -55,12 +55,14 @@
     1.4  </p>
     1.5  
     1.6  <h2>COMMANDS</h2>
     1.7 +<a name="usage"></a>
     1.8  <h3><font color="#6c0023">usage</font></h3>
     1.9  <p>
    1.10  Usage displays a summary of available commands with a short description in English:
    1.11  </p>
    1.12  <pre> # tazwok usage
    1.13  </pre>
    1.14 +<a name="stats"></a>
    1.15  <h3><font color="#6c0023">stats</font></h3>
    1.16  <p>
    1.17  Stats displays information contained in the configuration file and the number of packages
    1.18 @@ -68,6 +70,7 @@
    1.19  </p>
    1.20  <pre> # tazwok stats
    1.21  </pre>
    1.22 +<a name="list"></a>
    1.23  <h3><font color="#6c0023">list</font></h3>
    1.24  <p>
    1.25  List allows you to list all the packages contained in the wok or the default categories
    1.26 @@ -76,6 +79,7 @@
    1.27  <pre> # tazwok list
    1.28   # tazwok list category
    1.29  </pre>
    1.30 +<a name="info"></a>
    1.31  <h3><font color="#6c0023">info</font></h3>
    1.32  <p>
    1.33  This command provides information on the package - name, version, etc. Info on the basic package receipt
    1.34 @@ -83,6 +87,7 @@
    1.35  </p>
    1.36  <pre> # tazwok info package
    1.37  </pre>
    1.38 +<a name="check-log"></a>
    1.39  <h3><font color="#6c0023">check-log</font></h3>
    1.40  <p>
    1.41  When compiling a binary source, Tazwok generates a few messages stored in the file
    1.42 @@ -90,12 +95,14 @@
    1.43  </p>
    1.44  <pre> # tazwok check-log package
    1.45  </pre>
    1.46 +<a name="search"></a>
    1.47  <h3><font color="#6c0023">search</font></h3>
    1.48  <p>
    1.49  Search allows you to search for packages in the wok. You can specify a term or package name:
    1.50  </p>
    1.51  <pre> # tazwok search name
    1.52  </pre>
    1.53 +<a name="compile"></a>
    1.54  <h3><font color="#6c0023">compile</font></h3>
    1.55  <p>
    1.56  This command uses the compilation rules (compile_rules) specified in the receipt for the package in
    1.57 @@ -105,6 +112,7 @@
    1.58  </p>
    1.59  <pre> # tazwok compile package
    1.60  </pre>
    1.61 +<a name="genpkg"></a>
    1.62  <h3><font color="#6c0023">genpkg</font></h3>
    1.63  <p>
    1.64  Genpkg will generate the .tazpkg package using the 'genpkg_rules' found in the receipt.
    1.65 @@ -115,12 +123,14 @@
    1.66  </p>
    1.67  <pre> # tazwok genpkg package
    1.68  </pre>
    1.69 +<a name="cook"></a>
    1.70  <h3><font color="#6c0023">cook</font></h3>
    1.71  <p>
    1.72  Cook will simply compile and generate the package:
    1.73  </p>
    1.74  <pre> # tazwok cook package
    1.75  </pre>
    1.76 +<a name="cook-list"></a>
    1.77  <h3><font color="#6c0023">cook-list</font></h3>
    1.78  <p>
    1.79  This command will launch 'tazwok cook' on all the packages contained in the list file specified in the argument.
    1.80 @@ -129,12 +139,14 @@
    1.81  </p>
    1.82  <pre> # tazwok cook-list packages.cooklist
    1.83  </pre>
    1.84 +<a name="clean"></a>
    1.85  <h3><font color="#6c0023">clean</font></h3>
    1.86  <p>
    1.87  Clean can simply delete all files generated by compiling and packaging: 
    1.88  </p>
    1.89  <pre> # tazwok clean package
    1.90  </pre>
    1.91 +<a name="new-tree"></a>
    1.92  <h3><font color="#6c0023">new-tree</font></h3>
    1.93  <p>
    1.94  The 'new-tree' command can create a new package in the wok and can be used interactively. It
    1.95 @@ -145,6 +157,7 @@
    1.96  <pre> # tazwok new-tree package
    1.97   # tazwok new-tree package --interactive
    1.98  </pre>
    1.99 +<a name="gen-list"></a>
   1.100  <h3><font color="#6c0023">gen-list</font></h3>
   1.101  <p>
   1.102  The 'gen-list' command can generate a list of packages (packages.list), their md5 (packages.md5) and a list
   1.103 @@ -157,6 +170,7 @@
   1.104   # tazwok gen-list --text
   1.105   # tazwok gen-list /path/to/repository
   1.106  </pre>
   1.107 +<a name="gen-clean-wok"></a>
   1.108  <h3><font color="#6c0023">gen-clean-wok and clean-wok</font></h3>
   1.109  <p>
   1.110  The 'gen-clean-wok' command can create a new wok, this is useful to save a version of the wok, or create a new wok
   1.111 @@ -166,18 +180,21 @@
   1.112  <pre> # tazwok gen-clean-wok path/to/new-wok
   1.113   # tazwok clean-wok
   1.114  </pre>
   1.115 +<a name="remove"></a>
   1.116  <h3><font color="#6c0023">remove</font></h3>
   1.117  <p>
   1.118  Removes the package specified from the wok, including the receipt, stuff, all files, etc:
   1.119  </p>
   1.120  <pre> # tazwok remove package
   1.121  </pre>
   1.122 +<a name="build-depends"></a>
   1.123  <h3><font color="#6c0023">build-depends</font></h3>
   1.124  <p>
   1.125  Build-depends generates a list of packages to build a wok:
   1.126  </p>
   1.127  <pre> # tazwok build-depends
   1.128  </pre>
   1.129 +<a name="compare"></a>
   1.130  <h3><font color="#6c0023">cmp|compare</font></h3>
   1.131  <p>
   1.132  Compares the wok and the cooked packages and generates a report.
   1.133 @@ -188,6 +205,7 @@
   1.134   # tazwok compare --remove
   1.135   # tazwok compare --cook
   1.136  </pre> 
   1.137 +<a name="check"></a>
   1.138  <h3><font color="#6c0023">check</font></h3>
   1.139  <p>
   1.140  Checks the receipts for common errors:
     2.1 --- a/fr/doc/manuals/tazwok.html	Mon Aug 31 19:23:12 2009 +0000
     2.2 +++ b/fr/doc/manuals/tazwok.html	Thu Sep 17 11:29:31 2009 +0200
     2.3 @@ -63,6 +63,7 @@
     2.4  </p>
     2.5  
     2.6  <h2>COMMANDES</h2>
     2.7 +<a name="usage"></a>
     2.8  <h3><font color="#6c0023">usage</font></h3>
     2.9  <p>
    2.10  La commande 'usage' affiche la liste des commandes diponibles avec une petite
    2.11 @@ -71,6 +72,7 @@
    2.12  <pre>
    2.13   # tazwok usage
    2.14  </pre>
    2.15 +<a name="stats"></a>
    2.16  <h3><font color="#6c0023">stats</font></h3>
    2.17  <p>
    2.18  Stats affiche les informations contenue dans le fichier de configuration et
    2.19 @@ -79,6 +81,7 @@
    2.20  <pre>
    2.21   # tazwok stats
    2.22  </pre>
    2.23 +<a name="list"></a>
    2.24  <h3><font color="#6c0023">list</font></h3>
    2.25  <p>
    2.26  La commande 'list' permet de lister l'ensemble des paquets contenus dans le
    2.27 @@ -89,6 +92,7 @@
    2.28   # tazwok list
    2.29   # tazwok list category
    2.30  </pre>
    2.31 +<a name="info"></a>
    2.32  <h3><font color="#6c0023">info</font></h3>
    2.33  <p>
    2.34  Cette commande donne des informations sur le paquet, nom, version, etc. Info
    2.35 @@ -98,6 +102,7 @@
    2.36  <pre>
    2.37   # tazwok info package
    2.38  </pre>
    2.39 +<a name="check-log"></a>
    2.40  <h3><font color="#6c0023">check-log</font></h3>
    2.41  <p>
    2.42  Lors de la compilation et génération du paquet binaire, Tazwok génére quelques
    2.43 @@ -106,6 +111,7 @@
    2.44  <pre>
    2.45   # tazwok check-log package
    2.46  </pre>
    2.47 +<a name="search"></a>
    2.48  <h3><font color="#6c0023">search</font></h3>
    2.49  <p>
    2.50  Search permet de faire une recherche de paquet dans le wok. Vous pouvez
    2.51 @@ -114,6 +120,7 @@
    2.52  <pre>
    2.53   # tazwok search name
    2.54  </pre>
    2.55 +<a name="compile"></a>
    2.56  <h3><font color="#6c0023">compile</font></h3>
    2.57  <p>
    2.58  Compile va compiler. Cette commande utilise les régles de compilation
    2.59 @@ -126,6 +133,7 @@
    2.60  <pre>
    2.61   # tazwok compile package
    2.62  </pre>
    2.63 +<a name="genpkg"></a>
    2.64  <h3><font color="#6c0023">genpkg</font></h3>
    2.65  <p>
    2.66  Genpkg pour <em>Generate package</em>, va générer le paquet (.tazpkg) en
    2.67 @@ -142,6 +150,7 @@
    2.68  <pre>
    2.69   # tazwok genpkg package
    2.70  </pre>
    2.71 +<a name="cook"></a>
    2.72  <h3><font color="#6c0023">cook</font></h3>
    2.73  <p>
    2.74  Cook va simplement compiler et empaqueter les paquet en une seule fois :
    2.75 @@ -149,6 +158,7 @@
    2.76  <pre>
    2.77   # tazwok cook package
    2.78  </pre>
    2.79 +<a name="cook-list"></a>
    2.80  <h3><font color="#6c0023">cook-list</font></h3>
    2.81  <p>
    2.82  Cette commade va lancer 'tazwok cook' sur tous les paquets contenus dans la
    2.83 @@ -162,6 +172,7 @@
    2.84  <pre>
    2.85   # tazwok cook-list packages.cooklist
    2.86  </pre>
    2.87 +<a name="clean"></a>
    2.88  <h3><font color="#6c0023">clean</font></h3>
    2.89  <p>
    2.90  Clean permet simplement de supprimer tous les fichiers générés par la
    2.91 @@ -170,6 +181,7 @@
    2.92  <pre>
    2.93   # tazwok clean package
    2.94  </pre>
    2.95 +<a name="new-tree"></a>
    2.96  <h3><font color="#6c0023">new-tree</font></h3>
    2.97  <p>
    2.98  La commande 'new-tree' permet de créer un nouveau paquet dans le wok et
    2.99 @@ -183,6 +195,7 @@
   2.100   # tazwok new-tree package
   2.101   # tazwok new-tree package --interactive
   2.102  </pre>
   2.103 +<a name="gen-list"></a>
   2.104  <h3><font color="#6c0023">gen-list</font></h3>
   2.105  <p>
   2.106  La commande 'gen-list' permet de générer une liste de paquets (packages.list),
   2.107 @@ -199,6 +212,7 @@
   2.108   # tazwok gen-list --text
   2.109   # tazwok gen-list /path/to/repository
   2.110  </pre>
   2.111 +<a name="gen-clean-wok"></a>
   2.112  <h3><font color="#6c0023">gen-clean-wok et clean-wok</font></h3>
   2.113  <p>
   2.114  La commande 'gen-clean-wok' permet de générer un wok propre depuis le wok
   2.115 @@ -211,6 +225,7 @@
   2.116   # tazwok gen-clean-wok path/to/new-wok
   2.117   # tazwok clean-wok
   2.118  </pre>
   2.119 +<a name="remove"></a>
   2.120  <h3><font color="#6c0023">remove</font></h3>
   2.121  <p>
   2.122  Supprime le paquet spécifié du wok, avec tous les fichiers, stuff et recette
   2.123 @@ -219,6 +234,7 @@
   2.124  <pre>
   2.125   # tazwok remove package
   2.126  </pre>
   2.127 +<a name="build-depends"></a>
   2.128  <h3><font color="#6c0023">build-depends</font></h3>
   2.129  <p>
   2.130  Build-depends génère une liste de paquets nécessaires pour compiler le wok :
   2.131 @@ -226,6 +242,7 @@
   2.132  <pre>
   2.133   # tazwok build-depends
   2.134  </pre>
   2.135 +<a name="compare"></a>
   2.136  <h3><font color="#6c0023">cmp|compare</font></h3>
   2.137  <p>
   2.138  Compare le wok avec les paquets déjà cuits et génère un rapport.
   2.139 @@ -237,6 +254,7 @@
   2.140   # tazwok compare --remove
   2.141   # tazwok compare --cook
   2.142  </pre>
   2.143 +<a name="check"></a>
   2.144  <h3><font color="#6c0023">check</font></h3>
   2.145  <p>
   2.146  Recherche les erreurs courantes dans les receipts :
     3.1 --- a/pt/doc/manuals/tazwok.pt.html	Mon Aug 31 19:23:12 2009 +0000
     3.2 +++ b/pt/doc/manuals/tazwok.pt.html	Thu Sep 17 11:29:31 2009 +0200
     3.3 @@ -59,12 +59,14 @@
     3.4  </p>
     3.5  
     3.6  <h2>COMANDOS</h2>
     3.7 +<a name="usage"></a>
     3.8  <h3><font color="#6c0023">usage</font></h3>
     3.9  <p>
    3.10  Mostra um resumo dos comandos disponíveis e uma pequena descrição em inglês:
    3.11  </p>
    3.12  <pre> # tazwok usage
    3.13  </pre>
    3.14 +<a name="stats"></a>
    3.15  <h3><font color="#6c0023">stats</font></h3>
    3.16  <p>
    3.17  Mostra informações contidas no arquivo de configuração e o número de pacotes
    3.18 @@ -72,6 +74,7 @@
    3.19  </p>
    3.20  <pre> # tazwok stats
    3.21  </pre>
    3.22 +<a name="list"></a>
    3.23  <h3><font color="#6c0023">list</font></h3>
    3.24  <p>
    3.25  Permite listar todos os pacotes que se encontram no wok ou as categorias padrão
    3.26 @@ -80,6 +83,7 @@
    3.27  <pre> # tazwok list
    3.28   # tazwok list category
    3.29  </pre>
    3.30 +<a name="info"></a>
    3.31  <h3><font color="#6c0023">info</font></h3>
    3.32  <p>
    3.33  Este comando fornece informações sobre o pacote - nome, versão, etc. Informações
    3.34 @@ -88,6 +92,7 @@
    3.35  </p>
    3.36  <pre> # tazwok info package
    3.37  </pre>
    3.38 +<a name="check-log"></a>
    3.39  <h3><font color="#6c0023">check-log</font></h3>
    3.40  <p>
    3.41  Ao compilar um binário a partir dos fontes, o Tazwok gera algumas mensagens que
    3.42 @@ -95,6 +100,7 @@
    3.43  </p>
    3.44  <pre> # tazwok check-log package
    3.45  </pre>
    3.46 +<a name="search"></a>
    3.47  <h3><font color="#6c0023">search</font></h3>
    3.48  <p>
    3.49  Permite procurar por pacotes no wok. Pode-se especificar uma palavra-chave ou o
    3.50 @@ -102,6 +108,7 @@
    3.51  </p>
    3.52  <pre> # tazwok search name
    3.53  </pre>
    3.54 +<a name="compile"></a>
    3.55  <h3><font color="#6c0023">compile</font></h3>
    3.56  <p>
    3.57  Este comando utiliza as regras de compilação (compile_rules) especificadas na
    3.58 @@ -111,6 +118,7 @@
    3.59  </p>
    3.60  <pre> # tazwok compile package
    3.61  </pre>
    3.62 +<a name="genpkg"></a>
    3.63  <h3><font color="#6c0023">genpkg</font></h3>
    3.64  <p>
    3.65  "Genpkg" gera um pacote .tazpkg usando as "genpkg_rules" encontradas na receita.
    3.66 @@ -124,12 +132,14 @@
    3.67  </p>
    3.68  <pre> # tazwok genpkg package
    3.69  </pre>
    3.70 +<a name="cook"></a>
    3.71  <h3><font color="#6c0023">cook</font></h3>
    3.72  <p>
    3.73  Simplesmente compila e gera o pacote:
    3.74  </p>
    3.75  <pre> # tazwok cook package
    3.76  </pre>
    3.77 +<a name="cook-list"></a>
    3.78  <h3><font color="#6c0023">cook-list</font></h3>
    3.79  <p>
    3.80  Este comando roda o "tazwok cook" em todos os pacotes contidos no arquivo de
    3.81 @@ -139,12 +149,14 @@
    3.82  </p>
    3.83  <pre> # tazwok cook-list packages.cooklist
    3.84  </pre>
    3.85 +<a name="clean"></a>
    3.86  <h3><font color="#6c0023">clean</font></h3>
    3.87  <p>
    3.88  Deleta todos os arquivos gerados na compilação e empacotamento:
    3.89  </p>
    3.90  <pre> # tazwok clean package
    3.91  </pre>
    3.92 +<a name="new-tree"></a>
    3.93  <h3><font color="#6c0023">new-tree</font></h3>
    3.94  <p>
    3.95  O comando "new-tree" cria um novo pacote no wok e pode ser usado interativamente.
    3.96 @@ -156,6 +168,7 @@
    3.97  <pre> # tazwok new-tree package
    3.98   # tazwok new-tree package --interactive
    3.99  </pre>
   3.100 +<a name="gen-list"></a>
   3.101  <h3><font color="#6c0023">gen-list</font></h3>
   3.102  <p>
   3.103  O comando "gen-list" gera uma lista de pacotes (packages.list), seus md5
   3.104 @@ -169,6 +182,7 @@
   3.105   # tazwok gen-list --text
   3.106   # tazwok gen-list /path/to/repository
   3.107  </pre>
   3.108 +<a name="gen-clean-wok"></a>
   3.109  <h3><font color="#6c0023">gen-clean-wok and clean-wok</font></h3>
   3.110  <p>
   3.111  O comando "gen-clean-wok" cria um novo wok, o que é útil para salvar uma versão
   3.112 @@ -179,6 +193,7 @@
   3.113  <pre> # tazwok gen-clean-wok path/to/new-wok
   3.114   # tazwok clean-wok
   3.115  </pre>
   3.116 +<a name="remove"></a>
   3.117  <h3><font color="#6c0023">remove</font></h3>
   3.118  <p>
   3.119  Remove o pacote especificado do wok, incluindo receitas e outros arquivos
   3.120 @@ -186,12 +201,14 @@
   3.121  </p>
   3.122  <pre> # tazwok remove package
   3.123  </pre>
   3.124 +<a name="build-depends"></a>
   3.125  <h3><font color="#6c0023">build-depends</font></h3>
   3.126  <p>
   3.127  Gera uma lista de pacotes para a construção do wok:
   3.128  </p>
   3.129  <pre> # tazwok build-depends
   3.130  </pre>
   3.131 +<a name="compare"></a>
   3.132  <h3><font color="#6c0023">cmp|compare</font></h3>
   3.133  <p>
   3.134  Compara o wok e os pacotes preparados e gera um relatório. Pacotes
   3.135 @@ -202,6 +219,7 @@
   3.136   # tazwok compare --remove
   3.137   # tazwok compare --cook
   3.138  </pre> 
   3.139 +<a name="check"></a>
   3.140  <h3><font color="#6c0023">check</font></h3>
   3.141  <p>
   3.142  Checa as receitas em busca de erros comuns: