Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working when exists Workspace toml file #20

Open
ava57r opened this issue Dec 25, 2018 · 2 comments
Open

Not working when exists Workspace toml file #20

ava57r opened this issue Dec 25, 2018 · 2 comments

Comments

@ava57r
Copy link

ava57r commented Dec 25, 2018

I am want try generate Changelog for this project
https://github.com/wyyerd/stripe-rs

when run this command:

~/dev-pro/stripe-rs/stripe $ changelog  ~/dev-pro/stripe-rs/ -o CHA.md
Error: Generic error.
Info: caused by missing field `package`

when run other command:

~/dev-pro/stripe-rs/stripe $ changelog  ~/dev-pro/stripe-rs/stripe/ -o CHA.md
Error: An error occurred using git.
Info: caused by could not find repository from '/home/andreevlex/dev-pro/stripe-rs/stripe/'; class=Repository (6); code=NotFound (-3)

How work this type projects?
@yoshuawuyts
Copy link
Owner

Excellent question. I've never tried running this on a workspace project. We should probably add a fallback to the directory name if the package key doesn't exist in cargo.toml.

Ideally we could generate a changelog per workspace entry, but that might require a bit more work.

@ava57r ava57r changed the title Not working when exits Workspace toml file Not working when exists Workspace toml file Dec 26, 2018
@ava57r
Copy link
Author

ava57r commented Dec 26, 2018

I am want create for crate stripe, not workspace but not found .git directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants