Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upWant to help? Just try out `cargo crev` and give feedback. #37
Comments
dpc
added
help wanted
good first issue
labels
Dec 3, 2018
dpc
changed the title
Want to help? Just try `cargo crev`
Want to help? Just try out `cargo crev` and give feedback.
Dec 3, 2018
This comment has been minimized.
This comment has been minimized.
tylerlaberge
commented
Dec 4, 2018
|
Just went through building this project and trying this out and here are some things I ran into (for the most part it seems to be working and looks great) Build notes: Had some issues building this because of some dependencies I didn't have installed, specifically I did not have OpenSSL installed or a C compiler needed for argonautica. These were resolved with
After getting those dependencies installed the project compiled successfully. Perhaps these dependencies should be called out in the build instructions? cargo-crev notes:
if I try the set-upstream command I get permission denied.
So instead of cargo crev db git add/cargo crev db git commit/cargo crev db git push it could instead just be something like cargo crev db save (adds/commits) Reason being is I don't exactly see the use case of having all the git commands available, seems like users really would only need the ability to save and publish to me. Overall, really cool project and I'm excited to see where this goes (and the code looks well written too which is great), hope this feedback helps, when I have time I will try to make some contributions :) |
This comment has been minimized.
This comment has been minimized.
|
I've just improved
#36 - let me know in case it doesn't help (open a new issue with the actual error)
I'm not sure myself. I am proficient git user, so for me issuing raw git commands is easier, I have my own shortcuts, additional commands etc. But I guess not every user has to feel this way, so some helpers for most common workflows, could be useful.
For me, it enables any more powerful workflows and tools. Pushing to multiple places, changing branches, etc. Also - it was quicker to implement a generic |
This comment has been minimized.
This comment has been minimized.
|
@tylerlaberge I was rushing to go to sleep yesterday, but I really appreciate the feedback. Thank you! |
dpc
added this to the 0.1 - MVP: cargo-crev/cargo-trust milestone
Dec 11, 2018
rffrancon
referenced this issue
Dec 15, 2018
Closed
Setup remote Github repo if username available #62
dpc
pinned this issue
Dec 18, 2018
This comment has been minimized.
This comment has been minimized.
kornelski
commented
Dec 18, 2018
|
In the screencast the "and now you review code" part is handwaved. To me, this is the hard part. I know I can't trust package's source code as shown on github, and need to review the actual crate file from crates.io, but getting it is cumbersome. Then I have to ensure I reviewed every file and haven't overlooked anything, and that the crate I dug up is actually the same crate that I'm running trust commands for. Could you have an interactive mode, similar to |
This comment has been minimized.
This comment has been minimized.
|
@kornelski Yes. Of course the review part is the time consuming and difficult one. Part of the reason the |
dpc commentedDec 3, 2018
•
edited
cargo-crevis kind of working already. In a sense it's even quite feature complete (alpha quality though)See https://github.com/dpc/crev/tree/master/cargo-crev for instructions.