Skip to content

Use the API to install repositories instead of loading the toolshed in an iframe. #1392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 76 commits into from
Mar 30, 2016

Conversation

davebx
Copy link
Contributor

@davebx davebx commented Dec 23, 2015

There remains work to be done on this, I'm sure the javascript in preview_repository.mako could be dramatically improved, but the current code should be functional.

davebx added 25 commits August 7, 2015 10:39
This will return a dict of the repository, with the repository_dependencies
element containing a list of dicts with the dependency chain descending from
that repository.
Optionally show list of repositories in category.
This is only for development purposes, until the UI designer fixes it.
- Repository dependencies reflect the selected changeset
- So do tool dependencies
- Tool panel select field shows/hides new tool panel section input field
martenson added a commit that referenced this pull request Mar 3, 2016
Cherry-picked changes from pull request #1392.
@davebx
Copy link
Contributor Author

davebx commented Mar 9, 2016

@martenson I believe I have corrected many of the points on your checklist.

Add the virtualenv to run_tool_shed.sh
@bgruening
Copy link
Member

@galaxybot test this

@mvdbeek
Copy link
Member

mvdbeek commented Mar 11, 2016

@davebx this is amazing, I'm testing it right now, and the UI is very nice!
One thing that I would do is to throw a nicer error message if targeting an older toolshed!

If more people want to test this, feel free point your galaxy instances at https://lbcd41.snv.jussieu.fr/toolshed ... though there are just a few repos to test. But I guess you can always import capsules?!

@mvdbeek
Copy link
Member

mvdbeek commented Mar 11, 2016

Okay, this is seriously awesome. The bedtools suite installed fine, and in three different toolpanel (one default, and 2 in 2 seperate) sections. But it does log errors when there are actually no errors:

....
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,130 Loaded tool id: lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/bedtools_bed12tobed6/2.24.0, version: 2.24.0 into tool panel....
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,130 Error while loading tool lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/0cc0bc30f78c/bedtools/genomeCoverageBed.xml : 
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,167 Loaded tool id: lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/bedtools_genomecoveragebed/2.24.0, version: 2.24.0 into tool panel....
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,167 Error while loading tool lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/0cc0bc30f78c/bedtools/spacingBed.xml : 
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,197 Loaded tool id: lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/bedtools_spacingbed/2.24.0, version: 2.24.0 into tool panel....
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,197 Error while loading tool lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/0cc0bc30f78c/bedtools/expandBed.xml : 
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,229 Loaded tool id: lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/bedtools_expandbed/2.24.0, version: 2.24.0 into tool panel....
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,229 Error while loading tool lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/0cc0bc30f78c/bedtools/bamToFastq.xml : 
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,259 Loaded tool id: lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/bedtools_bamtofastq/2.24.0, version: 2.24.0 into tool panel....
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,260 Error while loading tool lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/0cc0bc30f78c/bedtools/annotateBed.xml : 
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,292 Loaded tool id: lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/bedtools_annotatebed/2.24.1, version: 2.24.1 into tool panel....
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,293 Error while loading tool lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/0cc0bc30f78c/bedtools/intersectBed.xml : 
galaxy.tools.toolbox.base DEBUG 2016-03-11 14:57:51,338 Loaded tool id: lbcd41.snv.jussieu.fr/toolshed/repos/iuc/bedtools/bedtools_intersectbed/2.24.0, version: 2.24.0 into tool panel....

@mvdbeek
Copy link
Member

mvdbeek commented Mar 11, 2016

Okay, I see the error has nothing to do with your PR, but us running the toolshed in a subdirectory.

I can't judge the quality of the javascript / mako part, but it does seem to work well. 👍

@bgruening
Copy link
Member

@davebx, @martenson can we merge this before feature-freeze. It's working for me and @mvdbeek and it does not break the old form so I consider this a save move.

@davebx
Copy link
Contributor Author

davebx commented Mar 30, 2016

@bgruening I'll update it to fix the merge conflict, in case your motion carries.

@bgruening bgruening merged commit 3ad68fd into galaxyproject:dev Mar 30, 2016
@martenson
Copy link
Member

I am in favor of merging as long as it is clearly labeled (Beta) which it is and does not interfere with the current approach.
👍

@bgruening
Copy link
Member

@davebx are you working on the two missing bullet-points above? Should we migrate them to an issue and track the progress there?

@davebx
Copy link
Contributor Author

davebx commented Mar 30, 2016

@bgruening Yes, an issue for cleaning up the search feature would be a good idea.

@davebx davebx deleted the toolshed_decouple branch March 30, 2016 14:08
@martenson
Copy link
Member

@davebx @bgruening I will implement the two search points as a part of porting toolshed.tools search here.

@mvdbeek
Copy link
Member

mvdbeek commented Mar 30, 2016

Nice work @davebx !

@bgruening
Copy link
Member

@martenson thanks!
Great work @davebx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants