ninja-bear-distributor-git


Nameninja-bear-distributor-git JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/monstermichl/ninja-bear-distributor-git.git
SummaryGit distributor support for ninja-bear
upload_time2024-11-08 08:40:31
maintainerNone
docs_urlNone
authormonstermichl
requires_python>=3.10
licenseNone
keywords ninja-bear plugin distributor git
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ninja-bear-distributor-git
This [ninja-bear](https://pypi.org/project/ninja-bear) plugin adds the distributor support for Git.

```yaml
distributors:  # Specifies which distributor plugins to load.
  # -------------------------------------------------------------------------
  # Property description for ninja-bear-distributor-git.
  #
  # distributor (required): ninja-bear-distributor-git or git
  # as          (required): Specifies how the distributor will be referenced
  #                         at the language level (in this case git).
  # url         (required): Specifies the repository's URL.
  # path        (optional): Specifies the path within the repository. If no
  #                         Path is provided, the config is added to the
  #                         root directory.
  # user        (optional): Specifies the Git user. If the user attribute,
  #                         but no value is given, the user is prompted to
  #                         provide the user attribute at runtime.
  # password    (optional): Specifies the Git password. If the password,
  #                         attribute but no value is given, the user is
  #                         prompted to provide the password attribute at
  #                         runtime.
  # branch      (optional): Specifies with which branch to work with.
  # message     (optional): Specifies the commit message. If no message got
  #                         provided, the user will be prompted to provide
  #                         a commit message at runtime.
  # ignore      (optional): If true, the section gets ignored.
  # -------------------------------------------------------------------------
  - distributor: ninja-bear-distributor-git
    as: git
    url: https://github.com/exampleuser/example-repo.git
    path: config
    user:
    password:
    branch: main
    message: Update config

languages:
  - language: ninja-bear-language-examplescript
    distributors:  # Specifies which distributor plugins to use for the language.
      - git

properties:
  - type: bool
    name: myBoolean
    value: true

  - type: int
    name: myInteger
    value: 142

  - type: float
    name: myFloat
    value: 322f  # Float with float specifier. However, an additional specifier (f) is not required and will be trimmed.

  - type: float
    name: myCombinedFloat
    value: ${myInteger} * ${myFloat}  # Number and boolean combinations get evaluated during the dump process.

  - type: double
    name: myDouble
    value: 233.9

  - type: string
    name: myString
    value: Hello World
    hidden: true  # If a property should act as a helper but should not be written to the generated file, it must be marked as 'hidden'.

  - type: regex
    name: myRegex
    value: Test Reg(E|e)x
    comment: Just another RegEx.  # Variables can be described using the comment property.

  - type: string
    name: mySubstitutedString
    value: Sometimes I just want to scream ${myString}!  # To use the value of another property, simply use its name with ${}. E.g., ${myString}.
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/monstermichl/ninja-bear-distributor-git.git",
    "name": "ninja-bear-distributor-git",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "ninja-bear, plugin, distributor, git",
    "author": "monstermichl",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/86/b4/47289fcb7ecaeb85845036e02768e7b1d2da79d8f1c363e24071c97a4fed/ninja_bear_distributor_git-0.1.1.tar.gz",
    "platform": null,
    "description": "# ninja-bear-distributor-git\nThis [ninja-bear](https://pypi.org/project/ninja-bear) plugin adds the distributor support for Git.\n\n```yaml\ndistributors:  # Specifies which distributor plugins to load.\n  # -------------------------------------------------------------------------\n  # Property description for ninja-bear-distributor-git.\n  #\n  # distributor (required): ninja-bear-distributor-git or git\n  # as          (required): Specifies how the distributor will be referenced\n  #                         at the language level (in this case git).\n  # url         (required): Specifies the repository's URL.\n  # path        (optional): Specifies the path within the repository. If no\n  #                         Path is provided, the config is added to the\n  #                         root directory.\n  # user        (optional): Specifies the Git user. If the user attribute,\n  #                         but no value is given, the user is prompted to\n  #                         provide the user attribute at runtime.\n  # password    (optional): Specifies the Git password. If the password,\n  #                         attribute but no value is given, the user is\n  #                         prompted to provide the password attribute at\n  #                         runtime.\n  # branch      (optional): Specifies with which branch to work with.\n  # message     (optional): Specifies the commit message. If no message got\n  #                         provided, the user will be prompted to provide\n  #                         a commit message at runtime.\n  # ignore      (optional): If true, the section gets ignored.\n  # -------------------------------------------------------------------------\n  - distributor: ninja-bear-distributor-git\n    as: git\n    url: https://github.com/exampleuser/example-repo.git\n    path: config\n    user:\n    password:\n    branch: main\n    message: Update config\n\nlanguages:\n  - language: ninja-bear-language-examplescript\n    distributors:  # Specifies which distributor plugins to use for the language.\n      - git\n\nproperties:\n  - type: bool\n    name: myBoolean\n    value: true\n\n  - type: int\n    name: myInteger\n    value: 142\n\n  - type: float\n    name: myFloat\n    value: 322f  # Float with float specifier. However, an additional specifier (f) is not required and will be trimmed.\n\n  - type: float\n    name: myCombinedFloat\n    value: ${myInteger} * ${myFloat}  # Number and boolean combinations get evaluated during the dump process.\n\n  - type: double\n    name: myDouble\n    value: 233.9\n\n  - type: string\n    name: myString\n    value: Hello World\n    hidden: true  # If a property should act as a helper but should not be written to the generated file, it must be marked as 'hidden'.\n\n  - type: regex\n    name: myRegex\n    value: Test Reg(E|e)x\n    comment: Just another RegEx.  # Variables can be described using the comment property.\n\n  - type: string\n    name: mySubstitutedString\n    value: Sometimes I just want to scream ${myString}!  # To use the value of another property, simply use its name with ${}. E.g., ${myString}.\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Git distributor support for ninja-bear",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/monstermichl/ninja-bear-distributor-git.git"
    },
    "split_keywords": [
        "ninja-bear",
        " plugin",
        " distributor",
        " git"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f58af841c5ba6a602228fa10f464ed42e054aa79c3806cd1ec731750394ea023",
                "md5": "7e528e283a2ed11d57e5a90d7dc7664d",
                "sha256": "68c9cdfc3f97d922d033eafd0f66b2e082a689e1aab651c6692de8881217ad9d"
            },
            "downloads": -1,
            "filename": "ninja_bear_distributor_git-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7e528e283a2ed11d57e5a90d7dc7664d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 6843,
            "upload_time": "2024-11-08T08:40:30",
            "upload_time_iso_8601": "2024-11-08T08:40:30.856566Z",
            "url": "https://files.pythonhosted.org/packages/f5/8a/f841c5ba6a602228fa10f464ed42e054aa79c3806cd1ec731750394ea023/ninja_bear_distributor_git-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "86b447289fcb7ecaeb85845036e02768e7b1d2da79d8f1c363e24071c97a4fed",
                "md5": "74e84e09d22c0b1a09afd2398726e356",
                "sha256": "041b4625945c394effb928169510aae944e82bc140463eafeba38c5726d80b4c"
            },
            "downloads": -1,
            "filename": "ninja_bear_distributor_git-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "74e84e09d22c0b1a09afd2398726e356",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 8248,
            "upload_time": "2024-11-08T08:40:31",
            "upload_time_iso_8601": "2024-11-08T08:40:31.730687Z",
            "url": "https://files.pythonhosted.org/packages/86/b4/47289fcb7ecaeb85845036e02768e7b1d2da79d8f1c363e24071c97a4fed/ninja_bear_distributor_git-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-08 08:40:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "monstermichl",
    "github_project": "ninja-bear-distributor-git",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "ninja-bear-distributor-git"
}
        
Elapsed time: 0.47525s