Hi Houston and Dawid,
Thanks so much for your help. I might use other test repos but when I try
to migrate a large portion of issues I post them to
https://github.com/mocobeta/sandbox-lucene-10557.

> So did I.

There are two ways to receive notifications as you know, 1) watch all
activities and 2) receive notifications only when you are mentioned
(default).
I excluded your github account from marking up with backticks `` to create
hyperlinks. Could you unwatch the repo again and then observe your inbox
for a while, so that we can also test 2)?
https://github.com/mocobeta/sandbox-lucene-10557/blob/main/migration/src/jira2github_import.py#L21

> How did they import attachment with this API? I can't find this
> anywhere and they definitely did it somehow.

To the best of my knowledge, there is no option to upload/import
attachments to GitHub. "Import issues" API allows users to import only
texts.
In this Spring issue, the "attachment" link points to the original Jira
file - so they still use Jira as a file server. We could do the same by
rewriting all attachment links and actually I was thinking of that once as
an easy workaround. Not sure if it's ethically correct.
https://github.com/spring-projects/spring-data-commons/issues/1080

I still do not figure out the way to copy attachments to GItHub. Direct
link to file urls in Jira (as the Spring issue does) is a somewhat abusive
use of hyperlinks to me, and besides ethics, I think there might be risks
that such direct access to files are banned from Jira servers in the future.

Tomoko


2022年6月25日(土) 4:50 Dawid Weiss <dawid.we...@gmail.com>:

> > I've subscribed to all notifications for that sandbox-lucene-10557 repo.
> Let me know if you are going to create a different repo and I'll subscribe
> to that as well.
>
> So did I.
>
> How did they import attachment with this API? I can't find this
> anywhere and they definitely did it somehow.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>

Reply via email to