|
|
4c79b5 |
|
|
|
4c79b5 |
<html>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
can you do inside it.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Copyright C 2009, 2010 CentOS Artwork SIG. All rights
|
|
|
4c79b5 |
reserved.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Permission is granted to copy, distribute and/or modify this document
|
|
|
4c79b5 |
under the terms of the GNU Free Documentation License, Version 1.2 or
|
|
|
4c79b5 |
any later version published by the Free Software Foundation; with no
|
|
|
4c79b5 |
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
|
|
|
4c79b5 |
copy of the license is included in the section entitled GNU Free
|
|
|
4c79b5 |
Documentation License.
|
|
|
4c79b5 |
-->
|
|
|
12494b |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
|
|
|
4c79b5 |
Karl Berry <karl@freefriends.org>
|
|
|
4c79b5 |
Olaf Bachmann <obachman@mathematik.uni-kl.de>
|
|
|
4c79b5 |
and many others.
|
|
|
4c79b5 |
Maintained by: Many creative people <dev@texi2html.cvshome.org>
|
|
|
4c79b5 |
Send bugs and suggestions to <users@texi2html.cvshome.org>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
-->
|
|
|
4c79b5 |
<head>
|
|
|
b8013f |
<title>CentOS Artwork Repository: 3.47 trunk/Scripts/Bash/Functions/Verify</title>
|
|
|
4c79b5 |
|
|
|
b8013f |
<meta name="description" content="CentOS Artwork Repository: 3.47 trunk/Scripts/Bash/Functions/Verify">
|
|
|
b8013f |
<meta name="keywords" content="CentOS Artwork Repository: 3.47 trunk/Scripts/Bash/Functions/Verify">
|
|
|
4c79b5 |
<meta name="resource-type" content="document">
|
|
|
4c79b5 |
<meta name="distribution" content="global">
|
|
|
4c79b5 |
<meta name="Generator" content="texi2html 1.76">
|
|
|
4c79b5 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
4c79b5 |
<style type="text/css">
|
|
|
4c79b5 |
|
|
|
1e9202 |
@import "/home/centos/artwork/trunk/Identity/Models/Css/Texi2html/common.css";
|
|
|
4c79b5 |
|
|
|
4c79b5 |
a.summary-letter {text-decoration: none}
|
|
|
4c79b5 |
pre.display {font-family: serif}
|
|
|
4c79b5 |
pre.format {font-family: serif}
|
|
|
4c79b5 |
pre.menu-comment {font-family: serif}
|
|
|
4c79b5 |
pre.menu-preformatted {font-family: serif}
|
|
|
4c79b5 |
pre.smalldisplay {font-family: serif; font-size: smaller}
|
|
|
4c79b5 |
pre.smallexample {font-size: smaller}
|
|
|
4c79b5 |
pre.smallformat {font-family: serif; font-size: smaller}
|
|
|
4c79b5 |
pre.smalllisp {font-size: smaller}
|
|
|
4c79b5 |
span.sansserif {font-family:sans-serif; font-weight:normal;}
|
|
|
4c79b5 |
ul.toc {list-style: none}
|
|
|
4c79b5 |
-->
|
|
|
4c79b5 |
</style>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</head>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
12494b |
[ < ]
|
|
|
12494b |
[ > ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[ << ]
|
|
|
4c79b5 |
[ Up ]
|
|
|
eae802 |
[ >> ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[Top]
|
|
|
4c79b5 |
[Contents]
|
|
|
eae802 |
[Index]
|
|
|
4c79b5 |
[ ? ]
|
|
|
4c79b5 |
|
|
|
b8013f |
|
|
|
12494b |
|
|
|
b8013f |
3.47 trunk/Scripts/Bash/Functions/Verify
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
12494b |
|
|
|
fe989b |
3.47.1 Goals
|
|
|
4c79b5 |
|
|
|
b8013f |
This section exists to organize files related to "verify"
|
|
|
b8013f |
functionality of centos-art.sh script. The "verify" functionality
|
|
|
b8013f |
of centos-art.sh script helps you to prepare the workstation you are
|
|
|
b8013f |
planning to use centos-art.sh script.
|
|
|
38bcd9 |
|
|
|
4c79b5 |
|
|
|
12494b |
|
|
|
fe989b |
3.47.2 Description
|
|
|
cb2a5d |
|
|
|
b8013f |
The first time you download CentOS Artwork Repository you need to
|
|
|
b8013f |
configure your workstation in order to use automation scripts. These
|
|
|
b8013f |
preliminar configurations are based mainly on auxiliar RPM packages
|
|
|
eae802 |
installation, symbolic links creations, and environment variables
|
|
|
eae802 |
definitions.
|
|
|
38bcd9 |
|
|
|
eae802 |
|
|
|
eae802 |
|
|
|
eae802 |
3.47.2.1 Packages
|
|
|
eae802 |
|
|
|
b8013f |
Installation of auxiliar RPM packages provides the software required
|
|
|
b8013f |
to manipulate files inside the repository (e.g., image files,
|
|
|
b8013f |
documentation files, translation files, script files, etc.). Most of
|
|
|
b8013f |
RPM packages centos-art.sh script uses are shipped with CentOS
|
|
|
b8013f |
distribution, and can be installed from CentOS base repository. The
|
|
|
eae802 |
only exception is <samp>`inkscape'</samp>, the package we use to manipulate
|
|
|
eae802 |
SVG files. The <samp>`inkscape'</samp> package is not inside CentOS
|
|
|
eae802 |
distribution so it needs to be installed from third party
|
|
|
eae802 |
repositories.
|
|
|
38bcd9 |
|
|
|
eae802 |
Note Configuration of third party repositories inside CentOS
|
|
|
eae802 |
distribution is described in CentOS wiki, specifically in the
|
|
|
eae802 |
following URL:
|
|
|
eae802 |
http://wiki.centos.org/AdditionalResources/Repositories
|
|
|
eae802 |
|
|
|
eae802 |
|
|
|
eae802 |
|
|
|
eae802 |
|
|
|
eae802 |
3.47.2.2 Links
|
|
|
eae802 |
|
|
|
eae802 |
Creation of symbolic links help us to reuse components inside
|
|
|
eae802 |
repository working copies. For example, palettes of colors maintained
|
|
|
eae802 |
inside your repository working copy are not duplicated inside
|
|
|
eae802 |
program-specific configuration directories that uses them in your
|
|
|
eae802 |
workstation. Instead, a symbolic link is created for each one of
|
|
|
eae802 |
them, from program-specific configuration directories to files in
|
|
|
eae802 |
repository working copy. In this configuration, when someone commits
|
|
|
eae802 |
changes to palettes of colors up to central repository, they--the
|
|
|
eae802 |
changes commited-- will be immediatly available to your programs the
|
|
|
eae802 |
next time you update your repository working copy where such palettes
|
|
|
eae802 |
of colors are.
|
|
|
b8013f |
|
|
|
eae802 |
Creation of symbolic links help us to make automation scripts
|
|
|
eae802 |
available outside <tt>`trunk/'</tt> repository directory structure, but at
|
|
|
eae802 |
its same level it is in repository tree. This is useful if you need to
|
|
|
eae802 |
use "render" functionality under <tt>`branches/'</tt> repository
|
|
|
b8013f |
structure using the same automation scripts you use inside
|
|
|
eae802 |
<tt>`trunk/'</tt> repository directory structure. As consequence of this
|
|
|
eae802 |
configuration, automation scripts cannot be branched under
|
|
|
eae802 |
<tt>`branches/Scripts'</tt> directory structure.
|
|
|
b8013f |
|
|
|
eae802 |
Creation of symbolic links help us to alternate between different
|
|
|
eae802 |
implementations of centos-art command-line (e.g.,
|
|
|
b8013f |
<tt>`centos-art.sh'</tt>, for Bash implementation; <tt>`centos-art.py'</tt>,
|
|
|
b8013f |
for Python implementation; <tt>`centos-art.pl'</tt>, for Perl
|
|
|
eae802 |
implementation; and so on for other implementations). The
|
|
|
eae802 |
centos-art command-line definition takes place inside your
|
|
|
eae802 |
personal binary (<tt>`~/bin/'</tt>) directory.
|
|
|
b8013f |
|
|
|
eae802 |
|
|
|
eae802 |
|
|
|
eae802 |
3.47.2.3 Environment variables
|
|
|
eae802 |
|
|
|
eae802 |
Definition of environment variables help us to set default values you
|
|
|
eae802 |
use along your user session. Environment variables definition takes
|
|
|
eae802 |
place inside your personal <tt>`~/.bash_profile'</tt> file. You can use
|
|
|
eae802 |
<tt>`~/.bash_profile'</tt> file to define which is your default text
|
|
|
eae802 |
editor (EDITOR), and any value you consider useful for your
|
|
|
eae802 |
day-by-day working journey.
|
|
|
38bcd9 |
|
|
|
6aec21 |
|
|
|
eae802 |
|
|
|
eae802 |
3.47.2.4 Time coordination
|
|
|
eae802 |
|
|
|
eae802 |
Another convenction to consider is the time representation we use for
|
|
|
eae802 |
both repository server and repository working copies. The time
|
|
|
eae802 |
representation in the repository server is set to Coordinated
|
|
|
eae802 |
Universal Time (UTC). It would be very convenient if you set your
|
|
|
eae802 |
workstation to use UTC too. Otherwise it would be difficult for you
|
|
|
eae802 |
to find out when changes were committed in time exactly.
|
|
|
eae802 |
|
|
|
eae802 |
Tip Coordinated Univeral Time (UTC) time representation can
|
|
|
eae802 |
be configured when you install CentOS distribution, or later in your
|
|
|
eae802 |
graphical interface using the following command:
|
|
|
eae802 |
system-config-date
|
|
|
eae802 |
|
|
|
eae802 |
|
|
|
eae802 |
Note If you set your system clock to use UTC time
|
|
|
eae802 |
representation, you will need to set the TZ environment
|
|
|
eae802 |
variable inside <tt>`~/.bash_profile'</tt> as follows:
|
|
|
eae802 |
export TZ=UTC
|
|
|
eae802 |
This is required in order for your terminal to display the correct
|
|
|
eae802 |
time information of your zone, taking UTC time representation as
|
|
|
eae802 |
reference.
|
|
|
eae802 |
|
|
|
eae802 |
|
|
|
eae802 |
|
|
|
eae802 |
|
|
|
6aec21 |
3.47.3 Usage
|
|
|
6aec21 |
|
|
|
eae802 |
If this is the first time you run centos-art command, the
|
|
|
eae802 |
appropriate way to execute "verify" functionality is not using the
|
|
|
eae802 |
centos-art command directly, but the absolute path to
|
|
|
eae802 |
centos-art.sh script instead (i.e.,
|
|
|
eae802 |
<tt>`~/artwork/trunk/Scripts/Bash/centos-art.sh'</tt>).
|
|
|
eae802 |
|
|
|
38bcd9 |
|
|
|
b8013f |
<samp>`centos-art verify --packages'</samp>
|
|
|
eae802 |
This command verifies required packages your workstation needs in
|
|
|
b8013f |
order to run the centos-art command correctly.
|
|
|
38bcd9 |
|
|
|
38bcd9 |
|
|
|
eae802 |
<samp>`centos-art verify --links'</samp>
|
|
|
eae802 |
This command verifies required links your workstation needs in order
|
|
|
eae802 |
to run the centos-art command correctly.
|
|
|
eae802 |
|
|
|
eae802 |
|
|
|
eae802 |
<samp>`centos-art verify --environment'</samp>
|
|
|
eae802 |
This command verifies required environment variables your workstation
|
|
|
eae802 |
needs in order to run centos-art command correctly.
|
|
|
38bcd9 |
|
|
|
38bcd9 |
|
|
|
6aec21 |
|
|
|
6aec21 |
|
|
|
eae802 |
|
|
|
4c79b5 |
3.47.4 See also
|
|
|
4c79b5 |
|
|
|
eae802 |
|
|
|
eae802 |
3.35 trunk/Scripts/Bash/Functions
|
|
|
eae802 |
|
|
|
eae802 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
eae802 |
[ < ]
|
|
|
eae802 |
[ > ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[ << ]
|
|
|
12494b |
[ Up ]
|
|
|
eae802 |
[ >> ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<font size="-1">
|
|
|
12494b |
This document was generated on October, 29 2010 using texi2html 1.76.
|
|
|
4c79b5 |
</font>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</body>
|
|
|
4c79b5 |
</html>
|