Coder Social home page Coder Social logo

lock_diff's People

Contributors

codacy-badger avatar holysugar avatar rastamhadi avatar vividmuimui avatar windyakin avatar yhirano55 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lock_diff's Issues

Faraday deprecation warning

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_ci

lock_diff_for_tachikomaが有るが、

  • ブランチ名固定であること
  • tachikomaに限定してしまっていること

が良くない感ある。
depandabotやdeppbotやjenkinsでのbundle updateなどにも対応できると良さそう

v0.1.6のリリースでやること

  • change logではなくそのファイル名出す
  • tagではなくgemバージョン出す
  • newrecliのdiffリンク出す
  • log level設定できるようにする
    • とりあえずデフォルトを infoにする
  • --versionオプションに対応する
  • バッジを充実させる

tagとrevisionを比較しようとするとstatus, urlがおかしくなる

問題

githubを参照していたものを、rubygems参照に戻す際など。

image

この例では、 コミットの履歴的には、 06665e6の方が新しく3.3.3の方が古い。
ので、URLは redis/redis-rb@v3.3.3...06665e6 となる方が正しいし、 statusも 📈 ではなく📉 になる方が正しい。

対応方針

  • revisionとtagをもとにgitの新旧を比較できればそれで解決する
  • 比較できなければ、このケースはあまりないと思うので、 urlもstatusも ❓ とかにしても良いかもしれない
    • urlはリンクにせず 06665e6->v3.3.3という感じ

gem以外のstrategyに対応する

yarnとか。
コアのコードベースを整理して、
好きなstrategyを刺せる(追加gemとして) or 自動的に選択するみたいな感じが良さそう。

changelogファイルからreleasesに移行したgemに対応する

releaseにはビルドしたものだけおいて、更新履歴はchangelogみたいなケースもあり得る気がするので、
両方出すぐらいがイイのかもしれない�
もしくは、最終更新の日時を比較して新しい方を出す

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.