Commit 62a30c1f authored by Roque's avatar Roque

ebulk deb package for download

See merge request nexedi/wendelin!71
parents 4493cda3 a36708c6
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Change_local_roles_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>cef6fc446af1b8232197bf7b07996648</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/vnd.debian.binary-package</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>latest_ebulk_deb_package</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>filename</string> </key>
<value> <string>ebulk_1.1.7-1_all.deb</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>latest_ebulk_deb_package</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>File</string> </value>
</item>
<item>
<key> <string>short_title</string> </key>
<value> <string>ebulk_1.1.7.deb</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Latest ebulk deb package</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>document_publication_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>edit_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>publish_alive</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1603981534.6</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>published_alive</string> </value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.Workflow"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_log</string> </key>
<value>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>987.40513.37813.49356</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1603983395.67</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -47,7 +47,7 @@
<h2>Debian considerations</h2>
<p>For any OS version/series inconvenient during apt installation, it is recommended to install ebulk from the <code>.deb</code> package directly.</p>
<p>Please download the latest <code>.deb</code> ebulk package and install it by running:</p>
<p>Please download the <a id="deb_link">latest <code>.deb</code> ebulk package</a> and install it by running:</p>
<div class="code"><p>dpkg -i ebulk_package.deb</p></div>
<h2>Mac OS X</h2>
......
......@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>1603829821.44</float>
<float>1603982507.21</float>
<string>UTC</string>
</tuple>
</state>
......
/*global window, rJS, UriTemplate */
/*global window, rJS, console, document */
/*jslint indent: 2, maxerr: 3, nomen: true */
(function (window, rJS, UriTemplate, document) {
(function (window, rJS, console, document) {
"use strict";
function documentation(context, evt) {
var link = document.createElement('a');
link.href = window.location.origin + "/erp5/web_site_module/fif_data_runner/#/?page=ebulk_doc";
link.click();
}
function download_linux(context, evt) {
var link = document.createElement('a');
link.download = "ebulk.tar.gz";
link.href = window.location.origin + "/erp5/data_stream_module/embulk_download_script/getData";
link.click();
}
function download_rpm(context, evt) {
var link = document.createElement('a');
link.download = "ebulk.rpm";
link.href = window.location.origin + "/erp5/data_stream_module/embulk_download_rpm/getData";
link.click();
}
function download_win(context, evt) {
var link = document.createElement('a');
link.download = "ebulk.zip";
link.href = window.location.origin + "/erp5/data_stream_module/embulk_download_script_win/getData";
link.click();
}
rJS(window)
/////////////////////////////////////////////////////////////////
// handle acquisition
/////////////////////////////////////////////////////////////////
.declareAcquiredMethod("redirect", "redirect")
.declareAcquiredMethod("getUrlFor", "getUrlFor")
.declareAcquiredMethod("jio_getAttachment", "jio_getAttachment")
.declareAcquiredMethod("translateHtml", "translateHtml")
.declareAcquiredMethod("updateHeader", "updateHeader")
/////////////////////////////////////////////////////////////////
// declared methods
/////////////////////////////////////////////////////////////////
.declareJob('documentation', function (evt) {
return documentation(this, evt);
})
.declareJob('download_linux', function (evt) {
return download_linux(this, evt);
})
.declareJob('download_rpm', function (evt) {
return download_rpm(this, evt);
})
.declareJob('download_win', function (evt) {
return download_win(this, evt);
})
.declareMethod("render", function () {
var gadget = this;
return gadget.updateHeader({page_title: 'Download'});
})
.onEvent('submit', function (evt) {
if (evt.target.name === 'download-linux') {
return this.download_linux(evt);
} else if (evt.target.name === 'download-win') {
return this.download_win(evt);
} else if (evt.target.name === 'download-rpm') {
return this.download_rpm(evt);
} else if (evt.target.name === 'documentation') {
return this.documentation(evt);
} else {
throw new Error('Unknown form');
}
.declareAcquiredMethod("jio_get", "jio_get")
.declareService(function () {
var gadget = this,
download_deb_element = document.querySelector("#deb_link"),
jio_key = 'document_module/latest_ebulk_deb_package';
return gadget.jio_get(jio_key)
.push(function (jio_document) {
download_deb_element.download = jio_document.short_title;
download_deb_element.href = window.location.origin + "/" + jio_key + "/getData";
}, function (error) {
console.log("Latest .deb ebulk package document not available:", error);
});
});
}(window, rJS, UriTemplate, document));
\ No newline at end of file
}(window, rJS, console, document));
\ No newline at end of file
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>971.50905.21982.62839</string> </value>
<value> <string>987.40560.50079.18688</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1542813689.27</float>
<float>1603984371.33</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -3,4 +3,5 @@ web_page_module/*fif_*
web_site_module/default_wendelin_data_lake
web_site_module/default_wendelin_data_lake/**
web_page_module/fif_*
web_page_module/gadget_fif_*
\ No newline at end of file
web_page_module/gadget_fif_*
document_module/latest_ebulk_deb_package
\ No newline at end of file
image_module/fif_*
\ No newline at end of file
image_module/fif_*
document_module/latest_ebulk_deb_package
\ No newline at end of file
......@@ -3,4 +3,5 @@ web_page_module/*fif_*
web_site_module/default_wendelin_data_lake
web_site_module/default_wendelin_data_lake/**
web_page_module/fif_*
web_page_module/gadget_fif_*
\ No newline at end of file
web_page_module/gadget_fif_*
document_module/latest_ebulk_deb_package
\ No newline at end of file
document_module/latest_ebulk_deb_package
image_module/fif_*
portal_tests/wendelin_data_lake_ui_zuite
portal_tests/wendelin_data_lake_ui_zuite/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment