Code Monkey home page Code Monkey logo

cookiecutters's People

Contributors

cbeck88 avatar dependabot[bot] avatar eranrund avatar jcape avatar nick-mobilecoin avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cookiecutters's Issues

configure crates.io owners?

One issue is, when you cookiecutter out a repo like this and cargo publish it for the first time, you will be the only owner, and the only one who is authorized to put it on crates.io.

Then, if such a person leaves the company, it may be impossible for us to publish any later versions of it on crates.io if we can't get a hold of them.

You can see owners on crates.io pages like here: https://crates.io/crates/aligned-array

For instance, with aligned-array, I made sure I added mobilecoinofficial/eng as a co-owner so that if I get hit by a bus, the show can go on.


It would be nice if something in the cookiecutter template would prompt people to do this, otherwise a lot of people will likely forget. I almost forgot this with mc-rand just now.


One issue I also ran into with mc-rand just now is:

chris@chris-ThinkPad-X1-Extreme-Gen-3:~/mobilecoinofficial/rand$ cargo owner --add github:mobilecoinfoundation:coredev
    Updating crates.io index
error: failed to invite owners to crate `mc-rand` on registry at https://crates.io

Caused by:
  the remote server responded with an error: only members of a team or organization owners can add it as an owner

So I am not actually authorized to add coredev to repos that I create -- it might be that James or Nick or someone has to be in the loop for this process. Or I guess I can give mobilecoinofficial/eng ownership over repos in mobilecoinfoundation?

Test Improvements

This looks good to move forward providing a ci run for the other queued PRs to leverage.

I'm a bit behind my current tasks, but I would like to find time to:

For example I don't think the github_user is very robust right now, but I don't think we should have a full directory tree per test case, while a temp dir we could focus on the contents codeowners file

Originally posted by @nick-mobilecoin in #24 (review)

Auto-update examples from CI

Examples should be updated when CI detects they need to be (it's still recommended to do this yourself, but this is like formatting/linting: the repo should do that for you if you forget)

Tests -> Examples

We decided to approach our "test output" from a different perspective and supercede #25. Instead, we're going to treat the "expected output" as "examples" instead. Thinking about it this way changes what we want to do for goals.

  • Keep the default-config example in the repo
  • #39
  • #40
  • #41

should CI run with `-Dmissing-docs`

Usually I put #![deny(missing_docs)] in all my crate's lib.rs, and I'd like to encourage other people to do this.

It occurs to me that maybe I shouldn't put this in every crate's source code, and just put it in CI instead

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.