Skip to main content

ninja-bear-distributor-git

This ninja-bear plugin adds the distributor support for Git.

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}.

Metadata

Release files for ninja-bear-distributor-git 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ninja-bear-distributor-git 0.1.1
File Size Uploaded Provenance
ninja_bear_distributor_git-0.1.1.tar.gz 8.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ninja-bear-distributor-git 0.1.1
File Interpreter ABI Platform
ninja_bear_distributor_git-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / ninja_bear_distributor_git-0.1.1.tar.gz

Download URL ninja_bear_distributor_git-0.1.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
041b4625945c394effb928169510aae944e82bc140463eafeba38c5726d80b4c
BLAKE2b-256 checksum
How to use checksums
86b447289fcb7ecaeb85845036e02768e7b1d2da79d8f1c363e24071c97a4fed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / ninja_bear_distributor_git-0.1.1-py3-none-any.whl

Download URL ninja_bear_distributor_git-0.1.1-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68c9cdfc3f97d922d033eafd0f66b2e082a689e1aab651c6692de8881217ad9d
BLAKE2b-256 checksum
How to use checksums
f58af841c5ba6a602228fa10f464ed42e054aa79c3806cd1ec731750394ea023
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for ninja-bear-distributor-git 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page