<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!--This manual describes what the CentOS Artwork Repository is and what
can you do inside it.
Copyright C 2009, 2010 CentOS Artwork SIG. All rights
reserved.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
copy of the license is included in the section entitled GNU Free
Documentation License.
-->
<!-- Created on October, 29 2010 by texi2html 1.76 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people <dev@texi2html.cvshome.org>
Send bugs and suggestions to <users@texi2html.cvshome.org>
-->
<head>
<title>CentOS Artwork Repository: 3.48 trunk/Scripts/Bash/Functions/Verify</title>
<meta name="description" content="CentOS Artwork Repository: 3.48 trunk/Scripts/Bash/Functions/Verify">
<meta name="keywords" content="CentOS Artwork Repository: 3.48 trunk/Scripts/Bash/Functions/Verify">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.76">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
<!--
@import "/home/centos/artwork/trunk/Identity/Models/Css/Texi2html/common.css";
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="repository_50.html#SEC272" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="#SEC274" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="repository_3.html#SEC3" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="repository_3.html#SEC3" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="repository_66.html#SEC363" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="repository.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="repository_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="repository_66.html#SEC363" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="repository_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<a name="trunk-Scripts-Bash-Functions-Verify"></a>
<a name="SEC273"></a>
<h2 class="section"> 3.48 trunk/Scripts/Bash/Functions/Verify </h2>
<a name="SEC274"></a>
<h3 class="subsection"> 3.48.1 Goals </h3>
<p>This section exists to organize files related to "verify"
functionality of centos-art.sh script. The "verify" functionality
of centos-art.sh script helps you to prepare the workstation you are
planning to use centos-art.sh script.
</p>
<a name="SEC275"></a>
<h3 class="subsection"> 3.48.2 Description </h3>
<p>The first time you download CentOS Artwork Repository you need to
configure your workstation in order to use automation scripts. These
preliminar configurations are based mainly on auxiliar RPM packages
installation, and some symbolic links creations.
</p>
<p>Installation of auxiliar RPM packages provides the software required
to manipulate files inside the repository (e.g., image files,
documentation files, translation files, script files, etc.). Most of
RPM packages centos-art.sh script uses are shipped with CentOS
distribution, and can be installed from CentOS base repository. The
only exception is Inkscape, the package we use manipulate SVG files.
The inkscape package is not inside CentOS distribution so it needs to
be installed from third party repositories.
</p>
<p>Creation of symbolic links help to reuse components inside your
repository working copy. For example, palettes of colors maintained
inside CentOS artwork repository are not duplicated inside programs'
configuration directories on your workstation. Instead, palettes of
colors maintain inside CentOS artwork repository are linked from
program configuration directories. In this configuration, when someone
commits palette of colors changes up to central repository you can
immediatly start using these changes the next time you update palette
of colors in your repository working copy.
</p>
<p>Creation of symbolic links help to make automation scripts available
to repository structures different to <tt>`trunk/'</tt>. This is useful if
you need to render artworks under <tt>`branches/'</tt> repository
structure using the same automation scripts you use inside
<tt>`trunk/'</tt>. As this configuration consecuence, automation scripts
cannot be branched under <tt>`branches/Scripts'</tt> repository structure.
</p>
<p>Creation of symbolic links help to create the <code>centos-art</code>
command line to whatever script invokation you are using (e.g.,
<tt>`centos-art.sh'</tt>, for Bash implementation; <tt>`centos-art.py'</tt>,
for Python implementation; <tt>`centos-art.pl'</tt>, for Perl
implementation; and so on for other implementations). The command line
definition takes place inside your personal binary (<tt>`~/bin/'</tt>)
directory.
</p>
<p>Definition of environment variables help to set default values you use
along your user session. Environment variables definition takes place
inside your personal <tt>`~/.bash_profile'</tt> file. You can use this
file to define which is your default text editor (<var>EDITOR</var>), time
zone (<var>TZ</var>) and any value you consider useful for your day-by-day
working.
</p>
<p>Another convenction to consider is the system date/time representation
we use. It would be very convenient if your workstation is configured
to use Coordinated Universal Time (UTC), just as CentOS Artwork
Repository server is configured. This way, both your repository
working copy and the central repository will coordinate time
information correctly. Otherwise it would be difficult to find out
when changes were committed exactly.
</p>
<a name="SEC276"></a>
<h3 class="subsection"> 3.48.3 Usage </h3>
<dl compact="compact">
<dt> <samp>`centos-art verify --packages'</samp></dt>
<dd><p>This command verifies installed packages your workstation needs in
order to run the <code>centos-art</code> command correctly.
</p>
</dd>
<dt> <samp>`centos-art verify --paths'</samp></dt>
<dd><p>This command verifies required repository files your workstation needs
in order to run the <code>centos-art</code> command correctly.
</p></dd>
</dl>
<p>If this is the first time you run <code>centos-art</code> command, the
appropriate way to execute "verify" action is not using the
<code>centos-art</code> command, but the absolute path to
<code>centos-art.sh</code> script instead (i.e.,
<tt>`~/artwork/trunk/Scripts/Bash/centos-art.sh'</tt>).
</p>
<a name="SEC277"></a>
<h3 class="subsection"> 3.48.4 See also </h3>
<table cellpadding="1" cellspacing="1" border="0">
<tr><td valign="middle" align="left">[<a href="#SEC276" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="repository_52.html#SEC278" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="repository_3.html#SEC3" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="#SEC273" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="repository_66.html#SEC363" title="Next chapter"> >> </a>]</td>
</tr></table>
<p>
<font size="-1">
This document was generated on <i>October, 29 2010</i> using <a href="http://texi2html.cvshome.org/"><i>texi2html 1.76</i></a>.
</font>
<br>
</p>
</body>
</html>