Logs for #nikola for 2017-09-19

10:17:03 -GitHub[nikola]:#nikola- [nikola] Kwpolska created thumbnail-shortcode-2 (+2 new commits): https://git.io/v5A3D
10:17:03 -GitHub[nikola]:#nikola- nikola/thumbnail-shortcode-2 b6a11e1 Chris Warrick: Sort shortcode list alphabetically...
10:17:03 -GitHub[nikola]:#nikola- nikola/thumbnail-shortcode-2 fbc50d0 Chris Warrick: Add thumbnail shortcode...
10:19:19 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to thumbnail-shortcode-2: https://git.io/v5A3H
10:19:19 -GitHub[nikola]:#nikola- nikola/thumbnail-shortcode-2 1fd1d3e Chris Warrick: Thumbnail caption should be a HTML fragment...
10:19:29 -GitHub[nikola]:#nikola- [nikola] Kwpolska opened pull request #2904: Thumbnail shortcode, take 2 (master...thumbnail-shortcode-2) https://git.io/v5A37
10:25:18 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to thumbnail-shortcode-2: https://git.io/v5Asc
10:25:18 -GitHub[nikola]:#nikola- nikola/thumbnail-shortcode-2 0a649f4 Chris Warrick: Make Codacy happier...
12:45:17 <x1101> Has anyone done automated deployments to s3? I have my site setup there and have added SSL with cloud front, but I'd like something more automated than manually running `nikola build && nikola deploy` when I'm ready to push my site. 
13:10:13 <ChrisWarrick> x1101: How would you expect that automation to work, really? Auto-rebuild and deploy on every file change? Auto-r&d on every git commit? Something else?
13:12:27 <x1101> I was looking at various aws services for scheduled builds. I'd _like_ to be able to push a file with a pub date in the future, and have build/deploy run at a known time. Its a touch of an edge case, because I'm writing show notes for a podcast that publishes on the 1st of every month. I keep episodes / rss feeds from updating by setting the 'date' field to when it should go live, and the build/deploy after that
13:14:00 -travis-ci:#nikola- getnikola/nikola#9489 (thumbnail-shortcode-2 - fbc50d0 : Chris Warrick): The build failed.
13:14:01 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/b6a11e14ab48^...fbc50d0ff986
13:14:01 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/277239662
13:14:51 <ChrisWarrick> x1101: The simplest solution in that case would be to run build&deploy through cron (or some AWS-specific equivalent) on every 1st of the month.
13:15:49 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to thumbnail-shortcode-2: https://git.io/v5ArI
13:15:49 -GitHub[nikola]:#nikola- nikola/thumbnail-shortcode-2 e02b4e8 Chris Warrick: Remove unnecessary newline...
13:23:40 -travis-ci:#nikola- getnikola/nikola#9490 (thumbnail-shortcode-2 - 1fd1d3e : Chris Warrick): The build failed.
13:23:41 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/fbc50d0ff986...1fd1d3e04114
13:23:41 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/277240309
13:28:31 <x1101> ChrisWarrick, I'd been doing that locally, but I don't really have a computer that's on all the time anymore. And most of the AWS services seem ... overkill or incorrectly setup for that. 
13:29:04 <ChrisWarrick> x1101: A good old VPS with Amazon Lightsail, AWS EC2, or some third-party service is enough
13:29:31 <x1101> That's exactly that I'm trying to get _away_ from, LOL
13:29:49 <x1101> I had an ec2 instance, but just s3+cloudfront is so much cheaper.
13:30:02 <x1101> If "get up and do it first thing in the morning" is the best answer, its still workable.
13:31:39 <ChrisWarrick> The “do it first thing in the morning” answer isn’t really automation, is it?
13:32:42 <x1101> no
13:33:19 <x1101> but, I don't have an "always on" PC anymore, so if I can't suss out something else, it will work.
13:33:47 <x1101> I'll do more digging into the AWS solutions. If I find something, I'll write the whole mess up.
13:35:15 <ChrisWarrick> The cheapset VPS out there (which could be tasked with just the builds and deploys) is aruba cloud (€1/month)
13:37:05 <x1101> I maintain servers for a living. I don't *want* another server to worry about. That's another part of why I want rid of them.
13:39:08 <ChrisWarrick> x1101: AWS Lambda does Cron-esque things. If you can somehow convince it to work, that will be it.
13:41:50 <ChrisWarrick> x1101: https://github.com/Miserlou/Zappa can be a good starting point
13:44:09 <x1101> ChrisWarrick, yeah. My concern was, does lambda have access to git? If it does, this is easy sneasy
13:45:09 <ChrisWarrick> I don’t think there are any limitations with regards to that
13:49:46 <ChrisWarrick> x1101: actually, there’s one more thing: you could do it on Travis CI
13:49:49 <ChrisWarrick> !travis
13:49:49 <KwBot> ChrisWarrick: Automating Nikola rebuilds with Travis CI: https://getnikola.com/blog/automating-nikola-rebuilds-with-travis-ci.html
13:50:26 <ChrisWarrick> That one does github-to-github; you can modify it for git_somewhere→aws
13:50:38 <x1101> Thank's I'll check out both of those approaches and report back. 
13:51:00 <x1101> (with a lovely write up that you're free to share as desired)
13:55:25 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/v5AXG
13:55:25 -GitHub[nikola]:#nikola- nikola/master 22e86f5 Chris Warrick: Don’t style non-reST tables the reST way...
13:56:51 <ChrisWarrick> ralsina: hey, your VPS is out of disk space again
13:57:10 <ralsina> ChrisWarrick: ok, looking
13:57:37 <ralsina> x1101: or you could use netlify, free if you don't want a domain
13:59:16 <x1101> ralsina, I have a domain, and stuff in s3 already. Its just the deployment itself. (And, for this project, I need to be using the domain I have)
13:59:53 <ralsina> ChrisWarrick: space made
14:00:17 <ChrisWarrick> ralsina: thanks
14:02:17 -GitHub[plugins]:#nikola- [plugins] Kwpolska pushed 1 new commit to master: https://git.io/v5A1p
14:02:17 -GitHub[plugins]:#nikola- plugins/master 546de1e Chris Warrick: localkatex: Raw shortcode display in README...
14:02:54 -travis-ci:#nikola- Invariant build by Chris Warrick: The build passed. See https://travis-ci.org/getnikola/invariant-builds/builds/277320531.
14:09:26 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#1366 (master - 546de1e : Chris Warrick): The build passed.
14:09:27 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/93ea09a2f99b...546de1ed2251
14:09:27 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/277323258
14:15:08 <x1101> Chr
14:15:42 <x1101> ChrisWarrick, that thing (vps out of space). That is why I don't want a vps. I do this shit enough during my day job, thanks!
14:16:36 <ChrisWarrick> I haven’t ran out of disk space on my VPS in the past 3 years
14:17:51 <x1101> I applaud your well-tuned cleanup up scripts!
14:20:44 <ChrisWarrick> I actually deleted 2.4G of leftover crap right now
14:21:27 <ralsina> This one runs out of space because of my lazyness to be honest
14:21:40 * ralsina writes the silly cron to delete root's email already
14:22:13 <ChrisWarrick> who emails root?
14:25:55 <ralsina> ChrisWarrick: I have a bunch of crons and I want to keep theor output for a little while
14:26:08 <ralsina> But deleting it every night is perfectly ok
14:56:45 * x1101 emails root all the time. but root never responds
16:05:41 -GitHub[nikola]:#nikola- [nikola] Kwpolska deleted thumbnail-shortcode-2 at e02b4e8: https://git.io/v5xfN
16:05:41 -18VAB9JOA:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/v5xfb
16:05:41 -18VAB9JOA:#nikola- nikola/master b19f9a4 Chris Warrick: Merge pull request #2904 from getnikola/thumbnail-shortcode-2...
16:05:53 -GitHub[nikola]:#nikola- [nikola] Kwpolska deleted thumbnail-shortcode at cab7b40: https://git.io/v5xfj
16:06:11 -GitHub[nikola]:#nikola- [nikola] Kwpolska deleted listing-shortcode at a90d068: https://git.io/v5xJk
16:44:08 -travis-ci:#nikola- getnikola/nikola#9494 (thumbnail-shortcode-2 - e02b4e8 : Chris Warrick): The build has errored.
16:44:09 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/0a649f47c15a...e02b4e874507
16:44:09 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/277302422
17:55:28 -travis-ci:#nikola- getnikola/nikola#9496 (master - 22e86f5 : Chris Warrick): The build was broken.
17:55:29 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/6042ccb71f14...22e86f5a7b69
17:55:29 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/277320429
18:25:43 -travis-ci:#nikola- getnikola/nikola#9496 (master - 22e86f5 : Chris Warrick): The build passed.
18:25:44 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/6042ccb71f14...22e86f5a7b69
18:25:44 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/277320429
19:13:36 <berti_> ChrisWarrick: thx, seems I can throw away my crappy version
19:33:34 <berti_> ChrisWarrick: there are only a few drawbacks... :-o
19:57:22 <berti_> ChrisWarrick: I left some comments in the PR.
20:51:30 -travis-ci:#nikola- getnikola/nikola#9497 (master - b19f9a4 : Chris Warrick): The build passed.
20:51:31 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/22e86f5a7b69...b19f9a4bc69c
20:51:31 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/277381497