Migrate markdown to null safety and to packages repo #74757
Copy link
Copy link
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: null-safetySupport for Dart's null safety featureSupport for Dart's null safety featurec: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.c: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem team
Description
We need to migrate https://github.com/flutter/flutter_markdown/ to our packages repo (https://github.com/flutter/packages/) and port it to null safety.
(fyi @domesticmouse since you seem active in this repo; fyi @kf6gpe since you've looked at merging repos before)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: null-safetySupport for Dart's null safety featureSupport for Dart's null safety featurec: contributor-productivityTeam-specific productivity, code health, technical debt.Team-specific productivity, code health, technical debt.c: tech-debtTechnical debt, code quality, testing, etc.Technical debt, code quality, testing, etc.packageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem teamOwned by Ecosystem team
Activity
domesticmouse commentedon Jan 26, 2021
/cc @mjordan56 who is interested in migrating
flutter_markdownto null safety.domesticmouse commentedon Jan 29, 2021
I'm curious what is required to port
flutter_markdownto the packages repo?Hixie commentedon Jan 29, 2021
Nothing special, just making sure it fits the pattern in the other repo (changelog, readme, license, that kind of thing).
thisisamank commentedon Jan 29, 2021
@domesticmouse I am interested in helping, but I am a newbie to open source so I will need some guidance.
domesticmouse commentedon Jan 29, 2021
Hey @thisisamank,
You can see my initial attempt at migrating to null safety, but it's tests are currently reporting red. Feel free to pull my PR and see if you can figure out what changes are required to make Mockito happy.
Thanks!
mjordan56 commentedon Jan 29, 2021
mjordan56 commentedon Jan 29, 2021
Hixie commentedon Jan 29, 2021
I believe that Mockito isn't supported in null-safety right now. The fix we've used elsewhere is migrating away from mockito.
7 remaining items
stuartmorgan-g commentedon Apr 29, 2021
@domesticmouse I'm doing some other migrations, and could do this one if you're ready. It looks like there are a few open PRs; any that you want to land before migration?
domesticmouse commentedon Apr 29, 2021
Please go ahead and migrate. The outstanding PRs require work from the authors to bring them up to date, add tests, and the like.
[flutter_markdown] Import from flutter/flutter_markdown
stuartmorgan-g commentedon May 3, 2021
@domesticmouse Are you a member of the flutter.dev verified publisher on pub? If so, could you transfer https://pub.dev/packages/flutter_markdown over to the verified account (in the Admin tab)? If you're not, we should have @kf6gpe add you.
stuartmorgan-g commentedon May 3, 2021
p: flutter_markdownOnce https://github.com/flutter/flutter_markdown/pull/368 is approved and landed we should be able to archive the repo.
That plus getting https://pub.dev/packages/flutter_markdown transferred to the verified publisher so I can publish the updated meta should be all that's left here.
domesticmouse commentedon May 4, 2021
@stuartmorgan I'm OoO this week. I don't know if I'm part of the blessed group, and I don't know the process to transfer ownership.
@kf6gpe can I get some time on your calendar next week for this?
kf6gpe commentedon May 4, 2021
@domesticmouse Sure thing! When you're back, toss something on my calendar --- it should only take us a few munutes.
Enjoy (hopefully) your OoO-ness in the mean time.
stuartmorgan-g commentedon May 4, 2021
Once you've been added to the verified publisher group, it's super-easy:
stuartmorgan-g commentedon May 12, 2021
@domesticmouse Alternatively you could add me to the package (
dart pub uploader --package=flutter_markdown add [email protected]) and I can transfer it.domesticmouse commentedon May 12, 2021
@stuartmorgan uploader invite sent. Check your inbox =)
stuartmorgan-g commentedon May 13, 2021
The publisher is converted over, and I published the update that has the new metadata (pointing to the new source location), so this is finished!
github-actions commentedon Aug 1, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.