Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ebulk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ebulk
Commits
5775db93
Commit
5775db93
authored
Oct 16, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always yes mode argument
parent
452e2f8d
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
15 deletions
+26
-15
ebulk
ebulk
+4
-0
ebulk-data/config/download-config_template.yml
ebulk-data/config/download-config_template.yml
+1
-0
ebulk-data/config/ingestion-config_template.yml
ebulk-data/config/ingestion-config_template.yml
+3
-2
ebulk-data/config/ingestion-custom-config_template.yml
ebulk-data/config/ingestion-custom-config_template.yml
+3
-2
ebulk-data/config/ingestion-ftp-config_template.yml
ebulk-data/config/ingestion-ftp-config_template.yml
+3
-2
ebulk-data/config/ingestion-http-config_template.yml
ebulk-data/config/ingestion-http-config_template.yml
+3
-2
ebulk-data/config/ingestion-s3-config_template.yml
ebulk-data/config/ingestion-s3-config_template.yml
+8
-7
ebulk-data/help.md
ebulk-data/help.md
+1
-0
No files found.
ebulk
View file @
5775db93
...
...
@@ -44,6 +44,7 @@ UPDATE="U"
RESUME
=
"R"
DOWNLOAD
=
"D"
ASK
=
"A"
ALWAYS_YES
=
"false"
# load data lake url from file if exists
if
[
-f
"
$DATA_LAKE_URL_FILE
"
]
;
then
...
...
@@ -280,6 +281,7 @@ function updateConfigFile {
ING_URL
=
\"
$ING_URL
\"
STORAGE
=
\"
$STORAGE
\"
STATUS
=
\"
$STATUS
\"
ALWAYS_YES
=
\"
$ALWAYS_YES
\"
S3_BUCKET
=
\"
$S3_BUCKET
\"
S3_PREFIX
=
\"
$S3_PREFIX
\"
...
...
@@ -603,6 +605,8 @@ while [ "$1" != "" ]; do
-d
|
--directory
)
shift
DATASET_DIR
=
$1
;;
-y
|
--yes
)
ALWAYS_YES
=
"true"
;;
-s
|
--storage
)
shift
STORAGE
=
$1
;;
...
...
ebulk-data/config/download-config_template.yml
View file @
5775db93
...
...
@@ -8,6 +8,7 @@ in:
chunk_size
:
$CHUNK
output_path
:
$DATASET_DIR
tool_dir
:
$TOOL_DIR
always_yes
:
$ALWAYS_YES
out
:
type
:
fif
...
...
ebulk-data/config/ingestion-config_template.yml
View file @
5775db93
...
...
@@ -10,6 +10,7 @@ in:
erp5_url
:
$DOWN_URL
tool_dir
:
$TOOL_DIR
status
:
$STATUS
always_yes
:
$ALWAYS_YES
out
:
type
:
wendelin
...
...
ebulk-data/config/ingestion-custom-config_template.yml
View file @
5775db93
...
...
@@ -4,6 +4,7 @@
# PLEASE FILL THE 'IN' SECTION ACCORDING TO YOUR PLUGIN
in
:
always_yes
:
$ALWAYS_YES
# FOR EXAMPLE CSV FILES
# type: file
...
...
ebulk-data/config/ingestion-ftp-config_template.yml
View file @
5775db93
...
...
@@ -8,6 +8,7 @@ in:
user
:
$FTP_USER
password
:
$FTP_PASSWORD
path_prefix
:
$FTP_PATH
always_yes
:
$ALWAYS_YES
#ssl_verify: false
#port: 21
...
...
ebulk-data/config/ingestion-http-config_template.yml
View file @
5775db93
...
...
@@ -6,6 +6,7 @@ in:
type
:
http
url
:
$HTTP_URL
method
:
$HTTP_METHOD
always_yes
:
$ALWAYS_YES
# basic_auth:
# user: MyUser
# password: MyPassword
...
...
ebulk-data/config/ingestion-s3-config_template.yml
View file @
5775db93
...
...
@@ -9,6 +9,7 @@ in:
access_key_id
:
$S3_ACCESS_KEY
secret_access_key
:
$S3_SECRET_KEY
auth_method
:
$S3_AUTH_METHOD
always_yes
:
$ALWAYS_YES
# endpoint:
# region:
# path_match_pattern:
...
...
ebulk-data/help.md
View file @
5775db93
...
...
@@ -39,5 +39,6 @@ options:
-s, --storage
<storage>
Uses the selected input storage from this set: [http, ftp, s3]
-cs, --custom-storage Allows user to set a new input storage
-a, --advanced Allows to edit the Embulk cofiguration file of the input storage
-y, --yes Enables "always yes" mode and ebulk is run assuming yes to all user inputs required
-dc, --discard-changes Discards local changes by checking the remote dataset
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment