Coder Social home page Coder Social logo

muraca / diener Goto Github PK

View Code? Open in Web Editor NEW

This project forked from paritytech/diener

0.0 0.0 0.0 112 KB

Diener - dependency diener is a tool for easily changing https://github.com/paritytech/substrate or https://github.com/paritytech/polkadot dependency versions

Ruby 2.97% Rust 97.03%

diener's Introduction

diener - dependency diener is a tool for easily changing Substrate or Polkadot dependency versions

Usage

You can find the full documentation on docs.rs.

Update

The update subcommand changes all Cargo.toml files in a given folder to use a specific branch/path/commit/tag.

Change all Substrate dependencies in a folder to a different branch:

diener update --substrate --branch diener-branch

Or you want to change Polkadot and Substrate dependencies to the same branch:

diener update --branch diener-branch-2

Diener also supports tag and rev as arguments.

If a dependency is belongs to Substrate or Polkadot is currently done by looking at the git url. It also only works for repos called substrate or polkadot.

Patch

The patch subcommand adds a patch section for each crate in a given cargo workspace to the workspace Cargo.toml file in some other cargo workspace.

Patch all Substrate git dependencies to be build from a given path:

diener patch --crates-to-patch ../path/to/substrate/checkout --substrate

This subcommand can be compared to .cargo/config without using a deprecated feature of Cargo ;)

License

Licensed under either of

at your option.

License: Apache-2.0/MIT

diener's People

Contributors

bkchr avatar chevdor avatar athei avatar dependabot[bot] avatar s3krit avatar gilescope avatar apopiak avatar felixonmars avatar liuchengxu avatar coderobe avatar ggwpez avatar sergejparity avatar vyorkin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.