discord: message
semi-related: #307: GitHub repo sync
No actionable task yet. I'm just dumping my thoughts here.
Things we support importing today: #
- git repository (the codebase and history)
- description, website, topics
Things we don't support importing today: #
- tickets (issues, PRs, discussions)
- comments
- labels
- secrets..?
- wiki
We don't need bot account for one-way import.
Problems #
Who will be the author? #
Simple solution is to import ticket and comments as records without author, without x-tngl-editor field. Original author won't be able to edit it after migration but everything else will work fine.
How to import discussion? #
discussion in Tangled is just tickets. Related: #4628 and #597. Then we can probably import them as tickets with rkey discussion-{number}, and label discussion attached.
Technically ticket rkey can be any string, but because knot mints a key, it should know both formats; {number} and discussion-{number}.
How to import wiki? #
We probably don't care about wiki, at least for now. Related: #485