Put configuration and data files under revision control

Bug #938628 reported by Eike
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bug-repo-syncer
New
Wishlist
Unassigned

Bug Description

The configuration file is a complex piece of text. It should be put under revision control.

Command "init" should create a Bazaar repository in the project directory, and commit the configuration file to it.
Changed configuration files should be committed when the repositories were synchronized successfully.

Create new structure for VCS commands:
{{{
VcsCommands = namedtuple("VcsCommands", "init_cmd, commit_cmd")
}}}

The configuration file would contain code like this:
{{{
vcs_commands = VcsCommands(
    init_cmd = """
               bzr init
               bzr add syncer_config.py sync-data.pickle
               """
    commit_cmd = """bzr commit -m "{msg}" """
    )
}}}

Eike (eike-welk)
Changed in bug-repo-syncer:
milestone: none → 0.2.0
importance: Undecided → Wishlist
Eike (eike-welk)
Changed in bug-repo-syncer:
milestone: 0.2.0 → 0.3.0
Eike (eike-welk)
description: updated
Eike (eike-welk)
summary: - Put configuration files under revision control
+ Put configuration and data files under revision control
Eike (eike-welk)
Changed in bug-repo-syncer:
milestone: 0.3.0 → 0.4.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.