-
Notifications
You must be signed in to change notification settings - Fork 5
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
png attachment links broken #181
Comments
Can I see the affected issues in the preview repo: https://github.com/sagemath/sage-migration-preview-2023-02-02? |
No, but I have just made the next iteration public, where you can see it for example in https://github.com/sagemath/sage-migration-preview-2023-02-04/issues/10146: the png attachment gives "not found", but the other attached file (technically a repository_file) works. |
(Note that sagemath/sage is at the moment a redirect to https://github.com/sagemath/sage-migration-preview-2023-02-04) |
Did the importer drop all |
It did not report anything regarding the .png attachments. It did report (as expected) that a number of large (> 25MB) attachments were "not found" (= dropped in the process). |
There's no problem here: https://github.com/sagemath/sage-migration-preview-2023-02-04/issues/25270 |
hm, interesting! |
OK, so the link in the description has been rewritten to a correct one. |
Here works too: https://github.com/sagemath/sage-migration-preview-2023-02-04/issues/34113 |
Perhaps the image attachment should have been linked as https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#images in attachment comment ? |
Yes, that would likely have fixed it. |
I think it's okay to reschedule the final import once again, if it is hard to fix after migration. |
No, I'd rather not delay it further. I think it's easy to fix afterwards using PyGithub (REST API). Easier than #110, which requires use of a more complicated API (GraphQL) |
Okay. BTW, if we use the markdown syntax, then the image will show up again in the attachment comment. |
Right, that's not really intended. |
One way is to upload image files twice as ".png" and as ".png.gz". I also feel that we may leave the bug unfixed. Image attachment not shown in the issue perhaps are not that important. |
I agree, it's a very minor issue. |
BTW, "r: invalid", "r: duplicate" received wrong colors. |
Yes, 2023-02-04 is the one with the wrong label colors.
It's fixed in the import that will finish in a bit.
|
Ah. That's fortunate! |
In the production import, a few other files (in addition to the > 25MB files) were dropped. Easy to fix if we want. Enterprise Cloud Importer BETA AuditSome models were not successfully imported. Please check them below, and unlock your repositories if you're ready to use them. Step: 6 of 7 Status: |
Labels are all perfect! |
Some of the affected issues are fairly recent. I think "we want". |
To be investigated whether the actual files are accessible.
In any case, this will have to be fixed post-migration.
The text was updated successfully, but these errors were encountered: