Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
storagedriver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
4
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4b88e9f4
authored
Nov 11, 2019
by
Bálint Máhonfai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement uploading exported disk to storeserver, remove disk from the datastore after upload
parent
06326eea
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
disk.py
+0
-0
requirements/base.txt
+1
-0
storagedriver.py
+2
-2
No files found.
disk.py
View file @
4b88e9f4
This diff is collapsed.
Click to expand it.
requirements/base.txt
View file @
4b88e9f4
celery==3.1.17
requests==2.5.3
requests-toolbelt==0.9.1
filemagic==1.6
storagedriver.py
View file @
4b88e9f4
...
...
@@ -42,9 +42,9 @@ class download(AbortableTask):
@celery.task
()
def
export
(
disk_desc
,
format
):
def
export
(
disk_desc
,
format
,
exported_name
,
upload_link
):
disk
=
Disk
.
deserialize
(
disk_desc
)
disk
.
export
(
format
)
disk
.
export
(
format
,
exported_name
,
upload_link
)
@celery.task
()
...
...
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