bendis 0.2.1

A patch tool for Bender to work better in HERIS project
bendis-0.2.1 is not a library.

Bendis

Crates.io Crates.io Downloads GitHub GitLab

A patch tool for Bender to work better in the HERIS project.

Author: Albert L. Cheung, IHEP Email: albert.cheung@cern.ch


Links


Features

  • URL Conversion: Automatically converts GitHub URLs to IHEP internal Git URLs
  • Seamless Integration: Works as a drop-in replacement for Bender
  • Fast: Written in Rust for optimal performance

Installation

cargo install bendis

Usage

Initialize a project

bendis init

Creates a .bendis/ directory with blank Bender.yml and .bender.yml.

Update dependencies

When using Bendis, only edit the configuration files inside .bendis/. The copies in the project root will be overwritten.

Update dependencies with:

bendis update

Other commands

All other commands are passed through to Bender transparently.


File Structure

project/
├── .bendis/                # Bendis working directory
│   ├── Bender.yml          # Original config (GitHub URLs)
│   ├── .bender.yml         # Original overrides
│   └── Bender.lock         # Generated by bender
├── Bender.yml              # Converted config (copied from .bendis/)
├── .bender.yml             # Converted overrides (IHEP URLs)
├── Bender.lock             # Final lock file
└── .bender/                # Dependencies directory