|
|
4c79b5 |
|
|
|
4c79b5 |
<html>
|
|
|
09d4f2 |
|
|
|
09d4f2 |
|
|
|
09d4f2 |
The CentOS Artwork Repository exists to organize and automate The
|
|
|
09d4f2 |
CentOS Project corporate visual identity (, to
|
|
|
09d4f2 |
start on).
|
|
|
4c79b5 |
|
|
|
6c4982 |
Copyright C 2009, 2010 Alain Reguera Delgado. 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 |
-->
|
|
|
49b888 |
|
|
|
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>
|
|
|
0d952c |
<title>CentOS Artwork Repository: 3.42 trunk/Scripts/Bash/Functions/Path</title>
|
|
|
4c79b5 |
|
|
|
0d952c |
<meta name="description" content="CentOS Artwork Repository: 3.42 trunk/Scripts/Bash/Functions/Path">
|
|
|
0d952c |
<meta name="keywords" content="CentOS Artwork Repository: 3.42 trunk/Scripts/Bash/Functions/Path">
|
|
|
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 |
|
|
|
0d952c |
[ < ]
|
|
|
0d952c |
[ > ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[ << ]
|
|
|
4c79b5 |
[ Up ]
|
|
|
0d952c |
[ >> ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[Top]
|
|
|
4c79b5 |
[Contents]
|
|
|
0d952c |
[Index]
|
|
|
4c79b5 |
[ ? ]
|
|
|
4c79b5 |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
3.42 trunk/Scripts/Bash/Functions/Path
|
|
|
49b888 |
|
|
|
49b888 |
|
|
|
0d952c |
|
|
|
c6292c |
3.42.1 Goals
|
|
|
c6292c |
|
|
|
0d952c |
This section exists to organize files related to path
|
|
|
0d952c |
functiontionality of <tt>`centos-art.sh'</tt> script. The path
|
|
|
0d952c |
functionality of <tt>`centos-art.sh'</tt> script standardizes movement,
|
|
|
0d952c |
syncronization, branching, tagging, and general file maintainance
|
|
|
0d952c |
inside the repository.
|
|
|
0d952c |
|
|
|
e37211 |
|
|
|
0d952c |
|
|
|
c6292c |
3.42.2 Description
|
|
|
c6292c |
|
|
|
0d952c |
"CentOS like trees, has roots, trunk, branches, leaves and
|
|
|
0d952c |
flowers. Day by day they work together in freedom, ruled by the laws
|
|
|
0d952c |
of nature and open standards, to show the beauty of its
|
|
|
0d952c |
existence."
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
3.42.2.1 Repository layout
|
|
|
0d952c |
|
|
|
0d952c |
The repository layout describes organization of files and directories
|
|
|
0d952c |
inside the repository. The repository layout provides the standard
|
|
|
0d952c |
backend required for automation scripts to work correctly. If such
|
|
|
0d952c |
layout changes unexpectedly, automation scripts may confuse themselves
|
|
|
0d952c |
and stop doing what we expect from them to do.
|
|
|
0d952c |
|
|
|
0d952c |
As convenction, inside CentOS Artwork Repository, we organize files
|
|
|
0d952c |
and directories, related to CentOS corporate visual identity, under
|
|
|
0d952c |
three top level directories named <tt>`trunk/'</tt>, <tt>`branches/'</tt>, and
|
|
|
0d952c |
<tt>`tags/'</tt>.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
Figure 3.10: The CentOS Artwork Repository layout.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
The <tt>`trunk/'</tt> directory (see section trunk) organizes the main
|
|
|
0d952c |
development line of CentOS corporate visual identity. Inside
|
|
|
0d952c |
<tt>`trunk/'</tt> directory structure, the CentOS corporate visual
|
|
|
0d952c |
identity concepts are implemented using directories. There is one
|
|
|
0d952c |
directory level for each relevant concept inside the repository. The
|
|
|
0d952c |
<tt>`trunk/'</tt> directory structure is mainly used to develop CentOS
|
|
|
0d952c |
corporate visual identity.
|
|
|
0d952c |
|
|
|
0d952c |
The <tt>`branches/'</tt> directory (see section branches) oranizes parallel
|
|
|
0d952c |
development lines to <tt>`trunk/'</tt> directory. The <tt>`branches/'</tt>
|
|
|
0d952c |
directory is used to set points in time where develpment lines are
|
|
|
0d952c |
devided one from another taking separte and idependent lives that
|
|
|
0d952c |
share a common past from the point they were devided on. The
|
|
|
0d952c |
<tt>`branches/'</tt> directory is mainly used to perform quality assurance
|
|
|
0d952c |
on CentOS corporate visual identity.
|
|
|
0d952c |
|
|
|
0d952c |
The <tt>`tags/'</tt> directory (see section tags) organizes parallel frozen
|
|
|
0d952c |
lines to <tt>`branches/'</tt> directory. The parallel frozen lines are
|
|
|
0d952c |
immutable, nothing change inside them once they has been created. The
|
|
|
0d952c |
<tt>`tags/'</tt> directory is mainly used to publish final releases of
|
|
|
0d952c |
CentOS corporate visual identity.
|
|
|
0d952c |
|
|
|
0d952c |
The CentOS Artwork Repository layout is firmly grounded on a
|
|
|
0d952c |
Subversion base. Subversion (http://subversion.tigris.org) is a
|
|
|
0d952c |
version control system, which allows you to keep old versions of files
|
|
|
0d952c |
and directories (usually source code), keep a log of who, when, and
|
|
|
0d952c |
why changes occurred, etc., like CVS, RCS or SCCS. Subversion keeps a
|
|
|
0d952c |
single copy of the master sources. This copy is called the source
|
|
|
0d952c |
"repository"; it contains all the information to permit extracting
|
|
|
0d952c |
previous versions of those files at any time.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
3.42.2.2 Repository name convenctions
|
|
|
0d952c |
|
|
|
0d952c |
Repository name convenctions help us to maintain consistency of names
|
|
|
0d952c |
inside the repository.
|
|
|
0d952c |
|
|
|
0d952c |
Repository name convenctions are applied to files and directories
|
|
|
0d952c |
inside the repository layout. As convenction, inside the repository
|
|
|
0d952c |
layout, file names are all written in lowercase
|
|
|
0d952c |
(<samp>`01-welcome.png'</samp>, <samp>`splash.png'</samp>, <samp>`anaconda_header.png'</samp>,
|
|
|
0d952c |
etc.) and directory names are all written capitalized (e.g.,
|
|
|
0d952c |
<samp>`Identity'</samp>, <samp>`Themes'</samp>, <samp>`Motifs'</samp>, <samp>`TreeFlower'</samp>,
|
|
|
0d952c |
etc.).
|
|
|
0d952c |
|
|
|
0d952c |
Repository name convenctions are implemented inside the
|
|
|
0d952c |
cli_getRepoName function of <tt>`centos-art.sh'</tt> script. With
|
|
|
0d952c |
cli_getRepoName function we reduce the amount of commands and
|
|
|
0d952c |
convenctions you need to remember concentrating them in just one
|
|
|
0d952c |
single place you can look for fixes and improvements.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
3.42.2.3 Repository work flow
|
|
|
0d952c |
|
|
|
0d952c |
Repository work flow describes the steps and time intervals used to
|
|
|
0d952c |
produce CentOS corporate visual identity inside CentOS Artwork
|
|
|
0d952c |
Repository.
|
|
|
0d952c |
|
|
|
0d952c |
To illustrate repository work flow let's consider themes' development
|
|
|
0d952c |
cycle.
|
|
|
0d952c |
|
|
|
0d952c |
Initially, we start working themes on their trunk development line
|
|
|
0d952c |
(e.g., <tt>`trunk/Identity/Themes/Motifs/TreeFlower/'</tt>), here we
|
|
|
0d952c |
design background images and propagate them to different visual
|
|
|
0d952c |
manifestations using one theme's model as reference.
|
|
|
0d952c |
|
|
|
0d952c |
Later, when the theme is considered "ready" for implementation (i.e.
|
|
|
0d952c |
all visual manifestations have been already set), we create a branch
|
|
|
0d952c |
for it (e.g., <tt>`branches/Identity/Themes/Motifs/TreeFlower/1/'</tt>).
|
|
|
0d952c |
Once the branch has been created, we forget that branch and continue
|
|
|
0d952c |
working the trunk development line while others (e.g., an artwork
|
|
|
0d952c |
quality assurance team) test the new branch for tunning it up.
|
|
|
0d952c |
|
|
|
0d952c |
Once the branch has been tunned up, and considered "ready" for
|
|
|
0d952c |
release, it is freezed under <tt>`tags/'</tt> directory (e.g.,
|
|
|
0d952c |
<tt>`tags/Identity/Themes/Motifs/TreeFower/1.0/'</tt>) for packagers,
|
|
|
0d952c |
webmasters, promoters, and anyone who needs images from that CentOS
|
|
|
0d952c |
theme the tag was created for.
|
|
|
0d952c |
|
|
|
0d952c |
Both branches and tags, inside CentOS Artwork Repository, use
|
|
|
0d952c |
numerical values to identify themselves under the same location.
|
|
|
0d952c |
Branches start at one (i.e., <samp>`1'</samp>) and increment one unit for each
|
|
|
0d952c |
branch created from the same trunk development line. Tags start at
|
|
|
0d952c |
zero (i.e., <samp>`0'</samp>) and increment one unit for each tag created from
|
|
|
0d952c |
the same branch development line.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
Figure 3.11: Name convention for tags and branches creation.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
As proposition, it would be convenient not to freeze trunk development
|
|
|
0d952c |
lines using tags or anything else. If you think you need to freeze a
|
|
|
0d952c |
trunk development line, create a branch for it and then freeze that
|
|
|
0d952c |
branch instead.
|
|
|
0d952c |
|
|
|
0d952c |
The trunk development line may introduce problems we cannot see
|
|
|
0d952c |
immediatly. Certainly, the high changable nature of trunk development
|
|
|
0d952c |
line complicates finding and fixing such problems. On the other hand,
|
|
|
0d952c |
the branched development lines provides a less changable area where
|
|
|
0d952c |
only small fixes/corrections are commited up to repository.
|
|
|
0d952c |
|
|
|
0d952c |
If others find and fix bugs inside the branched development line, we
|
|
|
0d952c |
could merge such changes/experiences back to trunk development line
|
|
|
0d952c |
(not visversa) in order for future branches, created from trunk, to
|
|
|
0d952c |
benefit.
|
|
|
0d952c |
|
|
|
0d952c |
Time intervals used to create branches and tags may vary, just as
|
|
|
0d952c |
different needs may arrive. For example, consider the release schema
|
|
|
0d952c |
of CentOS distribution: one major release every 2 years, security
|
|
|
0d952c |
updates every 6 months, support for 7 years long. Each time a CentOS
|
|
|
0d952c |
distribution is released, specially if it is a major release, there is
|
|
|
0d952c |
a theme need in order to cover CentOS distribution artwork
|
|
|
0d952c |
requirements. At this point, is where CentOS Artwork Repository comes
|
|
|
0d952c |
up to scene.
|
|
|
0d952c |
|
|
|
0d952c |
Before releasing a new major release of CentOS distribution you can
|
|
|
0d952c |
create a branch for one of several theme development lines available
|
|
|
0d952c |
inside the CentOS Artwork Repository, perform quality assurance on it,
|
|
|
0d952c |
and later, freeze that branch using tags. Once a the theme branch has
|
|
|
0d952c |
been frozen (under <tt>`tags/'</tt> directory), CentOS Packagers (the
|
|
|
0d952c |
persons who build CentOS distribution) can use that frozen branch as
|
|
|
0d952c |
source location to fulfill CentOS distribution artwork needs.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
3.42.2.4 Parallel directories
|
|
|
0d952c |
|
|
|
0d952c |
Inside CentOS Artwork Repository, parallel directories are simple
|
|
|
0d952c |
directory entries built from a common parent directory and placed in a
|
|
|
0d952c |
location different to that, the common parent directory is placed on.
|
|
|
0d952c |
Parallel directories are useful to create branches, tags,
|
|
|
0d952c |
translations, documentation, pre-rendering configuration script, and
|
|
|
0d952c |
similar directory structures.
|
|
|
0d952c |
|
|
|
0d952c |
Parallel directories take their structure from one unique parent
|
|
|
0d952c |
directory. Inside CentOS Artwork Repository, this unique parent
|
|
|
0d952c |
directory is under <tt>`trunk/Identity'</tt> location. The
|
|
|
0d952c |
<tt>`trunk/Identity'</tt> location must be considered the reference for
|
|
|
0d952c |
whatever information you plan to create inside the repository.
|
|
|
0d952c |
|
|
|
0d952c |
In some circumstances, parallel directories may be created removing
|
|
|
0d952c |
uncommon information from their paths. Uncommon path information
|
|
|
0d952c |
refers to those directory levels in the path which are not common for
|
|
|
0d952c |
other parallel directories. For example, when rendering
|
|
|
0d952c |
<tt>`trunk/Identity/Themes/Motifs/TreeFlower/Distro'</tt> directory
|
|
|
0d952c |
structure, the <tt>`centos-art.sh'</tt> script removes the
|
|
|
0d952c |
<tt>`Motifs/TreeFlower/'</tt> directory levels from path, in order to
|
|
|
0d952c |
build the parallel directory used to retrived translations, and
|
|
|
0d952c |
pre-rendering configuration scripts required by render
|
|
|
0d952c |
functionality.
|
|
|
0d952c |
|
|
|
0d952c |
Another example where parallel directory removes the uncommon path
|
|
|
0d952c |
information is when we use the help functionality. This time,
|
|
|
0d952c |
<tt>`centos-art.sh'</tt> script uses parallel directory information
|
|
|
0d952c |
(without uncommon directory levels) to build the documentation entry
|
|
|
0d952c |
required by Texinfo to store documentation entries inside the
|
|
|
0d952c |
repository.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
Figure 3.12: Parallel directories removing uncommon information.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
Othertimes, parallel directories may add uncommon information to their
|
|
|
0d952c |
paths. This is the case we use to create branches and tags. When we
|
|
|
0d952c |
create branches and tags, a numerical identifier is added to parallel
|
|
|
0d952c |
directory structure path. The place where the numerical identifier is
|
|
|
0d952c |
set on is relevant to corporate visual identity structure and should
|
|
|
0d952c |
be carefully considered where it will be.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
Figure 3.13: Parallel directories adding uncommon information.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
When one parent directory changes, all their related parallel
|
|
|
0d952c |
directories need to be changed too. This is required in order for
|
|
|
0d952c |
parallel directories to match the new parent directory structure. In
|
|
|
0d952c |
the other hand, parallel directories should never be modified by no
|
|
|
0d952c |
reason but to satisfy their parent directory structure. Liberal change
|
|
|
0d952c |
of parallel directories may suppress the conceptual idea they were
|
|
|
0d952c |
initially created for.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
Figure 3.14: Wrong construction of parallel directories.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
3.42.2.5 Syncronizing path information
|
|
|
0d952c |
|
|
|
0d952c |
Creating parallel directories is very useful to keep repository
|
|
|
0d952c |
organized. But, what would happen to functionalities like help
|
|
|
0d952c |
(WARNING: The <samp>`trunk Scripts Bash Functions Help'</samp> documentation entry no longer exists.) that rely on parent
|
|
|
0d952c |
directory structures to create documentation entries (using parallel
|
|
|
0d952c |
directory structures) if one of those parent directory structures
|
|
|
0d952c |
suddenly changes after the documentation entry has been already
|
|
|
0d952c |
created for it?
|
|
|
0d952c |
|
|
|
0d952c |
Well, at this point, functionalities like help may confuse
|
|
|
0d952c |
themselves if path information is not updated. Such functionalities
|
|
|
0d952c |
work with parent directory structure as reference; if a parent
|
|
|
0d952c |
directory changes, the functionalities dont't even note it because
|
|
|
0d952c |
they work with the last parent directory structure available in the
|
|
|
0d952c |
repository, no matter what it is.
|
|
|
0d952c |
|
|
|
0d952c |
In the specific case of documentation (the help functionality),
|
|
|
0d952c |
the problem mentioned above provokes that older parent directories,
|
|
|
0d952c |
already documented, remain inside documentation directory structures
|
|
|
0d952c |
as long as you get your hands into the documentation directory
|
|
|
0d952c |
structure (<tt>`trunk/Manuals'</tt>) and remove what must be removed to
|
|
|
0d952c |
match the new parent directory structure.
|
|
|
0d952c |
|
|
|
0d952c |
There is no way for help , and similar functionalities that use
|
|
|
0d952c |
parent directories as reference, to know when and how directory
|
|
|
0d952c |
movements take place inside the repository. Such information is
|
|
|
0d952c |
available only when movement actions, like thoses achived by
|
|
|
0d952c |
rm or mv commands, take place inside the
|
|
|
0d952c |
repository. So, is there, at the moment of moving files, when we need
|
|
|
0d952c |
to syncronize parallel directories with their unique parent directory
|
|
|
0d952c |
structure.
|
|
|
0d952c |
|
|
|
0d952c |
Syncronizing parallel directories with their respecitive parent
|
|
|
0d952c |
directory implies moving files inside the repository, i.e. we need to,
|
|
|
0d952c |
firstly, rebuild the path information for each parallel directory
|
|
|
0d952c |
inside the repository, using the current path of its parent directory
|
|
|
0d952c |
as reference, and later, use the new path information to move each old
|
|
|
0d952c |
parallel directory from its old location to its new location based on
|
|
|
0d952c |
an updated path information.
|
|
|
0d952c |
|
|
|
0d952c |
As CentOS Artwork Repository is built over a version control system,
|
|
|
0d952c |
file movements inside the repository are considered repository
|
|
|
0d952c |
changes. In order for these repository changes to be versioned, we
|
|
|
0d952c |
need to, firstly, add changes related files into version control
|
|
|
0d952c |
system, and later, use commands from the version control system to
|
|
|
0d952c |
move those files already versioned. This configuration makes possible
|
|
|
0d952c |
for everyone to know about changes details inside the repository; and
|
|
|
0d952c |
if needed, revert or update them back to a previous revision.
|
|
|
0d952c |
|
|
|
0d952c |
Finally, once all file corrections have been already made, the
|
|
|
0d952c |
syncronization action takes care of updating path references inside
|
|
|
0d952c |
related files. Updating path references inside related files is
|
|
|
0d952c |
specially important for documentation files where documentation nodes
|
|
|
0d952c |
are built using repository path information as reference.
|
|
|
0d952c |
|
|
|
49b888 |
|
|
|
0d952c |
|
|
|
0d952c |
3.42.2.6 What is the right location to store it?
|
|
|
0d952c |
|
|
|
0d952c |
Occasionly, you may find that new corporate visual identity components
|
|
|
0d952c |
need to be added to the repository. If that is your case, the first
|
|
|
0d952c |
question you need to ask yourself, before start to create directories
|
|
|
0d952c |
blindly all over, is: What is the right location to store it?
|
|
|
0d952c |
|
|
|
0d952c |
The CentOS Community (http://wiki.centos.org/GettingHelp) is the
|
|
|
0d952c |
best place to find answers to your question, but going there with
|
|
|
0d952c |
hands empty is not good idea. It may give the impression you don't
|
|
|
0d952c |
really care about. Instead, consider the following suggestions to find
|
|
|
0d952c |
your own comprehension and so, make your propositions based on it.
|
|
|
0d952c |
|
|
|
0d952c |
When looking the correct place to store new files, to bear in mind the
|
|
|
0d952c |
corporate visual identity structure used inside the CentOS Artwork
|
|
|
0d952c |
Repository (see section trunk/Identity) would be probaly the best advice
|
|
|
0d952c |
we could offer to you, the rest is just matter of choosing appropriate
|
|
|
0d952c |
names. To illustrate this desition process let's consider the
|
|
|
0d952c |
<tt>`trunk/Identity/Themes/Motifs/TreeFlower/Distro/'</tt> directory as
|
|
|
0d952c |
example. It is the main development line of CentOS distribution visual
|
|
|
0d952c |
manifestation, using TreeFlower's artistic motif, inside themes of
|
|
|
0d952c |
CentOS corporate visual identity.
|
|
|
0d952c |
|
|
|
0d952c |
When building parent directory structures, you may find that reaching
|
|
|
0d952c |
an acceptable location may take some time, and as it happens most of
|
|
|
0d952c |
time, when you find it, that may be not a definite solution. There are
|
|
|
0d952c |
many concepts that you need to play with, in order to find a result
|
|
|
0d952c |
that match the conceptual idea you try to implement in the new
|
|
|
0d952c |
directory location. To know which these concepts are, split the
|
|
|
0d952c |
location in words and read its documentation entry from less specific
|
|
|
0d952c |
to more specific.
|
|
|
0d952c |
|
|
|
0d952c |
For example, the
|
|
|
0d952c |
<tt>`trunk/Identity/Themes/Motifs/TreeFlower/Distro/'</tt> location
|
|
|
0d952c |
evolved through several months of contant work and there is no certain
|
|
|
0d952c |
it won't change in the future, even it fixes quite well the concept we
|
|
|
0d952c |
are trying to implement. The concepts used in
|
|
|
0d952c |
<tt>`trunk/Identity/Themes/Distro/Motifs/TreeFlower/Distro/'</tt> location
|
|
|
0d952c |
are described in the following commands, respectively:
|
|
|
0d952c |
|
|
|
0d952c |
centos-art help --read=turnk/
|
|
|
0d952c |
centos-art help --read=turnk/Identity/
|
|
|
0d952c |
centos-art help --read=turnk/Identity/Themes/
|
|
|
0d952c |
centos-art help --read=turnk/Identity/Themes/Motifs/
|
|
|
0d952c |
centos-art help --read=turnk/Identity/Themes/Motifs/TreeFlower/
|
|
|
0d952c |
centos-art help --read=turnk/Identity/Themes/Motifs/TreeFlower/Distro/
|
|
|
0d952c |
|
|
|
0d952c |
Other location concepts can be found similary as we did above, just
|
|
|
0d952c |
change the location we used above by the one you are trying to know
|
|
|
0d952c |
concepts for.
|
|
|
0d952c |
|
|
|
e37211 |
|
|
|
035049 |
|
|
|
e37211 |
3.42.3 Usage
|
|
|
e37211 |
|
|
|
0d952c |
|
|
|
0d952c |
centos-art path --copy=SRC --to=DST
|
|
|
0d952c |
Use this command to duplicate <tt>`SRC'</tt> in working copy,
|
|
|
0d952c |
remembering history. In this command, <tt>`SRC'</tt> and
|
|
|
0d952c |
<tt>`DST'</tt> can each be either a working copy (WC) path or
|
|
|
0d952c |
URL:
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
<samp>`WC -> WC'</samp>
|
|
|
0d952c |
Copy and schedule for addition (with history).
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
<samp>`WC -> URL'</samp>
|
|
|
0d952c |
Immediately commit a copy of WC to URL.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
<samp>`URL -> WC'</samp>
|
|
|
0d952c |
Check out URL into WC, schedule for addition.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
<samp>`URL -> URL'</samp>
|
|
|
0d952c |
Complete server-side copy; used to branch and tag.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
This command is an interface for Subversion's copy command.
|
|
|
0d952c |
Options related to Subversion's copy command can be passed
|
|
|
0d952c |
from third argument on. For example to specify a log message use the
|
|
|
0d952c |
<samp>`--message'</samp> option as follow:
|
|
|
0d952c |
|
|
|
0d952c |
centos-art path --copy=URL/SRC --to=URL/DST --message 'Copy url/src to url/dst'
|
|
|
0d952c |
|
|
|
0d952c |
For more information on Subversion's copy functionality,
|
|
|
0d952c |
run the command: svn help copy | less .
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
centos-art path --move=SRC --to=DST
|
|
|
0d952c |
Move and/or rename something in working copy or repository. In this
|
|
|
0d952c |
command, SRC and DST can both be working copy (WC) paths or URLs:
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
<samp>`WC -> WC'</samp>
|
|
|
0d952c |
Move and schedule for addition (with history).
|
|
|
0d952c |
|
|
|
0d952c |
<samp>`URL -> URL'</samp>
|
|
|
0d952c |
Complete server-side rename.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
This command is an interface for Subversion's move command.
|
|
|
0d952c |
Options related to Subversion's move command can be passed
|
|
|
0d952c |
from third argument on. For example to specify a log message use the
|
|
|
0d952c |
<samp>`--message'</samp> option as follow:
|
|
|
0d952c |
|
|
|
0d952c |
centos-art path --move=URL/SRC --to=URL/DST --message 'Move url/src to url/dst'
|
|
|
0d952c |
|
|
|
0d952c |
For more information on Subversion's move functionality,
|
|
|
0d952c |
run the command: svn help move | less .
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
centos-art path --delete='SRC'
|
|
|
0d952c |
Use this command to remove files and directories from version control.
|
|
|
0d952c |
In this command, <tt>`SRC'</tt> can be a working copy (WC) path or URL.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
<samp>`WC'</samp>
|
|
|
0d952c |
Each item specified by a PATH is scheduled for deletion upon the next
|
|
|
0d952c |
commit. Files, and directories that have not been committed, are
|
|
|
0d952c |
immediately removed from the working copy. PATHs that are, or
|
|
|
0d952c |
contain, unversioned or modified items will not be removed unless the
|
|
|
0d952c |
<samp>`--force'</samp> option is given.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
<samp>`URL'</samp>
|
|
|
0d952c |
Each item specified by a URL is deleted from the repository via an
|
|
|
0d952c |
immediate commit.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
This command is an interface for Subversion's delete
|
|
|
0d952c |
command. Options related to Subversion's delete can be
|
|
|
0d952c |
passed from third argument on. For example to specify a log message
|
|
|
0d952c |
use the <samp>`--message'</samp> as follow:
|
|
|
0d952c |
|
|
|
0d952c |
centos-art path --delete='URL' --message 'Delete url.'
|
|
|
0d952c |
|
|
|
0d952c |
For more information on Subversion's delete functionality,
|
|
|
0d952c |
run the command: svn help delete | less .
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
0d952c |
centos-art path --sync='SRC'
|
|
|
0d952c |
Use this command to syncronize path information inside working copy.
|
|
|
0d952c |
This command is automatically used after moving or renaming parent
|
|
|
0d952c |
directories. In this command, <tt>`SRC'</tt> is a working copy path
|
|
|
0d952c |
inside <tt>`trunk/Identity/'</tt> location, considered the parent
|
|
|
0d952c |
directory you want to syncronize path information for.
|
|
|
0d952c |
|
|
|
0d952c |
|
|
|
e37211 |
|
|
|
e37211 |
|
|
|
035049 |
|
|
|
54264c |
3.42.4 See also
|
|
|
4c79b5 |
|
|
|
63f275 |
|
|
|
0d952c |
3.36 trunk/Scripts/Bash
|
|
|
0d952c |
|
|
|
0d952c |
3.37 trunk/Scripts/Bash/Functions
|
|
|
63f275 |
|
|
|
63f275 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
035049 |
[ < ]
|
|
|
035049 |
[ > ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
[ << ]
|
|
|
0d952c |
[ Up ]
|
|
|
0d952c |
[ >> ]
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
<font size="-1">
|
|
|
49b888 |
This document was generated on December, 5 2010 using texi2html 1.76.
|
|
|
4c79b5 |
</font>
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
</body>
|
|
|
4c79b5 |
</html>
|