Content for this-week-in-rust.org. Made available under CC-BY-SA.
All code Copyright 2014 Corey Richardson, made available under the MIT license.
Check the drafts
directory for more details.
git log --author=bors --since='MM/DD/YYYY 12:00PM' --until='MM/DD/YYYY 12:00PM' --pretty=oneline > ~/entropy/twir.txt
# edit in vim to get rid of everything but PR number, copy into clipboard
for pr in $(xsel -ob); do firefox https://github.com/mozilla/rust/pull/$pr; sleep 0.07; done
# wait a long time...
# write TWIR
Alternately use GitHub search:
https://github.com/rust-lang/rust/pulls?q=is%3Apr+is%3Amerged+updated%3A2014-11-03..2014-11-10
Use the included new_contribs.sh
script:
new_contribs.sh 6/21/2014
Ensure you have SASS installed. The easiest way to get it is via gem
, the
Ruby package manager.
env SASS_BIN=$HOME/.gem/ruby/*/bin/sass pelican content -s pelicanconf.py
- Generate the HTML
TWIR_NEWSLETTER_THEME=1 pelican --delete-output-directory content
- Copy the HTML and inline CSS at http://zurb.com/ink/inliner.php - (MailChimp's inliner doesn't remove the CSS from
<head>
). - Send the newsletter (we currently use MailChimp).