Skip to content

Latest commit

Β 

History

History
50 lines (32 loc) Β· 3.76 KB

File metadata and controls

50 lines (32 loc) Β· 3.76 KB

πŸ»β€β„οΈπŸŒΊ Contributing to charted-helm-plugin

Before we begin, thanks for considering your time to help make charted-server even better than we can! We full heartly accept contributions from everyone β€” including you! We accept major features, minor features to small, grammatical bugs.

Bug Reporting

Think you might've ran into a bug that should never happen? It happens to the best of us sometimes! To submit a bug report, you can create one via GitHub Issues.

Before you do, make sure that it's something that someone hasn't already reported! You can surf through the [issue board] to see if anyone has already reported it. It'll be tagged with the bug label.

  • Be clear and concise with the title and description of the bug! It'll help others link their issues and possible solution to yours.
  • Please specify any way to reproduce the bug, so we know where to look and fix it!

Security Vulnerabilities

If you find any security-related issues when using charted-helm-plugin: please refer to our security policy for more information. We do not recommend creating an issue UNTIL you contact the team and fix the issue already.

Development Environment

For Nix/NixOS users, we maintain a direnv to standardise the development workflow, it includes the following tools:

  • rustc, cargo, rustfmt, clippy
  • cargo-machete (cargo machete), cargo-expand (cargo expand), cargo-deny (cargo-deny)
  • Git

To enter the workflow, you can use direnv allow and it'll propagate a direnv:

direnv: loading ~/git/charted/helm-plugin/.envrc
direnv: loading https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc (sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM=)
direnv: using flake
direnv: nix-direnv: Using cached dev shell
direnv: export +AR +AR_FOR_TARGET +AS +AS_FOR_TARGET +CC +CC_FOR_TARGET +CHARTED_DISTRIBUTION_KIND +CONFIG_SHELL +CXX +CXX_FOR_TARGET +HOST_PATH +IN_NIX_SHELL +LD +LD_FOR_TARGET +NIX_BINTOOLS +NIX_BINTOOLS_FOR_TARGET +NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_BINTOOLS_WRAPPER_TARGET_TARGET_x86_64_unknown_linux_gnu +NIX_BUILD_CORES +NIX_CC +NIX_CC_FOR_TARGET +NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_CC_WRAPPER_TARGET_TARGET_x86_64_unknown_linux_gnu +NIX_CFLAGS_COMPILE +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_LDFLAGS +NIX_LDFLAGS_FOR_TARGET +NIX_PKG_CONFIG_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_STORE +NM +NM_FOR_TARGET +OBJCOPY +OBJCOPY_FOR_TARGET +OBJDUMP +OBJDUMP_FOR_TARGET +PKG_CONFIG +RANLIB +RANLIB_FOR_TARGET +READELF +READELF_FOR_TARGET +RUSTFLAGS +SIZE +SIZE_FOR_TARGET +SOURCE_DATE_EPOCH +STRINGS +STRINGS_FOR_TARGET +STRIP +STRIP_FOR_TARGET +__structuredAttrs +buildInputs +buildPhase +builder +cmakeFlags +configureFlags +depsBuildBuild +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated +depsHostHost +depsHostHostPropagated +depsTargetTarget +depsTargetTargetPropagated +doCheck +doInstallCheck +dontAddDisableDepTrack +mesonFlags +name +nativeBuildInputs +out +outputs +patches +phases +preferLocalBuild +propagatedBuildInputs +propagatedNativeBuildInputs +shell +shellHook +stdenv +strictDeps +system ~PATH ~XDG_DATA_DIRS

You can also use nix shell or nix develop as well. Since we use Nix flakes, we provide a fallback for people who don't use Nix flakes.


For non Nix/NixOS users, we recommend installing the following tools on your system (if you haven't already):

  • Rustup
  • Git

Rustup is recommended since it'll bootstrap the Rust toolchain that is defined in the rust-toolchain.toml file.