Blame Scripts/Python/Repository/repository.py

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