|
Alain Reguera Delgado |
cdbf5c |
centos-art.sh(1)
|
|
Alain Reguera Delgado |
cdbf5c |
================
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
Name
|
|
Alain Reguera Delgado |
cdbf5c |
----
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
centos-art.sh - The CentOS artwork repository automation tool.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
Synopsis
|
|
Alain Reguera Delgado |
cdbf5c |
--------
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*centos-art.sh* [*--help*|*--version*]::
|
|
Alain Reguera Delgado |
cdbf5c |
Print information about *centos-art.sh* script itself.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*centos-art.sh* *MODULE* [*--help|--version*]::
|
|
Alain Reguera Delgado |
cdbf5c |
Print information about the specified module. See <<modules>>
|
|
Alain Reguera Delgado |
cdbf5c |
below to see which modules *centos-art.sh* script supports.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
Description
|
|
Alain Reguera Delgado |
cdbf5c |
-----------
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*centos-art.sh* exists to standardize frequent tasks inside the CentOS
|
|
Alain Reguera Delgado |
cdbf5c |
artwork repository. Inside *centos-art.sh* script, frequent tasks are
|
|
Alain Reguera Delgado |
cdbf5c |
organized inside modules.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
When you execute the *centos-art.sh* script in a terminal, it requests
|
|
Alain Reguera Delgado |
cdbf5c |
you to enter the absolute path of CentOS artwork repository in your
|
|
Alain Reguera Delgado |
cdbf5c |
workstation. This information is required in order for *centos-art.sh*
|
|
Alain Reguera Delgado |
cdbf5c |
to know where the repository directory structure you want to work with
|
|
Alain Reguera Delgado |
cdbf5c |
is stored in. Later, once *centos-art.sh* knows where your copy of
|
|
Alain Reguera Delgado |
cdbf5c |
CentOS artwork repository is stored in, it initializes configuration
|
|
Alain Reguera Delgado |
cdbf5c |
variables and global functions. At this point, it continues reading
|
|
Alain Reguera Delgado |
cdbf5c |
the command-line arguments to retrieve the module's name, process
|
|
Alain Reguera Delgado |
cdbf5c |
common options next to it, store module-specific options and initiates
|
|
Alain Reguera Delgado |
cdbf5c |
the module's environment by executing the module's initialization
|
|
Alain Reguera Delgado |
cdbf5c |
script, based on the module's name retrieved from the command-line.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
[[modules]]
|
|
Alain Reguera Delgado |
cdbf5c |
Modules
|
|
Alain Reguera Delgado |
cdbf5c |
-------
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
The *centos-art.sh* script supports the following modules:
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*prepare*::
|
|
Alain Reguera Delgado |
cdbf5c |
Standardize configuration tasks needed by your working copy (e.g.,
|
|
Alain Reguera Delgado |
cdbf5c |
verify whether required packages are installed or not in your
|
|
Alain Reguera Delgado |
cdbf5c |
workstation, calls render module to produce images and manuals in
|
|
Alain Reguera Delgado |
cdbf5c |
the correct order). This is the first task you should run in your
|
|
Alain Reguera Delgado |
cdbf5c |
workstation, just after downloading a fresh working copy of CentOS
|
|
Alain Reguera Delgado |
cdbf5c |
artwork repository.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*render*::
|
|
Alain Reguera Delgado |
cdbf5c |
Standardize the way content is produced inside the repository.
|
|
Alain Reguera Delgado |
cdbf5c |
This function relies on configuration files to do its work.
|
|
Alain Reguera Delgado |
cdbf5c |
Whenever you need to produce images, documentation or localized
|
|
Alain Reguera Delgado |
cdbf5c |
content this is the module you'll need to use.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*locale*::
|
|
Alain Reguera Delgado |
cdbf5c |
Standardize the way translatable strings are retrieved from source
|
|
Alain Reguera Delgado |
cdbf5c |
files and put into portable objects for you to edit. Portable
|
|
Alain Reguera Delgado |
cdbf5c |
objects produced by this module are used by *render* module to
|
|
Alain Reguera Delgado |
cdbf5c |
produce localized content. Whenever you need to produce the
|
|
Alain Reguera Delgado |
cdbf5c |
intermediate files holding the translatable strings required to
|
|
Alain Reguera Delgado |
cdbf5c |
produce localized content, use this module.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*tuneup*::
|
|
Alain Reguera Delgado |
cdbf5c |
Standardize maintenance tasks frequently run inside the repository
|
|
Alain Reguera Delgado |
cdbf5c |
(e.g., reset written by, copyright and license information inside
|
|
Alain Reguera Delgado |
cdbf5c |
shell script's top-comments; transform probably malformed HTML
|
|
Alain Reguera Delgado |
cdbf5c |
documents into valid documents, and remove unused tags inside SVG
|
|
Alain Reguera Delgado |
cdbf5c |
documents.).
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
[[options]]
|
|
Alain Reguera Delgado |
cdbf5c |
Options
|
|
Alain Reguera Delgado |
cdbf5c |
-------
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
The *centos-art.sh* script supports the following options:
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*--help*::
|
|
Alain Reguera Delgado |
cdbf5c |
Print script documentation.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*--version*::
|
|
Alain Reguera Delgado |
cdbf5c |
Print script version.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*--debug*::
|
|
Alain Reguera Delgado |
cdbf5c |
Run the script in debugging mode. This option is very useful if
|
|
Alain Reguera Delgado |
cdbf5c |
you want to get a closer look to the way modules are opened and
|
|
Alain Reguera Delgado |
cdbf5c |
closed inside *centos-art.sh* script.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*--quiet*::
|
|
Alain Reguera Delgado |
cdbf5c |
Run the script quietly. This option reduces the amount of
|
|
Alain Reguera Delgado |
cdbf5c |
information the *centos-art.sh* script prints out when processing
|
|
Alain Reguera Delgado |
cdbf5c |
source files.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
*--yes*::
|
|
Alain Reguera Delgado |
cdbf5c |
Run the script in affirmative mode. This is answering ``yes'' to
|
|
Alain Reguera Delgado |
cdbf5c |
all ``yes or no'' questions. This option is useful when you run
|
|
Alain Reguera Delgado |
cdbf5c |
*centos-art.sh* with the *--quiet* option.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
[[exit-status]]
|
|
Alain Reguera Delgado |
cdbf5c |
Exit Status
|
|
Alain Reguera Delgado |
cdbf5c |
-----------
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
* 0 -- Exit successfully without errors.
|
|
Alain Reguera Delgado |
cdbf5c |
* 1 -- Exit with errors.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
[[bugs]]
|
|
Alain Reguera Delgado |
cdbf5c |
Bugs
|
|
Alain Reguera Delgado |
cdbf5c |
----
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
* https://centos.org.cu/bugs/[https://centos.org.cu/bugs/]
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
Author
|
|
Alain Reguera Delgado |
cdbf5c |
------
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
The *centos-art.sh* script has received contribution from the
|
|
Alain Reguera Delgado |
cdbf5c |
following people:
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
* Alain Reguera Delgado <mailto:al@centos.org.cu[al@centos.org.cu]>, 2009-2013
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
Copyright
|
|
Alain Reguera Delgado |
cdbf5c |
---------
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
Copyright (C) 2009-2013 The CentOS Artwork SIG
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
This program is free software; you can redistribute it and/or modify
|
|
Alain Reguera Delgado |
cdbf5c |
it under the terms of the GNU General Public License as published by
|
|
Alain Reguera Delgado |
cdbf5c |
the Free Software Foundation; either version 2 of the License, or (at
|
|
Alain Reguera Delgado |
cdbf5c |
your option) any later version.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
This program is distributed in the hope that it will be useful, but
|
|
Alain Reguera Delgado |
cdbf5c |
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Alain Reguera Delgado |
cdbf5c |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Alain Reguera Delgado |
cdbf5c |
General Public License for more details.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
You should have received a copy of the GNU General Public License
|
|
Alain Reguera Delgado |
cdbf5c |
along with this program; if not, write to the Free Software
|
|
Alain Reguera Delgado |
cdbf5c |
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
Alain Reguera Delgado |
cdbf5c |
|
|
Alain Reguera Delgado |
cdbf5c |
// vim: set syntax=asciidoc:
|