-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Desupport perl, ruby bindings-- move them to /contrib
Summary: Moved the Perl and Ruby bindings to an attic-type area called "contrib" to mark them as not-officially supported parts of the SDK distribution. The idea is that if someone (either a DNAnexan or not) wants to revive it at some point, they would have a useful starting point to consult, but otherwise this code isn't presumed to have any guarantees and people shouldn't be thinking about "will I break this" if they want to make other changes. * Stop building the corresponding Debian packages too Test Plan: * Ran make targets by hand * Verified that no applets rely on the deb packages in their execDepends Reviewers: gduggal Reviewed By: gduggal Differential Revision: https://dnanexus.phacility.com/D1224
- Loading branch information
Phil Sung
committed
Dec 22, 2016
1 parent
a02b456
commit ee24f96
Showing
33 changed files
with
110 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
api_wrappers: | ||
$(MAKE) -C ./perl lib/DNAnexus/API.pm | ||
$(MAKE) -C ./ruby lib/dxruby/api.rb | ||
|
||
.PHONY: api_wrappers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Contributed components | ||
====================== | ||
|
||
The components in this directory are **unsupported**, even though they | ||
are in the official source distribution. | ||
|
||
The intent of this space is to provide a centralized place where | ||
somewhat experimental or unsupported ideas can be maintained. You can | ||
use them as a starting point for your own work. If you can make a case | ||
for something in here to be fully supported, it can graduate and be | ||
moved out of this directory and into `/src`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/DNAnexus-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SHELL=/bin/bash -e | ||
|
||
all: lib/DNAnexus/API.pm | ||
(source ../../environment; dzil build; cd DNAnexus-0.0.1; perl Makefile.PL; make install DESTDIR="$(DNANEXUS_HOME)/lib/perl5" DESTINSTALLSITELIB="$(DNANEXUS_HOME)/lib/perl5") | ||
|
||
lib/DNAnexus/API.pm: ../../src/api_wrappers/wrapper_table.json generatePerlAPIWrappers.py | ||
cat ../../src/api_wrappers/wrapper_table.json | ./generatePerlAPIWrappers.py > lib/DNAnexus/API.pm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
DNAnexus Perl API | ||
================= | ||
|
||
Building | ||
-------- | ||
|
||
make all | ||
|
||
Using the package | ||
----------------- | ||
|
||
Before the Perl bindings can be initialized, you must set environment | ||
variables that supply DNAnexus configuration (including a token that | ||
authenticates you). You can do this with: | ||
|
||
dx login | ||
source <(dx env --bash) | ||
|
||
Tests / Sample Code | ||
------------------- | ||
|
||
perl t/10-basics.t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ author = Andrey Kislyuk <[email protected]> | |
license = Perl_5 | ||
copyright_holder = DNAnexus | ||
copyright_year = 2012 | ||
version = 0.1 | ||
version = 0.0.1 | ||
|
||
[GatherDir] | ||
[MetaYAML] | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/lib/dxruby/version.rb | ||
/*.gem | ||
/.yardoc/ |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
SHELL=/bin/bash -e | ||
|
||
default: ruby | ||
|
||
ruby: lib/dxruby/api.rb lib/dxruby/version.rb | ||
gem build dxruby.gemspec | ||
export GEM_HOME="$(DNANEXUS_HOME)/lib/rubygems"; gem install dxruby*.gem | ||
|
||
contrib/ruby/lib/dxruby/version.rb: | ||
(if [ ! -e lib/dxruby/version.rb ]; then \ | ||
echo -e "module DX\n VERSION = \"0.0.0\"\nend\n" > lib/dxruby/version.rb; \ | ||
fi) | ||
(if [ -d "$(DNANEXUS_HOME)/.git" ]; then \ | ||
perl -e '$$ENV{GIT_TOOLKIT_VERSION} =~ /^v(\d+.\d+.\d+)/ and print "module DX\n VERSION = \"$$1\"\nend\n"' > lib/dxruby/version.rb; \ | ||
fi) | ||
|
||
lib/dxruby/api.rb: ../../src/api_wrappers/wrapper_table.json generateRubyAPIWrappers.py | ||
cat ../../src/api_wrappers/wrapper_table.json | ./generateRubyAPIWrappers.py > lib/dxruby/api.rb | ||
|
||
doc: | ||
rm -rf ../../doc/ruby | ||
yard --output-dir ../../doc/ruby | ||
|
||
.PHONY: default ruby doc |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ Maintainer: Phil Sung <[email protected]> | |
Section: science | ||
Priority: optional | ||
Standards-Version: 3.9.3 | ||
Build-Depends: debhelper (>= 8), python-virtualenv, libboost1.55-all-dev | libboost1.48-all-dev, r-base-core, libdist-zilla-perl, openjdk-7-jdk, maven2 | ||
Build-Depends: debhelper (>= 8), python-virtualenv, libboost1.55-all-dev | libboost1.48-all-dev, r-base-core, openjdk-7-jdk, maven2 | ||
|
||
Package: dx-toolkit | ||
Architecture: any | ||
|
@@ -18,15 +18,3 @@ Architecture: any | |
Depends: ${misc:Depends}, openjdk-7-jre-headless | openjdk-8-jre-headless, dx-toolkit | ||
Description: Java bindings to DNAnexus Platform | ||
Bindings for interacting with the DNAnexus platform from Java. | ||
|
||
Package: dx-perl-bindings | ||
Architecture: any | ||
Depends: ${misc:Depends}, ${perl:Depends}, perl, dx-toolkit | ||
Description: Perl bindings to DNAnexus Platform | ||
Bindings for interacting with the DNAnexus platform from Perl. | ||
|
||
Package: dx-ruby-bindings | ||
Architecture: any | ||
Depends: ${misc:Depends}, ruby1.9.1, dx-toolkit, ruby-json | ||
Description: Ruby bindings to DNAnexus Platform | ||
Bindings for interacting with the DNAnexus platform from Ruby. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.