Changeset 45 in tailor


Ignore:
Timestamp:
07/05/04 12:30:55 (9 years ago)
Author:
lele@…
Hash name:
20040705103055-97f81-f6e955487befd1c7819558028994f02ffb348362
Message:

Documentation on TailorizedProject?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/tailor.py

    r43 r45  
    11#! /usr/bin/python 
    22# -*- mode: python; coding: utf-8 -*- 
    3 # :Progetto: vcpx --  
     3# :Progetto: vcpx -- Frontend capabilities 
    44# :Creato:   dom 04 lug 2004 00:40:54 CEST 
    55# :Autore:   Lele Gaifax <lele@nautilus.homeip.net> 
     
    77 
    88""" 
     9Implement the basic capabilities of the frontend. 
     10 
     11This implementation stores the relevant project information, needed to 
     12keep the whole thing going on, such as the last synced revision, in a 
     13unversioned file named `tailor.info` at the root. 
    914""" 
    1015 
     
    1722     
    1823class TailorizedProject(object): 
    19  
     24    """ 
     25    A TailorizedProject has two main capabilities: it may be bootstrapped 
     26    from an upstream repository or brought in sync with current upstream 
     27    revision. 
     28    """ 
     29     
    2030    def __init__(self, root): 
    2131        import logging 
     
    3747                 
    3848    def __saveStatus(self): 
     49        """ 
     50        Save relevant project information in a persistent way. 
     51        """ 
     52         
    3953        from os.path import join, exists 
    4054 
     
    4963         
    5064    def __loadStatus(self): 
     65        """ 
     66        Load relevant project information. 
     67        """ 
     68         
    5169        from os.path import join, exists 
    5270 
     
    6987        Extract a copy of the `repository` at given `revision` in the `root` 
    7088        directory and initialize a target repository with its content. 
     89 
     90        The actual information on the project are stored in a text file. 
    7191        """ 
    7292 
     
    94114 
    95115    def update(self): 
     116        """ 
     117        Update an existing tailorized project. 
     118 
     119        Fetch the upstream changesets and apply them to the working copy. 
     120        Use the information stored in the `tailor.info` file to ask just 
     121        the new changeset since last bootstrap/synchronization. 
     122        """ 
     123         
    96124        from os.path import join 
    97125         
Note: See TracChangeset for help on using the changeset viewer.