Blame Scripts/Python/repository.py

4c79b5
# Copyright (C) 2009-2010 Alain Reguera Delgado
4c79b5
#
4c79b5
# This program is free software; you can redistribute it and/or modify
4c79b5
# it under the terms of the GNU General Public License as published by
4c79b5
# the Free Software Foundation; either version 2 of the License, or
4c79b5
# (at your option) any later version.
4c79b5
# 
4c79b5
# This program is distributed in the hope that it will be useful, but
4c79b5
# WITHOUT ANY WARRANTY; without even the implied warranty of
4c79b5
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
4c79b5
# General Public License for more details.
4c79b5
#
4c79b5
# You should have received a copy of the GNU General Public License
4c79b5
# along with this program; if not, write to the Free Software
4c79b5
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
4c79b5
# USA.
4c79b5
# 
4c79b5
#------------------------------------------------------------
4c79b5
# $Id: repository.py 6036 2010-07-09 21:20:27Z al $
4c79b5
#-----------------------------------------------------------
4c79b5
"""
4c79b5
The CentOS Artwork Repository.
4c79b5
4c79b5
The CentOS Artwork Repository is a subversion-based file structure
4c79b5
organized to produce the CentOS project's corporate visual identity.
4c79b5
The CentOS Project corporate visual identity is the ``persona'' of the
4c79b5
organization known as The CentOS Project.  
4c79b5
4c79b5
The CentOS Project corporate visual identity plays a significant role
4c79b5
in the way the CentOS Project, as organization, presents itself to
4c79b5
both internal and external stakeholders. In general terms, the CentOS
4c79b5
Project corporate visual identity expresses the values and ambitions
4c79b5
of the CentOS Project organization, its business, and its
4c79b5
characteristics.  The CentOS Project corporate visual identity
4c79b5
provides visibility, recognizability, reputation, structure and
4c79b5
identification to the CentOS Project organization by means of
4c79b5
corporate design, corporate communication, and corporate behaviour.
4c79b5
4c79b5
The CentOS Project settles down its corporate visual identity on a
4c79b5
``monolithic corporate visual identity structure''. In this structure
4c79b5
The CentOS Project uses one unique name and one unique visual style in
4c79b5
all its manifestations. 
4c79b5
4c79b5
Inside CentOS Artwork Repository, visual manifestations are organized
4c79b5
in the categories: distributions, websites, and promotion.
4c79b5
4c79b5
Inside CentOS Artwork Repository, corporate visual identity is
4c79b5
oraganized in the work lines: graphic-design, translations, and
4c79b5
programming (scripts). Each work line is a group of people that, based
4c79b5
on standard patterns, can work indepently and coordinated one another.
4c79b5
4c79b5
In the structure just mentioned, graphic designers provide the design
4c79b5
models and visual styles (motifs) needed to cover each each visual
4c79b5
manifestation; translators create the language-specific contents; and
4c79b5
programmers gear everything together in order to produce specific
4c79b5
design models on various visual styles, languages, and major releases,
4c79b5
automatically.
4c79b5
"""
4c79b5
4c79b5
class Repo:
4c79b5
    """ 
4c79b5
    This class provides attributes and methods needed to implement the
4c79b5
    base repository structure.
4c79b5
    """
4c79b5
4c79b5
    def __init__(self):
4c79b5
        # Define repository's working copy absolute path. 
4c79b5
        self.abspath = '/home/centos/artwork/'
4c79b5
        # Define repository's working line.
4c79b5
        self.workline = ('trunk/', 'branches/', 'tags/')