Coder Social home page Coder Social logo

git-bats-demo's People

Contributors

nicmcphee avatar

Watchers

 avatar  avatar  avatar

git-bats-demo's Issues

Remake the video

Once I have the write-up updated (#11) , then I should remake the video that goes with this.

The original video had 6 parts that ran almost 2.5 hours viewing time. That's arguably way too long. The question, then, is whether I try "winging" it again, or if I write a script. The script will take more up-front time, but might shrink the video and make it more likely that people actually watch it.

I think I'll try doing the first part of two with a script as an experiment, and then see how long that takes to write, and how much it affects the resulting video.

  • Organize it into sections, one per video
  • Script and record the first section

Update the write-up

I've got lots of scribbles on the write-up that need to be entered. Some are just editing, but others come from switching to bats-core.

Bring common problems in Log Processing lab into this

There are a variety of "common problems" that students have with the Log Processing lab. It would be nice if this example (and the video) illustrated some "best practices" that might help with that.

Some things that immediately come to mind:

  • You don't need to touch output.txt; I/O redirection will create the file for you (e.g., command > output.txt).
  • Piping together commands can reduce the number of temporary files, improving performance and meaning we don't have to come up with a bunch of file names.
  • Piping can almost make things hard to read, and splitting lines can really help there. That also allows us to comment on steps or stages of the pipe.

Fix the forking/template problem

It looks like creating copies of repos via GitHub's template mechanism eats some important info about git sub-modules, and you're forced to re-add any templates by hand, which sucks.

Forking works, but I think that if you're using GitHub Classroom you have to use templates, so this is bit of a problem.

I sent the GitHub folks a question on this, and we'll see what (if anything) we get back.

Add GitHub Actions

This should have at least two actions:

  • Checking that the tests pass
  • Checking that shellcheck is happy

I should do this before updating to bats-core so I get the shellcheck validation as I go through that.

  • Create action for the tests
  • Create action for shellcheck
  • Create badges that will work on forking

Mention `shellcheck`

It would be useful to let folks know that both shellcheck exists and would be a good thing to apply to their shell scripts.

Update the solution

I need to update the solution to clear a ton of shellcheck warnings, and to make sure that the tests pass and the badges update correctly.

Move git/GitHub resources to new repo

I currently have a pointer in "Setting up the repo" to the first Software Design lab's git/GitHub resources. I need to move that into a new "documentation" repo and update the link here.

Convert tests to new `bats-core`

I need to update the bats tests to use the new bats-core implementation. This shouldn't affect the write-up (or videos) much since the way the tests will run won't won't change much from the user's perspective. Some of the output will be different, but that's about it.

I should add GitHub Actions (#5) first, as that will give me shellcheck checking as I make changes to the test script.

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.