[
https://issues.apache.org/jira/browse/YETUS-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kengo Seki updated YETUS-244:
-----------------------------
Attachment: yetus.rb
I updated the formula. I didn't include the following dependencies into it:
* commands and languages that OS or Xcode comes with them (POSIX commands,
bash, curl, git, C/C++ compiler, python, ruby, etc.)
* linters for each languages, except for shellcheck. They don't seem to be
supported by homebrew and need to be installed by the language specific
packaging systems.
Example:
{code}
[sekikn@mobile yetus]$ brew info yetus
yetus: stable 0.1.0, HEAD
Enable contribution and release processes for software projects
https://yetus.apache.org/
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/yetus.rb
==> Dependencies
Optional: scala ✔, ant ✔, autoconf ✔, automake ✔, cmake ✔, libtool ✔, gradle ✔,
maven ✔, findbugs ✔, shellcheck ✔
==> Options
--with-all
Build with all dependencies. Note that some dependencies such as
Perl::Critic, Pylint, RuboCop and ruby-lint still need to be installed manually.
--with-ant
Build with ant support
--with-autoconf
Build with autoconf support
--with-automake
Build with automake support
--with-cmake
Build with cmake support
--with-findbugs
Build with findbugs support
--with-gradle
Build with gradle support
--with-java
Build with java support
--with-libtool
Build with libtool support
--with-maven
Build with maven support
--with-scala
Build with scala support
--with-shellcheck
Build with shellcheck support
--HEAD
Install HEAD version
[sekikn@mobile yetus]$ brew install yetus --with-all
==> Installing dependencies for yetus: scala, ant, autoconf, automake, cmake,
libtool, gradle, maven, findbugs, shellchec
==> Installing yetus dependency: scala
==> Downloading
https://homebrew.bintray.com/bottles/scala-2.11.7.el_capitan.bottle.tar.gz
Already downloaded:
/Library/Caches/Homebrew/scala-2.11.7.el_capitan.bottle.tar.gz
==> Pouring scala-2.11.7.el_capitan.bottle.tar.gz
==> Caveats
To use with IntelliJ, set the Scala home to:
/usr/local/opt/scala/idea
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
🍺 /usr/local/Cellar/scala/2.11.7: 46 files, 31M
==> Installing yetus dependency: ant
==> Downloading
https://homebrew.bintray.com/bottles/ant-1.9.6.el_capitan.bottle.1.tar.gz
Already downloaded:
/Library/Caches/Homebrew/ant-1.9.6.el_capitan.bottle.1.tar.gz
==> Pouring ant-1.9.6.el_capitan.bottle.1.tar.gz
🍺 /usr/local/Cellar/ant/1.9.6: 1606 files, 38M
==> Installing yetus dependency: autoconf
==> Downloading
https://homebrew.bintray.com/bottles/autoconf-2.69.el_capitan.bottle.4.tar.gz
Already downloaded:
/Library/Caches/Homebrew/autoconf-2.69.el_capitan.bottle.4.tar.gz
==> Pouring autoconf-2.69.el_capitan.bottle.4.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/autoconf
==> Summary
🍺 /usr/local/Cellar/autoconf/2.69: 70 files, 3.1M
==> Installing yetus dependency: automake
==> Downloading
https://homebrew.bintray.com/bottles/automake-1.15.el_capitan.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring automake-1.15.el_capitan.bottle.2.tar.gz
🍺 /usr/local/Cellar/automake/1.15: 130 files, 3.2M
==> Installing yetus dependency: cmake
==> Downloading
https://homebrew.bintray.com/bottles/cmake-3.4.1.el_capitan.bottle.tar.gz
Already downloaded:
/Library/Caches/Homebrew/cmake-3.4.1.el_capitan.bottle.tar.gz
==> Pouring cmake-3.4.1.el_capitan.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/cmake
==> Summary
🍺 /usr/local/Cellar/cmake/3.4.1: 1980 files, 34M
==> Installing yetus dependency: libtool
==> Downloading
https://homebrew.bintray.com/bottles/libtool-2.4.6.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libtool-2.4.6.el_capitan.bottle.tar.gz
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
🍺 /usr/local/Cellar/libtool/2.4.6: 69 files, 3.8M
==> Installing yetus dependency: gradle
==> Downloading https://downloads.gradle.org/distributions/gradle-2.10-bin.zip
Already downloaded: /Library/Caches/Homebrew/gradle-2.10.zip
🍺 /usr/local/Cellar/gradle/2.10: 164 files, 49M, built in 2 seconds
==> Installing yetus dependency: maven
==> Downloading
https://www.apache.org/dyn/closer.cgi?path=maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
Already downloaded: /Library/Caches/Homebrew/maven-3.3.9.tar.gz
🍺 /usr/local/Cellar/maven/3.3.9: 94 files, 9.8M, built in 0 seconds
==> Installing yetus dependency: findbugs
==> Downloading
https://downloads.sourceforge.net/project/findbugs/findbugs/3.0.1/findbugs-3.0.1.tar.gz
==> Downloading from
http://nchc.dl.sourceforge.net/project/findbugs/findbugs/3.0.1/findbugs-3.0.1.tar.gz
######################################################################## 100.0%
==> Caveats
Some tools might refer findbugs by env variable.
After installation, set $FINDBUGS_HOME in your profile:
export FINDBUGS_HOME=/usr/local/Cellar/findbugs/3.0.1/libexec
==> Summary
🍺 /usr/local/Cellar/findbugs/3.0.1: 157 files, 12M, built in 14 seconds
==> Installing yetus dependency: shellcheck
==> Downloading
https://homebrew.bintray.com/bottles/shellcheck-0.4.1.el_capitan.bottle.tar.gz
Already downloaded:
/Library/Caches/Homebrew/shellcheck-0.4.1.el_capitan.bottle.tar.gz
==> Pouring shellcheck-0.4.1.el_capitan.bottle.tar.gz
🍺 /usr/local/Cellar/shellcheck/0.4.1: 6 files, 17M
==> Installing yetus
==> Downloading
https://www.apache.org/dyn/closer.lua?path=/yetus/0.1.0/yetus-0.1.0-bin.tar.gz
Already downloaded: /Library/Caches/Homebrew/yetus-0.1.0.tar.gz
🍺 /usr/local/Cellar/yetus/0.1.0: 128 files, 1.4M, built in 0 seconds
{code}
Any comments are welcome since it's also the first time for me to writing a
formula :)
[~bhavanki], would you update the url and sha256 in the formula waiting until
yetus 0.2.0 is released?
> make yetus available via homebrew
> ---------------------------------
>
> Key: YETUS-244
> URL: https://issues.apache.org/jira/browse/YETUS-244
> Project: Yetus
> Issue Type: Task
> Components: website and documentation
> Reporter: Sean Busbey
> Attachments: yetus.rb, yetus.rb
>
>
> Using released versions of yetus on other projects, especially
> smart-apply-patch, would be much easier if one could {{brew install yetus}}.
> This ticket is to track working with the external homebrew folks to get a
> recipe made and then update our docs to explain how to use it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)