svn-helper
svn-helper is a command line tool that aims to improve working with multiple subversion repositories at specific versions. For this it provides commands to switch multiple working copies at once.
Last updated 6 months ago by tfriem .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install svn-helper 
SYNC missed versions from official npm registry.

svn-helper

npm version MIT license Build Status CircleCI Maintainability Coverage Status codecov

svn-helper is a command line tool that aims to improve working with multiple subversion repositories at specific versions. For this it provides commands to switch multiple working copies at once.

Usage

Commands

svn-helper help [COMMAND]

display help for svn-helper

USAGE
  $ svn-helper help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

svn-helper merge [PATH]

merge from another version

USAGE
  $ svn-helper merge [PATH]

OPTIONS
  -b, --branch=(trunk|branches|tags)  branch type
  -h, --help                          show CLI help
  -q, --quiet                         supress svn output
  -v, --version=version               version

ALIASES
  $ svn-helper m

EXAMPLES
  $ svn-helper merge -b trunk
  $ svn-helper merge -b branches -v 1.2.3

See code: src/commands/merge.ts

svn-helper switch [PATH]

switch repository to a different version

USAGE
  $ svn-helper switch [PATH]

OPTIONS
  -b, --branch=(trunk|branches|tags)  branch type
  -h, --help                          show CLI help
  -q, --quiet                         supress svn output
  -v, --version=version               version

ALIASES
  $ svn-helper sw

EXAMPLES
  $ svn-helper switch -b trunk
  $ svn-helper switch -b branches -v 1.2.3

See code: src/commands/switch.ts

svn-helper switch-release

switch repositories to configured release versions

USAGE
  $ svn-helper switch-release

OPTIONS
  -c, --concurrency=concurrency  number of concurrent running tasks (0 = infinity)
  -h, --help                     show CLI help
  -q, --quiet                    supress svn output
  -r, --release=release          release name

ALIASES
  $ svn-helper swr

EXAMPLE
  $ svn-helper switch-release -r 1.2

See code: src/commands/switch-release.ts

svn-helper switch-subsystem [SUBSYSTEM]

switch repositories for a configured subsystem to a different version

USAGE
  $ svn-helper switch-subsystem [SUBSYSTEM]

OPTIONS
  -b, --branch=(trunk|branches|tags)  branch type
  -c, --concurrency=concurrency       number of concurrent running tasks (0 = infinity)
  -h, --help                          show CLI help
  -q, --quiet                         supress svn output
  -v, --version=version               version

ALIASES
  $ svn-helper sws

EXAMPLES
  $ svn-helper switch-subsystem -b trunk subsystem1
  $ svn-helper switch-subsystem -b branches -v 1.2.3 subsystem1

See code: src/commands/switch-subsystem.ts

Config example

.svnhelper.conf

{
  "releases": [
    {
      "name": "TestRelease",
      "versions": [
        {"name": "branches/1.0", "projects": ["proj1", "proj3"]},
        {"name": "branches/1.2.3", "projects": ["proj2", "proj4", "proj5"]}
      ]
    },
    {
      "name": "TestRelease2",
      "versions": [
        {"name": "branches/1.2.3", "projects": ["proj1", "proj3"]},
        {"name": "branches/1.2.3", "projects": ["proj2", "proj4"]}
      ]
    }
  ],
  "subsystems": [
    {
      "name": "core",
      "projects": ["proj1"]
    },
    {
      "name": "pluginA",
      "projects": ["proj2"]
    },
    {
      "name": "SystemX",
      "projects": ["proj3", "proj4"]
    }
  ]
}

Caveats

It is assumed that the subversion repositories adhere to the recommend directory structure using trunk, branches/{version} and tags/{version}.

Current Tags

  • 1.2.2                                ...           latest (6 months ago)

16 Versions

  • 1.2.2                                ...           6 months ago
  • 1.2.1                                ...           6 months ago
  • 1.2.0                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.8.0                                ...           a year ago
  • 0.7.0                                ...           a year ago
  • 0.6.0                                ...           a year ago
  • 0.5.0                                ...           a year ago
  • 0.4.0                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (13)
Dev Dependencies (25)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |