vividmuimui / lock_diff Goto Github PK
View Code? Open in Web Editor NEWThis gem detects changes to your package manager (e.g. Gemfile) and generates a Markdown-formatted diff
License: MIT License
This gem detects changes to your package manager (e.g. Gemfile) and generates a Markdown-formatted diff
License: MIT License
とくに2.3系
vividmuimui/lock_diff_sample#1
リンクも新しくする
The lock_diff
command is warning me about a deprecation in Faraday.
$ lock_diff --repository="vividmuimui/lock_diff" --number=123 --post-comment=true
WARNING: `Faraday::Connection#authorization` is deprecated; it will be removed in version 2.0.
While initializing your connection, use `#request(:authorization, ...)` instead.
See https://lostisland.github.io/faraday/middleware/authentication for more usage info.
lock_diff_for_tachikomaが有るが、
が良くない感ある。
depandabotやdeppbotやjenkinsでのbundle updateなどにも対応できると良さそう
📈 とか何かわからない可能性あるし、 がリンクになってることも気づかない可能性がある
localのpathのものやgithub直接指定のものなど。
rubygemから情報を取ってくるところで失敗する
そう実装したはずだが
vividmuimui/rails_tutorial#29 (comment)
fog-brightbox
がうまくいっていない。
ruby 2.3.3にしたのが原因だったりするかも?
--version
オプションに対応するgithubを参照していたものを、rubygems参照に戻す際など。
この例では、 コミットの履歴的には、 06665e6
の方が新しく3.3.3
の方が古い。
ので、URLは redis/redis-rb@v3.3.3...06665e6 となる方が正しいし、 statusも 📈 ではなく📉 になる方が正しい。
06665e6->v3.3.3
という感じupdateされたときにしか情報がでないのは良くない
bundler2でgems.rb, gems.lockedに名前が変わるので
例えばpgのリポジトリはbitbucket
なので
gem 'pg', git: 'https://bitbucket.org/ged/ruby-pg' # この書き方で動くかはあれ
でも動くか確認する
yarnとか。
コアのコードベースを整理して、
好きなstrategyを刺せる(追加gemとして) or 自動的に選択するみたいな感じが良さそう。
releaseにはビルドしたものだけおいて、更新履歴はchangelogみたいなケースもあり得る気がするので、
両方出すぐらいがイイのかもしれない�
もしくは、最終更新の日時を比較して新しい方を出す
自分で入れたgemなのか、なにかのgemに付随して入ったgemなのかをわかりやすくするため
https://github.com/kyanny/compare_linker
コードの多くの部分が compare_linkerを参考(コピペも十分ある)にしているので、その旨を明記する
アルファベット順は分かり易いが、
実際レビューすることを考えるとGemfile.lockと同じ並びのほうが良さそう。
activerecordやrailtiesなどはrailsに紐づくやつだが、アルファベット順だとばらばらになってしまう。Gemfile.lockの並び順だとひとまとまりになって見やすいハズ
productionに入っているgemならきちんと確認しなきゃ、testのグループのだったらテストが通ればよいだろうとか思えるので
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.