Blame Manuals/Repository/repository-html/repository_14.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
-->
bf28e1
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>
c12cdc
<title>CentOS Artwork Repository: 3.11 trunk/Identity/Models/Tpl/Promo/Web</title>
4c79b5
c12cdc
<meta name="description" content="CentOS Artwork Repository: 3.11 trunk/Identity/Models/Tpl/Promo/Web">
c12cdc
<meta name="keywords" content="CentOS Artwork Repository: 3.11 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
d11e55
[ < ]
d11e55
[ > ]
4c79b5
   
4c79b5
[ << ]
4c79b5
[ Up ]
c12cdc
[ >> ]
4c79b5
   
4c79b5
   
4c79b5
   
4c79b5
   
4c79b5
[Top]
4c79b5
[Contents]
c12cdc
[Index]
4c79b5
[ ? ]
4c79b5
c12cdc
d11e55
c12cdc

3.11 trunk/Identity/Models/Tpl/Promo/Web

4c79b5
4c79b5
d11e55
4c79b5

3.11.1 Goals

4c79b5
c12cdc

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

c12cdc
web environment.
c12cdc

5fb024
d11e55
c12cdc

3.11.2 The CentOS web environment

5fb024
c12cdc

Inside CentOS corporate identity, the CentOS web environment is

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

c12cdc

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

c12cdc

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

    The CentOS project is attached to a monolithic corporate visual

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

    c12cdc

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

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

    c12cdc

    This visual style diversity complicates our goal of one unique visual

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

    c12cdc

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

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

    c12cdc

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

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

    4c79b5
    d11e55
    c12cdc

    3.11.2.1 Design model (without ads)

    c12cdc
    c12cdc
    c12cdc
    c12cdc

    3.11.2.2 Design model (with ads)

    c12cdc
    c12cdc
    c12cdc
    c12cdc

    3.11.2.3 HTML definitions

    c12cdc
    c12cdc
    c12cdc
    c12cdc

    3.11.2.4 Controlling visual style

    c12cdc
    c12cdc

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

    c12cdc
    following compenents:
    c12cdc

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

    3.11.2.5 Producing visual style

    c12cdc
    c12cdc

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

    c12cdc
    files:
    c12cdc

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

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

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

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

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

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

    c12cdc
    c12cdc
    c12cdc

    3.11.2.6 Navigation

    c12cdc
    c12cdc

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

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

    c12cdc
    c12cdc
    c12cdc

    3.11.2.7 Development and release cycle

    c12cdc
    c12cdc

    The CentOS web environment development and relase cycle is described

    c12cdc
    below: 
    c12cdc

    c12cdc
    c12cdc
    Download
    c12cdc
    c12cdc

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

    c12cdc
    want to use inside CentOS web environment.
    c12cdc

    c12cdc
    Important

    Important

    The source location from which web application are

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

    c12cdc
    c12cdc
    c12cdc
    Prepare
    c12cdc
    c12cdc

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

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

    c12cdc

    When preparing the structure keep in mind that different web

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

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

    Once web applications have been organized inside the version

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

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

    The command above creates the following structure:

    c12cdc

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

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

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

    c12cdc
    Info

    Tip

    Use the diff command of Subversion between

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

    c12cdc
    c12cdc
    c12cdc
    Build packages
    c12cdc
    c12cdc

    When web application has been customized, build the web application

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

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

    When the customized web application has been packaged, make packages

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

    c12cdc
    info

    Note

    The [webenv-test] repository is not shipped inside

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

    c12cdc
    c12cdc

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

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

    c12cdc

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

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

    c12cdc
    c12cdc
    Release for production
    c12cdc
    c12cdc

    When customized web application packages are considered ready for

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

    c12cdc
    info

    Note

    The [webenv] repository is not shipped inside CentOS

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

    c12cdc
    c12cdc
    c12cdc
    c12cdc
    c12cdc
    c12cdc

    3.11.2.8 The [webenv-test] repository

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

    3.11.2.9 The [webenv] repository

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

    3.11.2.10 Priority configuration

    c12cdc
    c12cdc

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

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

    c12cdc
    c12cdc
    4c79b5

    3.11.3 Usage

    4c79b5
    5fb024
      5fb024
    • ...
    • 5fb024
      5fb024
      4c79b5
      c12cdc
      4c79b5

      3.11.4 See also

      4c79b5
      c12cdc
      c12cdc
      3.9 trunk/Identity/Models/Img/Promo/Web  
      c12cdc
      c12cdc
      4c79b5
      4c79b5
      4c79b5
      c12cdc
      [ < ]
      c12cdc
      [ > ]
      4c79b5
         
      4c79b5
      [ << ]
      d11e55
      [ Up ]
      c12cdc
      [ >> ]
      4c79b5
      4c79b5

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

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