From 077020a6459c1523c42fd8a4a706d86907559d58 Mon Sep 17 00:00:00 2001 From: "Bofu Chen (bafu)" Date: Tue, 24 Oct 2017 13:06:05 +0800 Subject: [PATCH] Keep debianization in master branch. Signed-off-by: Bofu Chen (bafu) --- debian/changelog | 11 ---- debian/compat | 1 - debian/control | 18 ------- debian/copyright | 36 ------------- debian/docs | 1 - debian/install | 1 - debian/man/.dlmodel_source.1.swp | Bin 12288 -> 0 bytes debian/man/dlmodel2deb.1 | 20 -------- debian/man/dlmodel_source.1 | 84 ------------------------------- debian/manpages | 2 - debian/rules | 8 --- debian/source/format | 1 - 12 files changed, 183 deletions(-) delete mode 100644 debian/changelog delete mode 100644 debian/compat delete mode 100644 debian/control delete mode 100644 debian/copyright delete mode 100644 debian/docs delete mode 100644 debian/install delete mode 100644 debian/man/.dlmodel_source.1.swp delete mode 100644 debian/man/dlmodel2deb.1 delete mode 100644 debian/man/dlmodel_source.1 delete mode 100644 debian/manpages delete mode 100755 debian/rules delete mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog deleted file mode 100644 index a145149..0000000 --- a/debian/changelog +++ /dev/null @@ -1,11 +0,0 @@ -dlmodelbox (0.1.1-1) unstable; urgency=low - - * Change models' storage path from /etc to /var. - - -- Bofu Chen (bafu) Mon, 25 Sep 2017 15:08:24 +0800 - -dlmodelbox (0.1.0) unstable; urgency=low - - * Initial Release. - - -- Bofu Chen (bafu) Tue, 19 Sep 2017 17:38:13 +0800 diff --git a/debian/compat b/debian/compat deleted file mode 100644 index ec63514..0000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -9 diff --git a/debian/control b/debian/control deleted file mode 100644 index 6ab81ab..0000000 --- a/debian/control +++ /dev/null @@ -1,18 +0,0 @@ -Source: dlmodelbox -Section: science -Priority: optional -Maintainer: Bofu Chen (bafu) -Build-Depends: debhelper (>= 9.0.0), python3 (>= 3.4) -Standards-Version: 3.9.8 -Homepage: http://github.com/DT42/DLModelBox - -Package: dlmodelbox -Architecture: all -Depends: ${python3:Depends}, ${misc:Depends} -Description: Swiss Army Knife of Deep Learning Models - DLModelBox provides utilities to help create and manage DL model - packages. - . - There is not an unified specification for the format of deep learning - model package format currently. DLModelBox defines a specification, and - helps user to create model packages and manage models easier. diff --git a/debian/copyright b/debian/copyright deleted file mode 100644 index 3808c42..0000000 --- a/debian/copyright +++ /dev/null @@ -1,36 +0,0 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: dlmodelbox -Source: http://dt42.io - -Files: * -Copyright: 2017 DT42 CO., LTD. -License: BSD-3-clause - -Files: debian/* -Copyright: 2017 DT42 CO., LTD. -License: BSD-3-clause - -License: BSD-3-clause - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - 3. Neither the name of the University nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - . - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/debian/docs b/debian/docs deleted file mode 100644 index b43bf86..0000000 --- a/debian/docs +++ /dev/null @@ -1 +0,0 @@ -README.md diff --git a/debian/install b/debian/install deleted file mode 100644 index e82dac3..0000000 --- a/debian/install +++ /dev/null @@ -1 +0,0 @@ -bin/* /usr/bin diff --git a/debian/man/.dlmodel_source.1.swp b/debian/man/.dlmodel_source.1.swp deleted file mode 100644 index 7bda74e947353a5d6a2c447f05e59891c57e2044..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2&2Jk;7{(_REff-p0C4~bO*f(>C|)ONORFe~4$;?M)?5hSD@;J^uqUN{s9j@&qdK;j$@6+-+0JTtrg3?#Wmnw5Up%*;C<@AJMh zt0+@nd?#0+H|%Q!&vS&_|LJh^!S0LX&Kra@dA-+G^(Q=a*6Jm?b#|@2eErR1Y(LTi zCL4Z}i)1EWz}sE-_mZe~n3wE=rrTAuTf*;!4Q?+TGn#2K3K#`Wtw2w<5;tea)#ar{ z)o0eaOka3@=Xm1v~`bfX~4;XoCuP4O|A7z}M4+ zd<8xQTi{)g0W)A4Jbs3dKfw>+5%>-~0QbQjsDTCWGPnrNgD1crPZRPRxCcG~0dPSF z*kBHv2Zt94`4M~x4gdoM@CrD5ijZHy&){2d4{U-f;3Y5(E`W1j3j702{{mXuGngA@ z$wmRAfKk9Ga5fdN*DEx>P`8Xbc64rOp4jCwv8%UfHJhcWe6@tHU&|pB&t3g<{5Msy zZF|t7%GRnMNXPe>n`k*MPXtVM)~prOiw?sDK+)^2SqtM`m=Iiwq|55u6}H@yC)n#t zfOb&-e>1Dm;f-y~B@)rJF#T{a>D}@9k8xp}??;OtIJLvv9zWv2(CJh3uo}MCa@u1{ znx*|2Xw)hOtF^Q)%GaYh4IQzxD9UP}&Pb!ReFfx>R;JY9w=9 zK^;#Qg$#QQ*$a7day|AS)eG5LDwC?E=&e$vkgCzrEm|mLvUyrgrQc4yl^t$@_Y;X| z7^I$#&Vi~JER*6uW zl>jQ9kt#?Um&XI8_1@7n%216{CPkH8<6Ts;(CD5pofCX)C_Mwt8h>}*ra3)RsFTz4 zC1u`zJnaH?Im3b+N$W22w#QeXH-n!2L@#s%N1e#4lWxL?6Gw@5)QA)Xzlp7)Duzm^ z7{z(e7X%>*SYw;D`2yv3+oo4zN6Jxc-#(I34WRdGEa#El4o(q$!cUAc)Z-5Cg*{QUg)WL=Q8>E$&9Bv4x{OO&ZcG936A{35vj&gc_#wia9U0S8R>geMCTlq zf|OBtjlqyG@nM7ItoJ{p@y+zXZpvh<=}N9#%aw{aM~<4QPwi&0RIcW#xKKZKyPdw5 zIE8DGqyx$H$Gey+s8g$Un_9R=ulDm+wX{)5XDyuRpo9~-4qulSmu{e_uG+&hT(w7G PL!cq;cX8XkDJ=3YbTG-} diff --git a/debian/man/dlmodel2deb.1 b/debian/man/dlmodel2deb.1 deleted file mode 100644 index 5ea359d..0000000 --- a/debian/man/dlmodel2deb.1 +++ /dev/null @@ -1,20 +0,0 @@ -.TH "DLMODEL2DEB" "1" "October 2017" "DLMobelBox" "User Commands" - -.SH NAME -dlmodel2deb \- create a deep learning model package from a structured model directory - -.SH SYNOPSIS -.B dlmodel2deb - -.SH DESCRIPTION -.PP -.B dlmodel2deb -creates a deep learning (DL) model package from a structured model directory. -.PP -To create a structured model directory, please refer to the -.B dlmodel_source -command. - -.SH SEE ALSO -.PP -.BR dlmodel_source (1) diff --git a/debian/man/dlmodel_source.1 b/debian/man/dlmodel_source.1 deleted file mode 100644 index 7e209ba..0000000 --- a/debian/man/dlmodel_source.1 +++ /dev/null @@ -1,84 +0,0 @@ -.TH "DLMODEL_SOURCE" "1" "October 2017" "DLMobelBox" "User Commands" - -.SH NAME -dlmodel_source \- create a structured deep learning model directory - -.SH SYNOPSIS -.B dlmodel_source - -.SH DESCRIPTION -.PP -.B dlmodel_source -helps to create a structured deep learning (DL) model directory via CLI. Please refer to the specification section below for more details. -.PP -The structured directory will be created in /tmp. -.PP -Questions for collecting model information: -.TP -.RB "Package name" -The name of the DL package, e.g. inception. -.TP -.RB "Package version" -The version of the DL package, e.g. 3. -.TP -.RB "Modle filepath" -Absolute or relative path of the model file. -.TP -.RB "Label filepath" -Absolute or relative path of the label file. -.TP -.RB "Config name" -Name of the config data source (see config filepath below). If there is not any config, leave it blank. -.TP -.RB "Config filepath" -Absolute or relative path of the config file. -.TP -.RB "Inference engine" -The inference engine supporting the DL model's format. - -.SH MODEL DIRECTORY STRUCTURE -.PP -Example of a structured DL model directory: -.sp -.nf - - |-- assets - | |-- labels.txt - | `-- - |-- LICENSE # optional currently - |-- meta.json - `-- model.pb -.fi - -.SH METADATA FORMAT OF MODEL PACKAGE -.PP -Metadata, meta.json, describes all the details in the structured model directory. -.PP -Example of meta.json -.sp -.nf - # Note: model directory name is fight-detection-1.0.0 - { - "name": "fight-detection", - "version": "1.0.0", - "inference-engine": "tensorflow", - "model": "model.pb", - "label": "assets/labels.txt", - # optional configs - "config": { - "": "", - "": "", - ... - }, - "checksums-sha256": { - "model.pb": "", - "assets/labels.txt": "", - "": "", - ... - } - } -.fi - -.SH SEE ALSO -.PP -.BR dlmodel2deb (1) diff --git a/debian/manpages b/debian/manpages deleted file mode 100644 index c391eba..0000000 --- a/debian/manpages +++ /dev/null @@ -1,2 +0,0 @@ -debian/man/dlmodel2deb.1 -debian/man/dlmodel_source.1 diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 37338c3..0000000 --- a/debian/rules +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -%: - dh $@ --with python3 diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt)