Skip to content

A Pinto "clone" command for copying stacks between different repositories

Notifications You must be signed in to change notification settings

tartansandal/Pinto-Action-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

App::Pinto::Command::clone - clone a new stack from a different repository

VERSION

version 0.001

SYNOPSIS

pinto --root=REPOSITORY_ROOT clone [OPTIONS] UPSTREAM TO_STACK

DESCRIPTION

This command creates a new stack by cloning a stack on an upstream repository. The new stack must not already exist.

Use the new command to create a new empty stack, or the props command to change a stack's properties after it has been created.

COMMAND ARGUMENTS

The two required arguments are the URL of stack on the upstream repository and target stack. The URL could be something like:

https://www.stratopan.com/thaljef/OpenSource/pinto-release 

Stack names must be alphanumeric plus hyphens, underscores, and periods, and are not case-sensitive.

COMMAND OPTIONS

  • --default

    Also mark the new stack as the default stack.

  • --description=TEXT

  • -d TEXT

    Use TEXT for the description of the stack. If not specified, defaults to 'Clone of stack UPSTREAM'.

  • --lock

    Also lock the new stack to prevent future changes. This is useful for creating a read-only "tag" of a stack. You can always use the lock or unlock commands at a later time.

SUPPORT

Perldoc

You can find documentation for this module with the perldoc command.

perldoc App::Pinto::Command::clone

Websites

The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.

Bugs / Feature Requests

https://github.com/tartansandal/Pinto/issues

Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

https://github.com/tartansandal/Pinto

git clone git://github.com/tartansandal/Pinto.git

AUTHOR

Kahlil (Kal) Hodgson kahlil.hodgson@dealmax.com.au

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Kahlil (Kal) Hodgson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

About

A Pinto "clone" command for copying stacks between different repositories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages