Blame Manuals/Repository/repository-html/repository_16.html

4c79b5
4c79b5
<html>
ccb7a3
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
-->
acd47b
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>
fa7cae
<title>CentOS Artwork Repository: 3.13 trunk/Identity/Models/Tpl/Promo/Web</title>
4c79b5
fa7cae
<meta name="description" content="CentOS Artwork Repository: 3.13 trunk/Identity/Models/Tpl/Promo/Web">
fa7cae
<meta name="keywords" content="CentOS Artwork Repository: 3.13 trunk/Identity/Models/Tpl/Promo/Web">
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
fa7cae
[ < ]
fa7cae
[ > ]
4c79b5
   
4c79b5
[ << ]
4c79b5
[ Up ]
fa7cae
[ >> ]
4c79b5
   
4c79b5
   
4c79b5
   
4c79b5
   
4c79b5
[Top]
4c79b5
[Contents]
fa7cae
[Index]
4c79b5
[ ? ]
4c79b5
fa7cae
fa7cae
fa7cae

3.13 trunk/Identity/Models/Tpl/Promo/Web

4c79b5
4c79b5
fa7cae
4c79b5

3.13.1 Goals

4c79b5
fa7cae

Organize scalable vector graphics (svg) to help describe the CentOS

fa7cae
web environment.
fa7cae

fa7cae
fa7cae
fa7cae

3.13.2 The CentOS web environment

fa7cae
fa7cae

Inside CentOS corporate identity, the CentOS web environment is

fa7cae
considered a promotion component. The CentOS web environment is formed
fa7cae
by a central web application --to cover base needs (e.g., per-major
fa7cae
release information like release notes, lifetime, downloads,
fa7cae
documentation, support, security advisories, bugs, etc.)-- and many
fa7cae
different free web applications --to cover specific needs (e.g.,
fa7cae
wiki, mailing lists, etc.)--. 
fa7cae

fa7cae

The CentOS web environment is addressed to solve the following issues:

fa7cae

5fb024
    fa7cae
  • One unique name and one unique visual style to all web
  • fa7cae
    applications used inside the web environment.
    fa7cae
    fa7cae
  • One-step navigation to web applications inside the environment.
  • fa7cae
    fa7cae
  • High degree of customization to change the visual style of all
  • fa7cae
    web applications with few changes (e.g, updating just two or three
    fa7cae
    images plus common style sheet [CSS] definitions).
    5fb024
    5fb024
    fa7cae

    The CentOS project is attached to a monolithic corporate visual

    fa7cae
    identity (see section trunk/Identity), where all visual manifestations
    fa7cae
    have one unique name and one unique visual style. This way, the CentOS
    fa7cae
    web environment has one unique name (the CentOS brand) and one unique
    fa7cae
    visual style (the CentOS default theme) for all its visual
    fa7cae
    manifestations, the web applications in this case.
    fa7cae

    fa7cae

    Since a maintainance point of view, achiving the one unique visual

    fa7cae
    style inside CentOS web environment is not a simple task. The CentOS
    fa7cae
    web environment is built upon many different web applications which
    fa7cae
    have different visual styles and different internal ways to customize
    fa7cae
    their own visual styles. For example: MoinMoin, the web application
    fa7cae
    used to support the CentOS wiki (http://wiki.centos.org/) is
    fa7cae
    highly customizable but Mailman (in its 2.x.x serie), the web
    fa7cae
    application used to support the CentOS mailing list, doesn't
    fa7cae
    support(1) a customization system that separates
    fa7cae
    presentation from logic, similar to that used by MoinMoin.
    fa7cae

    fa7cae

    This visual style diversity complicates our goal of one unique visual

    fa7cae
    style for all web applications. So, if we want one unique visual style
    fa7cae
    for all web applications used, it is innevitable to modify the web
    fa7cae
    applications in order to implement the CentOS one unique visual style
    fa7cae
    customization in them. Direct modification of upstream applications is
    fa7cae
    not convenient because upstream applications come with their one
    fa7cae
    visual style and administrators take the risk of loosing all
    fa7cae
    customization changes the next time the application be updated (since
    fa7cae
    not all upstream web applications, used in CentOS web environment,
    fa7cae
    separate presentation from logic).
    fa7cae

    fa7cae

    To solve the "one unique visual style" issue, installation and

    fa7cae
    actualization of web applications --used inside CentOS web
    fa7cae
    environment-- need to be independent from upstream web applications
    fa7cae
    development line; in a way that CentOS web environment administrators
    fa7cae
    can install and update web applications freely without risk of loosing
    fa7cae
    the one unique visual style customization changes. 
    fa7cae

    fa7cae

    At the surface of this issue we can see the need of one specific yum

    fa7cae
    repository to store CentOS web environment customized web applications.
    fa7cae

    4c79b5
    fa7cae
    fa7cae

    3.13.2.1 Design model (without ads)

    4c79b5
    2dc146
    fa7cae
    fa7cae

    3.13.2.2 Design model (with ads)

    fa7cae
    fa7cae
    fa7cae
    fa7cae

    3.13.2.3 HTML definitions

    fa7cae
    fa7cae
    fa7cae
    fa7cae

    3.13.2.4 Controlling visual style

    fa7cae
    fa7cae

    Inside CentOS web environment, the visual style is controlled by the

    fa7cae
    following compenents:
    fa7cae

    fa7cae
    fa7cae
    Webenv header background
    fa7cae
    trunk/Identity/Themes/Motifs/$THEME/Backgrounds/Img/1024x250.png
    fa7cae
    fa7cae
    fa7cae
    CSS definitions
    fa7cae
    trunk/Identity/Themes/Models/Default/Promo/Web/CSS/stylesheet.css
    fa7cae
    fa7cae
    fa7cae
    fa7cae
    fa7cae
    fa7cae

    3.13.2.5 Producing visual style

    fa7cae
    fa7cae

    The visual style of CentOS web environment is defined in the following

    fa7cae
    files:
    fa7cae

    fa7cae
    trunk/Identity/Themes/Motifs/$THEME/Backgrounds/Xcf/1024x250.xcf
    fa7cae
    trunk/Identity/Themes/Motifs/$THEME/Backgrounds/Img/1024x250.png
    fa7cae
    trunk/Identity/Themes/Motifs/$THEME/Backgrounds/Img/1024x250-bg.png
    fa7cae
    trunk/Identity/Themes/Motifs/$THEME/Backgrounds/Tpl/1024x250.svg
    fa7cae
    fa7cae

    As graphic designer you use <tt>`1024x250.xcf'</tt> file to produce

    fa7cae
    <tt>`1024x250-bg.png'</tt> file. Later, inside <tt>`1024x250.svg'</tt> file,
    fa7cae
    you use the <tt>`1024x250-bg.png'</tt> file as background layer to draw
    fa7cae
    your vectorial design. When you consider you artwork ready, use the
    fa7cae
    centos-art.sh script, as described below, to produce the
    fa7cae
    visual style controller images of CentOS web environment.
    fa7cae

    fa7cae
    centos-art render --entry=trunk/Identity/Themes/Motifs/$THEME/Backgrounds --filter='1024x250'
    fa7cae
    fa7cae

    Once you have rendered required image files, changing the visual style

    fa7cae
    of CentOS web environment is a matter of replacing old image files
    fa7cae
    with new ones, inside webenv repository file system structure. The
    fa7cae
    visual style changes will take effect the next time customization line
    fa7cae
    of CentOS web applications be packaged, uploded, and installed from
    fa7cae
    [webenv] or [webenv-test] repositories.
    fa7cae

    fa7cae
    fa7cae
    fa7cae

    3.13.2.6 Navigation

    fa7cae
    fa7cae

    Inside CentOS web environment, the one-step navegation between web

    fa7cae
    applications is addressed using the web environment navigation bar.
    fa7cae
    The web environment navigation bar contains links to main applications
    fa7cae
    and is always visible no matter where you are inside the web
    fa7cae
    environment.
    fa7cae

    fa7cae
    fa7cae
    fa7cae

    3.13.2.7 Development and release cycle

    fa7cae
    fa7cae

    The CentOS web environment development and relase cycle is described

    fa7cae
    below: 
    fa7cae

    fa7cae
    fa7cae
    Download
    fa7cae
    fa7cae

    The first action is download the source code of web applications we

    fa7cae
    want to use inside CentOS web environment.
    fa7cae

    fa7cae
    Important

    Important

    The source location from which web application are

    fa7cae
    downloaded is very important. Use SRPMs from CentOS [base]
    fa7cae
    and [updates] repositories as first choise, and third party
    fa7cae
    repositories (e.g. RPMForge, EPEL, etc.) as last resource.
    fa7cae

    fa7cae
    fa7cae
    fa7cae
    Prepare
    fa7cae
    fa7cae

    Once web application source code has been downloaded, our duty is

    fa7cae
    organize its files inside <samp>`webenv'</samp> version controlled repository.
    fa7cae

    fa7cae

    When preparing the structure keep in mind that different web

    fa7cae
    applications have different visual styles, and also different ways to
    fa7cae
    implement it. A convenient way to organize the file system structure
    fa7cae
    would be create one development line for each web application we use
    fa7cae
    inside CentOS web environment. For example, consider the following
    fa7cae
    file system structure:
    fa7cae

    fa7cae
    https://projects.centos.org/svn/webenv/trunk/
    fa7cae
    |-- WebApp1/
    fa7cae
    |   |-- Sources/
    fa7cae
    |   |   `-- webapp1-0.0.1/
    fa7cae
    |   |-- Rpms/
    fa7cae
    |   |   `-- webapp1-0.0.1.rpm
    fa7cae
    |   |-- Srpms/
    fa7cae
    |   |   `-- webapp1-0.0.1.srpm
    fa7cae
    |   `-- Specs/
    fa7cae
    |       `-- webapp1-0.0.1.spec
    fa7cae
    |-- WebApp2/
    fa7cae
    `-- WebAppN/
    fa7cae
    fa7cae
    fa7cae
    Customize
    fa7cae
    fa7cae

    Once web applications have been organized inside the version

    fa7cae
    controlled repository file system, use subversion to create the CentOS
    fa7cae
    customization development line of web applications source code.  For
    fa7cae
    example, using the above file system structure, you can create the
    fa7cae
    customization development line of <tt>`webapp1-0.0.1/'</tt> with the
    fa7cae
    following command:
    fa7cae

    fa7cae
    svn cp trunk/WebApp1/Sources/webapp1-0.0.1 trunk/WebApp1/Sources/webapp1-0.0.1-webenv
    fa7cae
    fa7cae

    The command above creates the following structure:

    fa7cae

    fa7cae
    https://projects.centos.org/svn/webenv/trunk/
    fa7cae
    |-- WebApp1/
    fa7cae
    |   |-- Sources/
    fa7cae
    |   |   |-- webapp1-0.0.1/
    fa7cae
    |   |   `-- webapp1-0.0.1-webenv/
    fa7cae
    |   |-- Rpms/
    fa7cae
    |   |   `-- webapp1-0.0.1.rpm
    fa7cae
    |   |-- Srpms/
    fa7cae
    |   |   `-- webapp1-0.0.1.srpm
    fa7cae
    |   `-- Specs/
    fa7cae
    |       `-- webapp1-0.0.1.spec
    fa7cae
    |-- WebApp2/
    fa7cae
    `-- WebAppN/
    fa7cae
    fa7cae

    In the above structure, the <tt>`webapp1-0.0.1-webenv/'</tt> directory is

    fa7cae
    the place where you customize the visual style of
    fa7cae
    <tt>`webapp1-0.0.1/'</tt> web application. 
    fa7cae

    fa7cae
    Info

    Tip

    Use the diff command of Subversion between

    fa7cae
    CentOS customization and upstream development lines to know what you
    fa7cae
    are changing exactly.
    fa7cae

    fa7cae
    fa7cae
    fa7cae
    Build packages
    fa7cae
    fa7cae

    When web application has been customized, build the web application

    fa7cae
    RPM and SRPM using the source location with <samp>`-webenv'</samp> prefix. 
    fa7cae

    fa7cae
    https://projects.centos.org/svn/webenv/trunk/
    fa7cae
    |-- WebApp1/
    fa7cae
    |   |-- Sources/
    fa7cae
    |   |   |-- webapp1-0.0.1/
    fa7cae
    |   |   `-- webapp1-0.0.1-webenv/
    fa7cae
    |   |-- Rpms/
    fa7cae
    |   |   |-- webapp1-0.0.1.rpm
    fa7cae
    |   |   `-- webapp1-0.0.1-webenv.rpm
    fa7cae
    |   |-- Srpms/
    fa7cae
    |   |   |-- webapp1-0.0.1.srpm
    fa7cae
    |   |   `-- webapp1-0.0.1-webenv.srpm
    fa7cae
    |   `-- Specs/
    fa7cae
    |       |-- webapp1-0.0.1.spec
    fa7cae
    |       `-- webapp1-0.0.1-webenv.spec
    fa7cae
    |-- WebApp2/
    fa7cae
    `-- WebAppN/
    fa7cae
    fa7cae
    fa7cae
    Release for testing
    fa7cae
    fa7cae

    When the customized web application has been packaged, make packages

    fa7cae
    available for testing and quality assurance. This can be achives using
    fa7cae
    a [webenv-test] yum repository. 
    fa7cae

    fa7cae
    info

    Note

    The [webenv-test] repository is not shipped inside

    fa7cae
    CentOS distribution default yum configuraiton. In order to use
    fa7cae
    [webenv-test] repository you need to configure it first.
    fa7cae

    fa7cae
    fa7cae

    If some problem is found to install/update/use the customized version

    fa7cae
    of web application, the problem is notified somewhere (a bugtracker
    fa7cae
    maybe) and the customization face is repated in order to fix the
    fa7cae
    problem. To release the new package add a number after <samp>`-webenv'</samp>
    fa7cae
    prefix. For example, if some problem is found in
    fa7cae
    <tt>`webapp1-0.0.1-webenv.rpm'</tt>, when it be fixed the new package will
    fa7cae
    be named <tt>`webapp1-0.0.1-webenv-1.rpm'</tt>. If a problem is found in
    fa7cae
    <tt>`webapp1-0.0.1-webenv-1.rpm'</tt>, when it be fixed the new package
    fa7cae
    will be named <tt>`webapp1-0.0.1-webenv-2.rpm'</tt>, and so on.
    fa7cae

    fa7cae

    The "customization -- release for testing" process is repeated

    fa7cae
    until CentOS quality assurance team considers the package is ready for
    fa7cae
    production.
    fa7cae

    fa7cae
    fa7cae
    Release for production
    fa7cae
    fa7cae

    When customized web application packages are considered ready for

    fa7cae
    production they are moved from [webenv-test] to [webenv] repository.
    fa7cae
    This action is commited by CentOS quality assurance team.
    fa7cae

    fa7cae
    info

    Note

    The [webenv] repository is not shipped inside CentOS

    fa7cae
    distribution default yum configuraiton. In order to use [webenv]
    fa7cae
    repository you need to configure it first.
    fa7cae

    fa7cae
    fa7cae
    fa7cae
    fa7cae
    fa7cae
    fa7cae

    3.13.2.8 The [webenv-test] repository

    fa7cae
    fa7cae
    /etc/yum.repos.d/CentOS-Webenv-test.repo
    fa7cae
    fa7cae
    [webenv-test]
    fa7cae
    name=CentOS-$releasever - Webenv-test
    fa7cae
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=webenv-test
    fa7cae
    #baseurl=http://mirror.centos.org/centos/$releasever/webenv-test/$basearch/
    fa7cae
    gpgcheck=1
    fa7cae
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-$releasever
    fa7cae
    enabled=1
    fa7cae
    priority=10
    fa7cae
    fa7cae
    fa7cae
    fa7cae

    3.13.2.9 The [webenv] repository

    fa7cae
    fa7cae
    /etc/yum.repos.d/CentOS-Webenv.repo
    fa7cae
    fa7cae
    [webenv]
    fa7cae
    name=CentOS-$releasever - Webenv
    fa7cae
    mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=webenv
    fa7cae
    #baseurl=http://mirror.centos.org/centos/$releasever/webenv/$basearch/
    fa7cae
    gpgcheck=1
    fa7cae
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-$releasever
    fa7cae
    enabled=1
    fa7cae
    priority=10
    fa7cae
    fa7cae
    fa7cae
    fa7cae

    3.13.2.10 Priority configuration

    fa7cae
    fa7cae

    Both [webenv] and [webenv-test] repositories update packages inside

    fa7cae
    CentOS [base] and CentOS [updates] repositories.
    fa7cae

    4c79b5
    5cee2c
    4c79b5

    3.13.3 Usage

    4c79b5
    2dc146
      2dc146
    • ...
    • 2dc146
      2dc146
      4c79b5
      5cee2c
      4c79b5

      3.13.4 See also

      4c79b5
      fa7cae
      fa7cae
      3.11 trunk/Identity/Models/Img/Promo/Web  
      fa7cae
      fa7cae
      4c79b5
      4c79b5
      4c79b5
      5cee2c
      [ < ]
      5cee2c
      [ > ]
      4c79b5
         
      4c79b5
      [ << ]
      fa7cae
      [ Up ]
      fa7cae
      [ >> ]
      4c79b5
      4c79b5

      4c79b5
       <font size="-1">
      acd47b
        This document was generated on February, 26 2011 using texi2html 1.76.
      4c79b5
       </font>
      4c79b5
       
      4c79b5
      4c79b5

      4c79b5
      </body>
      4c79b5
      </html>