-
Notifications
You must be signed in to change notification settings - Fork 94
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
Support for attachments? #103
Comments
I don't think GitHub supports attachments. IIRC, that was why iTerm uses GitLab for issue tracking, even though the project uses GitHub for code management. Happy to re-open and explore this if I'm wrong... |
Hmmm, you can attach files in the UI (https://help.github.com/articles/file-attachments-on-issues-and-pull-requests/), but not in the API? Can that really be? :( |
Indeed attachments are supported now. My bad, I should have googled. And that specific attachment is a visual trip. 😄 On the API side, I'm betting GitHub hasn't added it to their kinda-secret Bulk Import API which is what we use to avoid rate-limiting. But I'm not sure, so I've emailed their support and cc'd @nedbat. |
Answer from GitHub support (copy/pasted with their permission):
|
Hmmm, I played around with getting attachments. I figured I could at least add a link to the GitHub issue, that refers to the attachment on Bitbucket. But the Bitbucket api doesn't provide the URL to the attachment on the issue, and the URL doesn't seem easily constructable. I can get the content of the attachments, but I'm not sure where I would put them. |
I just tested this on a repo I have: https://bitbucket.org/thomthom/solid-inspector/src For some issues the attachments appear to have transferred: But for others it did not: Any ideas why some work and some don't? From the commit referenced above, it appear that "This issue had attachments:" should appear while processing attachments. No such message was seen in my console. |
paging @nedbat:
|
@thomthom I think you see the difference ("images embedded into the text"). Markdown can have an image reference. In that case, the text is simply copied over to GitHub, which also renders the image. In this case, there is no attachment, just markup indicating an image. Images which are attached are true attachments. How did you run the converter? Did you use |
Ah, I didn't use that flag. Didn't realize it was there. I was only referring to the list in the README in master. I will give it another whirl. |
I ran it again, but it still didn't pick up my attachments.
Example: Any ideas? |
I haven't looked into this at all, but would it be possible to migrate attachments also?
The text was updated successfully, but these errors were encountered: