Homebrew Updater

download Homebrew Updater

of 27

  • date post

    21-Mar-2017
  • Category

    Technology

  • view

    7
  • download

    0

Embed Size (px)

Transcript of Homebrew Updater

  • Homebrew UpdaterAutomatically check release of homebrew formulas.

  • Outline

  • HomebrewThe missing package manager for macOS

  • -Laruence 2015 PHPConf

  • https://github.com/Homebrew/homebrew-php/pulls?q=is%3Apr%20author%3ABePsvPT

  • GitHub Tag

  • GitHub Tag

    https://github.com/philcook/brew-php-switcher

  • GitHub Tag

  • GitHub Tag

    Tags Api

    https://developer.github.com/v3/repos/#list-tags

    Commit Api

    https://developer.github.com/v3/repos/commits/#get-a-single-commit

  • GitHub Tag

    Fetch all tags

    Compare with DB

    Fetch non-existing commits

    Store commits to DB

    Sort all commits

    Get newest tag

  • tar.gz

    phar (PHP Archive)

    Github

    Official Website

  • Abstract

    latest archive

  • Checker

    GitHub

    Bitbucket

    latestarchive

  • Check Releases

    Git Commit and Push ( Stable )

    Github Pull Request ( Stable )

    Notification

  • https://github.com/Homebrew/homebrew-php/pull/3897

  • Formulas

  • Q & A

  • Image Source

    https://cldup.com/1gFdoLk6Rg.png

    https://pbs.twimg.com/media/Csy9dySWgAAAo5B.png

    http://imgsrc.baidu.com/baike/pic/item/f31fbe096b63f624dc918b358e44ebf81a4ca33c.jpg

    https://i.ytimg.com/vi/3UVFDFYRrPE/maxresdefault.jpg

  • Thanks