2017-08-19 08:38:54 zunda님의 게시물 zundan@mastodon.zunda.ninja
2017-08-19 09:00:35 zunda님의 게시물 zundan@mastodon.zunda.ninja
2017-08-19 09:01:18 zunda님의 게시물 zundan@mastodon.zunda.ninja

おおお

2017-08-19 09:09:24 zunda님의 게시물 zundan@mastodon.zunda.ninja

コード見てもこのインスタンスからの二重ブースト問題が直るかどうかわかりませんでした。ダメだなあ…(´・ω・`) -- Improve ActivityPub/OStatus compatibility (#4632) · tootsuite/mastodon@412ea87 · GitHub https://github.com/tootsuite/mastodon/commit/412ea873060da4dc73236fdd63a2931d27dbfa40

@zundan いや、なおりそうに見える。マスター行っちゃおうかな

* [new branch] revert-4616 -> upstream/revert-4616

ん?

まいっか←

Add Mastodon as an application for web+mastodon links?
ってFirefoxが

\マスターに/ \しちゃいますたー/

Merged master at 412ea873060da4dc73236fdd63a2931d27dbfa40

Improve ActivityPub/OStatus compatibility (#4632)が入ってます。お騒がせにならないといいのだけどはてさて。

現状APの方々は9アカウント。

> SELECT COUNT(1), domain FROM accounts WHERE protocol=1 GROUP BY domain ORDER BY 1 DESC;
count | domain
-------+---------------------
3 | mastodon.chotto.moe
3 | taruntarun.net
2 | toot.yukimochi.jp
1 | mustardon.tokyo

よくみたらo.pが入ってない

そういえば最近データベースの大きさを測ってませんでしたね

$ heroku pg:info
=== DATABASE_URL, PG_HOBBY_BASIC_URL
Plan: Hobby-basic
Status: Available
Connections: 6/20
PG Version: 9.6.1
Created: 2017-04-20 18:31 UTC
Data Size: 209.0 MB
Tables: 31
Rows: 335449/10000000 (In compliance)

中にこのインスタンスのスループットが増えていたのはフォローしてる皆さんのトゥートが活発だったってことなんだろうな。楽しかったけどいつか物理で参加したいw' https://mastodon.zunda.ninja/media/Hqy5ODODsn9pbcsLE6o

2017-08-19 13:02:13 きりの ✅님의 게시물 imksoo@mastodon.chotto.moe

This account is not set to public on notestock.

現状ビルドに3分15秒くらいかかるっぽい

ActionView::Template::Error (undefined method `url' for Mastodon::Source:Module):

むー

@unarist はい!承認していただきました!

$ git push -f

うりゃ

よいしょ。

https://mastodon.zunda.ninja/about/morehttps://mastodon.zunda.ninja/about/ のソースコードへのリンク先を動いているコードのコミットにしました。

本体には https://github.com/zunda/mastodon/commit/930c49130f3dc29d99f1f6b98059b421a3530e10 な感じの変更を加えて、Herokuへのデプロイ時に https://github.com/zunda/mastodon/blob/66d7f68dd77d918c5e84c0b79de43567e0dff341/lib/tasks/ でイニシャライザをつくってハッシュを記録しています。

プルリクしようかなどうしようかな。

ブランチをpushしてPull requestつくるボタンが表示されないなあと思ったけどこのブラウザではGitHubにログインしていないのでしたw

2017-08-19 16:44:16 zunda님의 게시물 zundan@mastodon.zunda.ninja

まずは うんこもりもる ところから!!1

あああ、Travis先生すみません!

https://github.com/tootsuite/mastodon/pull/4643

テストは知らせるにはDockerマシン起動してえーと

Add Mastodon::Source.url by zunda · Pull Request #4643 · mastodon/mastodon

おやや?今回はdockerマシンさんWoLで起きてくれたぞ?

$ bundle exec rake test
Run options: --seed 36147

# Running:

Finished in 0.001347s, 0.0000 runs/s, 0.0000 assertions/s.
0 runs, 0 assertions, 0 failures, 0 errors, 0 skips

あのあのw

検索したら自分のメモがでてくるんだが… https://gist.github.com/zunda/aa6870d0f9f68e705d54d1fa882b0cc0

Mastodonのrspecを走らせられるようにする

$ bundle exec rake spec
$

なんでなんもしてくれないん

@ykzts 下記のような感じです。うーむむ。情けねーですがなんとかします

$ ./bin/rspec
/home/zunda/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/rubygems_integration.rb:432:in `block in replace_bin_path': can't find executable rspec for gem rspec-core. rspec-core is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)
:
from ./bin/rspec:17:in `<main>'

.ruby-versionが2.4.1になっててgem installすると./.rbenv/versions/2.4.1/bin/rspecができるんだけどこれを実行してもrspec-core gemがないとかなんとか

てかGemfile.lockにrspec-coreとかいるなあ

晩御飯終わったらメモの通りにやりなおしてみよう

2017-08-19 19:03:25 zunda님의 게시물 zundan@mastodon.zunda.ninja

$ git clean -dxf
:
Removing .env.production
:

あw

~/.rbenvをつくりなおしてgit cleanしたらrspec走りました!お騒がせしました。

$ bundle exec rake spec
/home/zunda/.rbenv/versions/2.4.1/bin/ruby -I/home/zunda/local/src/mastodon/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.6.0/lib:/home/zunda/local/src/mastodon/vendor/bundle/ruby/2.4.0/gems/rspec-support-3.6.0/lib /home/zunda/local/src/mastodon/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.6.0/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb

きたー

1) about/show.html.haml has valid open graph tags
Failure/Error: = link_to t('about.source_code'), @instance_presenter.source_url
#<Double :instance_presenter> received unexpected message :source_url with (no args)
# ./app/views/about/show.html.haml:79:in `_app_views_about_show_html_haml___4610925122408189127_46949735648600'
# ./spec/views/about/show.html.haml_spec.rb:19:in `block (2 levels) in <top (required)>'
:

ずんだんず

いえーい

Finished in 3 minutes 6.5 seconds (files took 5.71 seconds to load)
1654 examples, 0 failures, 20 pending

PR出して満足したので筋トレしよう(めーわくなw

2017-08-19 20:16:04 zunda님의 게시물 zundan@mastodon.zunda.ninja
2017-08-19 20:16:06 zunda님의 게시물 zundan@mastodon.zunda.ninja

statusesには1つしか無かったな…

> WITH account AS (SELECT id FROM accounts WHERE domain='mstdn.kwmr.me')
SELECT statuses.id,statuses.updated_at,statuses.url
FROM account, statuses
WHERE account.id=statuses.account_id
AND statuses.text LIKE '%Mastodon is big in Japan.%'
ORDER BY updated_at DESC
;
-[ RECORD 1 ]--------------------------------------------------------------
id | 164785
updated_at | 2017-08-19 23:53:26.695334
url | https://mstdn.kwmr.me/users/kwmr/updates/445

2017-08-19 21:27:34 Naf :naf:님의 게시물 Naf@otogamer.me

This account is not set to public on notestock.

2017-08-19 21:28:13 Naf :naf:님의 게시물 Naf@otogamer.me

This account is not set to public on notestock.

2017-08-19 21:28:23 Naf :naf:님의 게시물 Naf@otogamer.me

This account is not set to public on notestock.

2017-08-19 21:29:22 きりの ✅님의 게시물 imksoo@mastodon.chotto.moe

This account is not set to public on notestock.

お?お?お?