Giter Club home page Giter Club logo

cargo-thanks's Introduction

cargo thanks

Give thanks (in the form of github stars) to your fellow Rustaceans

thanks

Install

This is intended to be installed as a cargo plugin

$ cargo install --force cargo-thanks

(adding the --force upgrades to the latest version when installing)

usage

Create a github access token with the "public_repo" permission and store its value in an env variable named GITHUB_TOKEN

Within any of your Cargo based Rust projects, run the following

$ cargo thanks

This will find all of your Cargo dependencies, find their github.com repository from metadata hosted on crates.io, and star their github repositories. This was inspired in part by medium's clapping button as a way to show thanks for someone elses work you've found enjoyment in.

If you're asking why did some dependencies get thanked and not others, the answer is that this plugin only supports github.com at the moment. Pull requests are welcome to add support for thanking crates hosted on other services.

Doug Tangren (softprops) 2017

cargo-thanks's People

Contributors

faraazahmad avatar kbknapp avatar pzmarzly avatar r-darwish avatar softprops avatar tcr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cargo-thanks's Issues

404 Not found Error

I installed cargo-thanks using cargo, Created a token with public_repo permission and set the environment variable correctly but I keep getting "Error: 404 Not Found: 'Not Found'" error.

My cargo.toml looks like this,

[dependencies]
x11cap = "0.4.1"
gif = "0.9.2"
x11 = "2.16.0"
chrono = "0.4.0"
log = "0.3"
fern = "0.4"
rayon = "0.9.0"

It does sends "thanks" to x11cap but I think it's failing on gif.

Error: 404 Not Found: 'Not Found'

Minimal reproduction example:

[dependencies]
env_logger = "0.5.9"

It seems that the root cause is that env_logger's Cargo.toml uses a link to the repo with a trailing slash in it:

repository = "https://github.com/sebasmagri/env_logger/"

P.S. It would be much helpful if cargo-thanks includes the crate name in its error messages as it took me a few attempts to find the "misbehaving" crate because cargo-thanks only reported Error: 404 Not Found: 'Not Found'.

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.