Skip to content
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

💬 Migrate remaining comments from Disqus to Giscus #1609

Open
4 of 6 tasks
babakamyljanovssw opened this issue Nov 4, 2024 · 6 comments
Open
4 of 6 tasks

💬 Migrate remaining comments from Disqus to Giscus #1609

babakamyljanovssw opened this issue Nov 4, 2024 · 6 comments

Comments

@babakamyljanovssw
Copy link
Member

babakamyljanovssw commented Nov 4, 2024

Cc: @bradystroud @JackDevAU @wicksipedia

Email subject: SSW.Rules - Reactions and Comments feature

As per email, we are going to give people 1 month to manually migrate their comments to Giscus. Then we need to migrate remaining comments using script.

References to migrate from Disqus to Giscus

Repo - Disqus to GitHub issues - https://github.com/JuergenGutsch/disqus-to-github-issues/tree/master/DisqusToGithubIssues
Repo - Disqus to Giscus - https://github.com/andrewlock/convert-disqus-to-giscus/
Blog - https://andrewlock.net/migrating-comments-from-dsqus-to-giscus/
Blog - https://www.eliostruyf.com/migrate-disqus-github-discussions-giscus/

Use ssw-rules-comments-migrator account to attribute comments, credentials are stored in Keeper.

Tasks

@babakamyljanovssw babakamyljanovssw added Type: Refactor A code quality improvement e.g. Tech debt and removed Type: Refactor A code quality improvement e.g. Tech debt labels Nov 4, 2024
@babakamyljanovssw babakamyljanovssw changed the title ♻️ Migrate remaining comments to Giscus 💬 Migrate remaining comments to Giscus Nov 4, 2024
@babakamyljanovssw
Copy link
Member Author

babakamyljanovssw commented Nov 15, 2024

Delete zz Reaction container from staging and production Azure Cosmos DB

✅ Done - zz'd Reaction container on both staging and production databases

Image

@babakamyljanovssw babakamyljanovssw changed the title 💬 Migrate remaining comments to Giscus 💬 Migrate remaining comments from Disqus to Giscus Nov 22, 2024
@babakamyljanovssw babakamyljanovssw self-assigned this Nov 25, 2024
@babakamyljanovssw
Copy link
Member Author

babakamyljanovssw commented Nov 28, 2024

I've created repo on SSWConsulting for migration script and the work can be followed here
https://github.com/SSWConsulting/SSW.DisqusToGiscus

@babakamyljanovssw
Copy link
Member Author

I've tested script on staging repo, it has created discussions successfully but when I ran to create comments, the bot account was suspended in the middle of operation and all added discussions/comments are hidden at the moment.

I've raised support ticket - https://support.github.com/ticket/personal/0/3121232

@babakamyljanovssw
Copy link
Member Author

babakamyljanovssw commented Dec 12, 2024

cc: @bradystroud

GitHub support replied to my ticket about restoring bot account, and asked to create new ticket using email address associated with bot account.
With the help of @chrisschultzssw , we've created ticket using bot account.

Ticket number - 3136762

@babakamyljanovssw
Copy link
Member Author

cc: @bradystroud @chrisschultzssw

Update:

GitHub Support has cleared restrictions from bot account, and can be used with the script now.

But as per my conversation with @adamcogan, he wants first to call people and ask them to add their comments. So running the script approach to migrate comments is on hold for now.
I have drafted the list of SSW users with their comments and link to the rule, I will try to get people and ask them to add their comments.

@babakamyljanovssw
Copy link
Member Author

Update:

I wasn't able to continue working on this and from next week I will be starting client work.

The migration script is ready and can be run to create discussions with comments using Disqus exported xml file.

Script - https://github.com/SSWConsulting/SSW.DisqusToGiscus
To export Disqus comments as xml file - https://sswrules.disqus.com/admin/discussions/export/

But first of all before running the script, need to to contact people individually and ask them add their comments.

List of users who added comments is added to Keeper:
Keeper | Client Secrets | DisqusToGiscus Migration | Users that added Disqus comments

@babakamyljanovssw babakamyljanovssw removed their assignment Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant