-
-
Notifications
You must be signed in to change notification settings - Fork 394
[wip!] Add slack data importer. #114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cc: if @rishig has requests for how this should be made. |
Codecov Report
@@ Coverage Diff @@
## master #114 +/- ##
=======================================
Coverage 53.54% 53.54%
=======================================
Files 59 59
Lines 2691 2691
=======================================
Hits 1441 1441
Misses 1250 1250 Continue to review full report at Codecov.
|
@rht some thoughts:
What do you think? |
This is awesome, thanks @rht! Agree with Tim's comments above. |
e1caf2b
to
265ad84
Compare
Yes, I am following the step based on
Yes, I also had thought of this; this requires exposing only the
This (the first stage) needs to be done once only, I think. It is not critical Note: the schema of the converted data format is based on the sample export data |
0a18267
to
0ae6ed6
Compare
Thanks to @rheaparekh for pointing out the doc for sanity check ;)
…ssage2zerver_message_for_one_stream.
Patched by @rht
With minor patch by @rht
Heads up @rht, we just merged some commits that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the |
This is superseded by #218. The importer script will live in zulip/zulip instead. |
this importer is more comprehensive than the existing one. pending tiny tiny detail such as the config param of the existing realm as an input and the 20 todo's. will fix when i am able to focus once again :(.
USAGE
See https://my.slack.com/services/export for the step to export a Slack data.
To convert a slack data, let the zip file be
slack_data.zip
, then./slack2zulip.py slack_data.zip
which outputs
zulip_data.tar.gz
.To deploy the data onto an existing fresh Zulip repo,
./manage.py import --destroy-rebuild-database <path to zulip_data.tar.gz>
e: add Slack URL
e: modify command