Blame Manuals/Latex/centos-art.sh-latex/Workstation/configuration.tex

080735
% Part   : Preparing Your Workstation
080735
% Chapter: Configuration
080735
% ------------------------------------------------------------
080735
% $Id: configuration.tex 6191 2010-08-02 02:36:14Z al $
080735
% ------------------------------------------------------------
080735
080735
This chapter describes configurations you need to set up before using
080735
CentOS Artwork Repository.
080735
080735
\section{Firewall}
080735
080735
The CentOS Artwork Repository lives on the following URL:
080735
080735
\begin{quote}
080735
https://projects.centos.org/svn/artwork/
080735
\end{quote}
080735
080735
To reach this location you need to have Internet access and be sure no
080735
rule in your firewall is denying this site. Note that the URL uses the
080735
SSL protocol (port 443).
080735
080735
\section{Subversion Behind Squid}
080735
080735
Sometimes it is convenient to proxy Subversion client's requests
080735
through a proxy-cache server like Squid. In cases like this, the Squid
080735
proxy server is in the middle between you and CentOS Artwork
080735
Repository. If you want to proxy Subversion client's requests through
080735
Squid proxy-cache server, you need to configure your Subversion client
080735
and your Squid proxy server to do so.
080735
080735
\subsection{Subversion Client Configuration}
080735
080735
Subversion client needs to be configured to send requests to your
080735
Squid proxy-cache server. This configuration takes place in the file
080735
\texttt{$\sim$/.subversion/servers}.
080735
080735
\subsection{Squid Server Configuration}
080735
080735
Squid proxy-cache server needs to be configured to accept the
080735
extension methods \texttt{REPORT MERGE MKACTIVITY CHECKOUT MKCOL}.
080735
This configuration takes place in the file
080735
\texttt{/etc/squid/squid.conf}, specifically in the configuration tag
080735
illustrated in \autoref{fig:Workstation:Configuration:Squid}.
080735
080735
\begin{figure}[!hbp]
080735
\hrulefill
080735
\begin{verbatim}
080735
#  TAG: extension_methods
080735
#       Squid only knows about standardized HTTP request methods.
080735
#       You can add up to 20 additional "extension" methods here.
080735
#
080735
#Default:
080735
# none
080735
extension_methods REPORT MERGE MKACTIVITY CHECKOUT MKCOL
080735
\end{verbatim}
080735
\hrulefill
080735
\caption{Squid configuration to proxy Subversion client's requests.%
080735
   \label{fig:Workstation:Configuration:Squid}}
080735
\end{figure}
080735
080735
\section{Working Copy}
080735
080735
A Subversion working copy is an ordinary directory tree on your local
080735
system, containing a collection of files (i.e.  Translations, Designs,
080735
Manuals, and Scripts). You can edit these files however you wish. Your
080735
working copy is your own private work area: Subversion will never
080735
incorporate other people's changes, nor make your own changes
080735
available to others, until you explicitly tell it to do so.  You can
080735
even have multiple working copies of the same project.\footnote{Even
080735
this is basically correct, doing so when using CentOS Artowrk
080735
Repository can bring some confusion when executing scripts. Presently,
080735
only one absolute path can be defined as absolute path for scripts'
080735
execution.  You can have as many working copies of CentOS Artwork
080735
Repository as you want but scripts will be executed from just one
080735
working copy absolute path. That is, the one stored under
080735
\texttt{/home/centos/artwork/}}.
080735
080735
Once you've made some changes to your working copy files and verified
080735
that they work properly, Subversion provides you with commands to
080735
``publish'' your changes to the other people working with you on your
080735
project (by writing to the repository). If other people publish their
080735
own changes, Subversion provides you with commands to merge those
080735
changes into your working directory (by reading from the repository).
080735
080735
\begin{figure}[!hbp]
080735
\hrulefill
080735
\begin{verbatim}
080735
svn co https://projects.centos.org/svn/artwork /home/centos/
080735
\end{verbatim}
080735
\hrulefill
080735
\caption{Subversion command used to download the working copy.%
080735
   \label{fig:Workstation:WC:Download}}
080735
\end{figure}
080735
080735
The subversion command illustrated in
080735
\autoref{fig:Workstation:WC:Download} brings a CentOS Artwork
080735
Repository working copy down to your workstation, specifically to your
080735
home directory (\texttt{/home/centos/artwork/}). This process may take
080735
some time.  Once the working copy is available in your workstation,
080735
you are ready to start exploring and improving available works.
080735
080735
Note that you need to have a username called \texttt{centos} in your
080735
system.  If you don't have it, you can create it using the comand
080735
\texttt{useradd} as superuser (\texttt{root}).
080735
080735
\subsection{Standardizing Absolute Path}
080735
080735
When using Inkscape to import raster images inside SVG files the
080735
absolute image path is required. If everyone stores the working copy
080735
on a different absolute path imported images will not be loaded in
080735
those location different from those they were conceived. There is no
080735
way to find the right absolute image path but defining a convenction
080735
about it. 
080735
080735
On a path string (e.g., /home/centos/artwork/trunk/) the username
080735
(`centos') is the variable component, so it is the component we need
080735
to standardize--in the sake of keeping the working copy inside user's
080735
/home/ structure. Thus, analysing which username to use, the CentOS
080735
Project is what join us all together, so the `centos' word in
080735
lower-case seems to be a nice choise for us to use as common username. 
080735
080735
\section{User Identification}
080735
080735
At this point you probably have made some changes inside your working
080735
copy and wish to publish them.  To publish your changes on CentOS
080735
Artwork Repository you need to have a registered account with commit
080735
privilege in CentOS Artwork Repository.
080735
080735
If you are new in CentOS Artwork Repository it is possible that you
080735
can't commit your changes. That is because new registered accounts
080735
haven't commit privilege set by default.  In order for your registered
080735
account to have commit privilege inside CentOS Artwork Repository you
080735
need to request it. See section
080735
\ref{sec:Configuration:User:Privileges}.
080735
080735
\subsection{User Account Registration}
080735
\label{sec:Configuration:Account}
080735
080735
To register a user account inside CentOS Artwork Repository, you need
080735
to go to the following URL:
080735
080735
\begin{quote}
080735
\url{https://projects.centos.org/trac/artwork/}
080735
\end{quote}
080735
080735
\subsection{User Account Privileges}
080735
\label{sec:Configuration:User:Privileges}
080735
080735
To have commit privileges in CentOS Artwork Repository it is needed
080735
that you show your interest first, preferably with something useful
080735
like a new or improved design, translation, manual, or script. As
080735
convenction, people working on CentOS Artwork Repository share ideas
080735
in the mailing list
080735
\href{mailto:centos-devel@centos.org}{centos-devel@centos.org}. If you
080735
are interested in joining us go there and express yourself.
080735
080735
\section{Repository Tagged Revisions}
080735
080735
The CentOS Artwork Repository is also available as tagged revisions.
080735
Tagged revisions are checkpoints on the CentOS Artwork Repository
080735
developing lifetime. They are inmutable copies of the CentOS Artwork
080735
Repository state through time.  Tagged revisions contain the files
080735
used to produce images but not images themselves.  Inside tagged
080735
revisions you can find scripts (\texttt{.sh}), design templates
080735
(\texttt{.svg}), translation files (\texttt{\.sed}), gimp projects
080735
(\texttt{.xcf}), and documetation files (\texttt{.tex}).
080735
080735
CentOS Artowrk Repository tagged revisions are available for
080735
downloading in the following location:
080735
080735
\begin{description}
080735
\item[URL:] https://projects.centos.org/svn/artwork/tags
080735
\end{description}
080735
080735
and alternatively, you can find references in the CentOS Project's
080735
wiki, specifically in the ArtWork page:
080735
080735
\begin{description}
080735
\item[URL:] http://wiki.centos.org/ArtWork
080735
\end{description}