Skip to main content

Create perforce workspace from the spec file

Project description

ci ci ci ci

GitHub code size in bytes

P4WorkspaceCreator

Description

To automate the creation of perforce workspace using spec file stored in the depot path

Spec file could be like //spec/... //[placeholder]/spec/...

It creates perforce workspace using spec file which is stored in the depot path

How to install

python -m pip install P4WorkspaceCreator

Usage

Usage example

python -m P4WorkspaceCreator -u User -p Password -port perforce:1666 -c User_MachineName_P4WorkspaceCreator -r C:\users\sachin\perforce-workspace -s //spec/example/p4workspacecreator.txt -l "<ClientName>"
  -u USER, --user USER  Perforce user name
  -p PASSWORD, --password PASSWORD
                        Perforce password
  -port PORT, --port PORT
                        Perforce port address
  -c CLIENT, --client CLIENT
                        Client name which will be used to create workspace
  -r ROOT, --root ROOT  Workspace root path
  -s SPEC, --spec SPEC  Spec file path in depot
  -l PLACEHOLDER, --placeholder PLACEHOLDER
                        Place holder used in the spec file e.g '<ClientName>'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

p4workspacecreator-1.0.3.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

P4WorkspaceCreator-1.0.3-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page