Skip to main content

A cloudmesh command to bump the version in cloudmesh projects

Project description

The cloudmesh bumpversion command

GitHub Repo image image License

General badge GitHub issues Contributors General badge

Linux macOS Windows

Manual Page


  Usage:
        bumpversion patch
        bumpversion minor
        bumpversion major
        bumpversion info
        bumpversion set --version=VERSION
        bumpversion --config=YAML --version=VERSION


  Manages bumping the version for cloudmesh

  Arguments:
      VERSION  the version number to set
      YAML  the yaml file name

  Options:
      --version=VERSION   the version number to set
      --config=YAML   the YAML FILE

  Description:

    this program modifies the following files.

    It reads the VERSION form the ./VERSION file
    the number is of the form MAJOR.MINOR.PATCH
    It increase the specified number
    It writes the number to the files
    ./VERSION
    ./cloudmesh/cloudmesh-PACKAGE/__version__.py

    > bumpversion patch
    >    increments the third number

    > bumpversion minor
    >    increments the second number

    > bumpversion mayor
    >    increments the first number

    > bumpversion info
    >    lists the numbers and identifies if one of them is wrong

    > bumpversion set --version=VERSION
    >   sets the version number to the spcified number

    > bumpversion --config=YAML --version=VERSION
    >   sets the versions in the files specifed in the yaml file

    > Example: bumpversion.yaml
    >
    > bumpversion:
    > - cloudmesh/bumpversion/__version__.py
    > - VERSION

Manual Page

Command bar
===========

::

  Usage:
        bar --file=FILE
        bar list
        bar [--parameter=PARAMETER] [--experiment=EXPERIMENT] [COMMAND...]

  This command does some useful things.

  Arguments:
      FILE   a file name
      PARAMETER  a parameterized parameter of the form "a[0-3],a5"

  Options:
      -f      specify the file

  Description:

    > cms bar --parameter="a[1-2,5],a10"
    >    example on how to use Parameter.expand. See source code at
    >      https://github.com/cloudmesh/cloudmesh-bar/blob/main/cloudmesh/bar/command/bar.py
    >    prints the expanded parameter as a list
    >    ['a1', 'a2', 'a3', 'a4', 'a5', 'a10']

    > bar exp --experiment=a=b,c=d
    > example on how to use Parameter.arguments_to_dict. See source code at
    >      https://github.com/cloudmesh/cloudmesh-bar/blob/main/cloudmesh/bar/command/bar.py
    > prints the parameter as dict
    >   {'a': 'b', 'c': 'd'}

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

cloudmesh-bumpversion-5.0.29.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

cloudmesh_bumpversion-5.0.29-py2.py3-none-any.whl (8.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file cloudmesh-bumpversion-5.0.29.tar.gz.

File metadata

File hashes

Hashes for cloudmesh-bumpversion-5.0.29.tar.gz
Algorithm Hash digest
SHA256 e35b72dc34c050ac36b2d69648ebc6438ae57ffc9334f3b4d4e78247db9c01d0
MD5 b707ced0677418a75a436dd641fa985a
BLAKE2b-256 bd20b9e904cf9a6f2154b8d410b999e7e4254f7a6600f72deef10ca3862d4cdf

See more details on using hashes here.

File details

Details for the file cloudmesh_bumpversion-5.0.29-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cloudmesh_bumpversion-5.0.29-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e8ad50acf6848e4167b74910be441e12a18954e55a5fe2aca2ae708e638da273
MD5 9f3c1c62d7268425b371065306f46c24
BLAKE2b-256 e817a7339d4d5ef2f94d0abc7e189cd02ac7d9e691ebd395fccb9118c342592a

See more details on using hashes here.

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