Skip to content

Conversation

@iMichka
Copy link
Member

@iMichka iMichka commented Sep 29, 2017

  • Have you followed the guidelines for contributing?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing brew install <formula>)?

@iMichka
Copy link
Member Author

iMichka commented Sep 29, 2017

Formula/igv.rb Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle and Travis aren't relevant ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woups. Done.

Formula/igv.rb Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be shell_output("#{bin}/igv -b script", 1) if that's the exit code on BrewTestBot. But we need a real test here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

igv has a graphical interface, so not sure how we want to test that.

The -b flag does the follwing (http://software.broadinstitute.org/software/igv/startingIGV):

-b , --batch= Immediately run the supplied batch script after start up.

I think that test is not so bad. We could also try to download a file from a server with it and run a batch script on it. Not sure it is worth it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes a -b test would be good

@ilovezfs ilovezfs added the science Formula was originally in Homebrew/homebrew-science label Sep 30, 2017
@ilovezfs
Copy link
Contributor

ilovezfs commented Oct 7, 2017

2.4.2 is out

@iMichka
Copy link
Member Author

iMichka commented Oct 11, 2017

Bumping it in science first: https://github.com/Homebrew/homebrew-science/pull/6385

@iMichka
Copy link
Member Author

iMichka commented Oct 11, 2017

This is now igv 2.4.2, revision 1.

Should I do something for the test or are you happy with it?

@iMichka
Copy link
Member Author

iMichka commented Oct 23, 2017

@ilovezfs How do you feel about this? You had still some concerns about the test but I am not sure if I can find anything better, see my comment above.

Formula/igv.rb Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed

Formula/igv.rb Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

libexec

Formula/igv.rb Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no

@stale
Copy link

stale bot commented Nov 21, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale No recent activity label Nov 21, 2017
@ilovezfs
Copy link
Contributor

🤖, talk to the hand.

@stale stale bot removed the stale No recent activity label Nov 21, 2017
@iMichka
Copy link
Member Author

iMichka commented Nov 22, 2017

Note to myself: 2.4.4 has been pushed to science. I'll try to find some time today to update this PR.

@ilovezfs
Copy link
Contributor

ping

@iMichka
Copy link
Member Author

iMichka commented Nov 23, 2017

igv:
  * C: 14: col 26: Dir(["igv.sh"]) is unnecessary; just use "igv.sh"

I'll change that too.

@iMichka
Copy link
Member Author

iMichka commented Nov 23, 2017

Actually the line is: libexec.install Dir["igv.sh", "*.jar"]. Seems the audit does not like that?

@ilovezfs
Copy link
Contributor

CC @GauthamGoli hmm that doesn't look right to me.

@ilovezfs
Copy link
Contributor

@iMichka the audit will probably be happy with

 libexec.install "igv.sh", Dir["*.jar"]

@iMichka
Copy link
Member Author

iMichka commented Nov 24, 2017

Done.

@ilovezfs
Copy link
Contributor

Error Message

failed: brew test igv --verbose

Stacktrace

        Testing igv
/usr/bin/sandbox-exec -f /tmp/homebrew20171124-98985-ovhzc5.sb /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby -W0 -I /usr/local/Homebrew/Library/Homebrew -- /usr/local/Homebrew/Library/Homebrew/test.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/igv.rb --verbose
Error: igv: failed
No such file or directory - /usr/local/Cellar/igv/2.4.4_1/libexec/igv

@ilovezfs ilovezfs added the test failure CI fails while running the test-do block label Nov 25, 2017
@iMichka
Copy link
Member Author

iMichka commented Nov 28, 2017

All green :)

Formula/igv.rb Outdated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should note the minimum version

@ilovezfs ilovezfs removed the test failure CI fails while running the test-do block label Dec 1, 2017
@iMichka
Copy link
Member Author

iMichka commented Dec 1, 2017

Done. The minimum is java 8. No clue if this works with java 9.

@sjackman
Copy link
Contributor

How's this PR looking?

@iMichka
Copy link
Member Author

iMichka commented Dec 11, 2017

Good to go for me.

@ilovezfs ilovezfs changed the title igv: migrate from homebrew-science igv: import from homebrew/science Dec 12, 2017
@ilovezfs ilovezfs merged commit 565d754 into Homebrew:master Dec 12, 2017
@ilovezfs
Copy link
Contributor

Thanks @iMichka!

@iMichka
Copy link
Member Author

iMichka commented Dec 12, 2017

Thanks!

@iMichka iMichka deleted the igv branch December 12, 2017 20:55
@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

science Formula was originally in Homebrew/homebrew-science

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants