-
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
Trac wiki migration, improve markup conversion code #18
Comments
RemarksConcerning A. 3.The script doesn't recognize headings that have an anchor ( Concerning A. 4.Unfortunately Trac uses the syntax The next question is: what to do with the macros? Do you just ignore? Or do they have useful replacements in GitHub? Perhaps we can turn them into links to the appropriate Trac documentation for now. Concerning A. 6.This is caused by the following line in
I have no idea about the purpose of this line. Removing it would fix 6 and the second example of item 4. Furthermore, the lines
don't seem to make any changes:
If it were, the result would be even worse since "**" is not Markdown syntax for nested bullets. Does anyone have any idea what the purpose of these lines could be? I tend to remove them as well as they just create confusion. Concerning A. 8.This is due to the boolean Concerning B. 1.There is a lot of text explaining the functionality of the Trac syntax. Do we want to migrate that too? A lot of wiki pages are all about that (I think most pages that have |
Where is the final destination of the migrated wiki? That is, what is the repository that the migrated wiki will be placed? Unlike migration of trac tickets, I think we can migrate trac wiki pages one by one, so that we fix some broken things manually on the migrated wiki pages, instead of perfecting the migration script and make one shot migration. Perhaps we should do both (fixing manually and improving the script). If the plan is to keep trac running in read-only mode, then we may do the wiki migration gradually, independent of trac tickets migration. What is the plan? |
I guess the final destigation is |
I assume it to be https://github.com/sagemath/sage/wiki.
Yes, I think so. Improving the script helps also for the ticket migration since surely there are references to wiki pages using all possible syntax variations, as well.
From the migration document it is not completely clear. I think, we should consider the Wiki migration as a test case for the ticket migration and thus it should be completed before. For the procedure of the Wiki migration I have the following in mind:
After that ticket migration might happen into an appropriate temporary repository at which the community can have a look at it. An iteration similar to 1.-4. can follow. |
In principal I agree! On the other hand reviews would improve the quality (but consumes resources).
See this page. |
Thanks. All you said sounds reasonable. Are all the items in A of your first comment "obvious issues that can be fixed easily"? Or any of them is hard to fix but should be implemented because we cannot do it manually (that is hard to do manually)? |
I think the hardest are done ore addressed, now. What remains are issues caused be some unreasonable lines of code. Deactivating these lines wil fix them. It's just a matter of understanding the purpose of them (see the corresponding remarks in the second comment). |
Okay. I will see if I can help you with some easy items. |
I am working on A.9. You want to convert, for instance, |
I worry that my intervention may make things screwed up. Just let me know when you need a hand on any item. |
Both answers: Yes! |
No problem! That can be treated in the PRs. The more people involved the better. |
All issues known to me are done or addressed, now! |
Fix for items 4 and 7 and completion of item 5 of issue #18
https://github.com/sagemath/trac_to_gh/wiki/sage-9.6#cylp has two links where the conversion did not work right. |
As soon as we are happy with the quality of the migration of the wiki, we can do a test migration of Trac tickets as well and see if more work on the markup translation is necessary. Doing the actual final migration and switchover of the Trac wiki is not urgent. |
Okay. Would the final migration of wiki occur well before the migration of tickets or at the same time? I think there's no problem in doing the wiki migration separately from the tickets migration. |
I agree, the two migrations can be done separately. |
Fixed in trac side. |
The script needs a patched version of PyGithub now; use |
I needed to remove |
Thanks very much for fixing this! Looking great |
Fixed in f9a937d; see for example https://github.com/sagemath/trac_to_gh/blob/main/Issues-26xxx/26811.md |
Thanks. Very nice to look around and check converted issues. |
We may name |
Perhaps not. This inconvenience applies only to issues |
Many converted tickets have the text "Branch pushed to git repo; I updated commit sha1. This was a forced push. Last 10 new commits:" but then no commits are listed. What's going on there? |
I am working on this issue. Almost fixed. |
Another nested-codeblock problem: |
And |
I don't know why |
I think it's to avoid creating accidental mentions - see also #49 |
problem with a codeblock within a bulleted list |
A. According to the sage-devel thread of the same title, the following tasks must be completed:
Addressed in PR Add links to Trac tickets for the wiki migration #15.
Addressed in PR Add table alignment instructions #16.
Example:
== Legacy sage-trac Account Request == #legacy-account-request
following section Account Names Mapped to Real Names inHome.md
. Addressed in PR Fix for item A.3. of issue #18 #21.Examples:
PageOutline
andhttps://groups.google.com/forum/#!forum/sage-packaging
in Distribution page. Addressed in PR Fix for items 4 and 7 and completion of item 5 of issue #18 #19.Examples:
[wiki:symbolics/maxima]
and[https://en.wikipedia.org/wiki/Symbolic_computation]
on Symbolics pageAddressed in PR Add missing links #17
Examples: Missing Trac ticket links in nested bullets after
abs_integrate
on Symbolics page. Addressed in PR Fix for item A6 and A8 of issue #18 #23.Examples:
[query:?status=needs_review...
on Symbolics page. Addessed in PR Fix for items 4 and 7 and completion of item 5 of issue #18 #19.Examples: Distribution page (heading is
- Distribution and packaging of SageMath -
). Infrastructure page (first line isThis page aims to keep information public about Sage's infrastructure.
)Addressed in PR Fix for item A6 and A8 of issue #18 #23.
Examples: Reference to ticket 25206 on Cygwin64port page. Addressed in PR Fix for items 4 and 7 and completion of item 5 of issue #18 #19.
B. Tasks to be performed manually after wiki migration:
Examples: Reporting a bug
C. Tasks to be done after successful ticket migration:
The text was updated successfully, but these errors were encountered: