Skip to content

Migrate markdown to null safety and to packages repo #74757

Closed

Description

@Hixie

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)

Activity

  1. added
    c: contributor-productivityTeam-specific productivity, code health, technical debt.
    packageflutter/packages repository. See also p: labels.
    a: null-safetySupport for Dart's null safety feature
    P3Issues that are less important to the Flutter project
    c: tech-debtTechnical debt, code quality, testing, etc.
    on Jan 26, 2021
  2. domesticmouse commented on Jan 26, 2021

    @domesticmouse
    Contributor

    /cc @mjordan56 who is interested in migrating flutter_markdown to null safety.

  3. domesticmouse commented on Jan 29, 2021

    @domesticmouse
    Contributor

    I'm curious what is required to port flutter_markdown to the packages repo?

  4. Hixie commented on Jan 29, 2021

    @Hixie
    ContributorAuthor

    Nothing special, just making sure it fits the pattern in the other repo (changelog, readme, license, that kind of thing).

  5. thisisamank commented on Jan 29, 2021

    @thisisamank

    @domesticmouse I am interested in helping, but I am a newbie to open source so I will need some guidance.

  6. domesticmouse commented on Jan 29, 2021

    @domesticmouse
    Contributor

    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!

  7. mjordan56 commented on Jan 29, 2021

    @mjordan56
  8. mjordan56 commented on Jan 29, 2021

    @mjordan56
  9. Hixie commented on Jan 29, 2021

    @Hixie
    ContributorAuthor

    I believe that Mockito isn't supported in null-safety right now. The fix we've used elsewhere is migrating away from mockito.

  10. 7 remaining items

  11. stuartmorgan-g commented on Apr 29, 2021

    @stuartmorgan-g
    Contributor

    @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?

  12. domesticmouse commented on Apr 29, 2021

    @domesticmouse
    Contributor

    Please go ahead and migrate. The outstanding PRs require work from the authors to bring them up to date, add tests, and the like.

  13. stuartmorgan-g commented on May 3, 2021

    @stuartmorgan-g
    Contributor

    @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.

  14. stuartmorgan-g commented on May 3, 2021

    @stuartmorgan-g
    Contributor
    • Merge landed
    • I closed the few remaining PRs with a message explaining what happened and what to do if they still want to move forward
    • I migrated all the issues to flutter/flutter and tagged them with p: flutter_markdown

    Once 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.

  15. domesticmouse commented on May 4, 2021

    @domesticmouse
    Contributor

    @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?

  16. kf6gpe commented on May 4, 2021

    @kf6gpe
    Contributor

    @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.

  17. stuartmorgan-g commented on May 4, 2021

    @stuartmorgan-g
    Contributor

    and I don't know the process to transfer ownership.

    Once you've been added to the verified publisher group, it's super-easy:

  18. stuartmorgan-g commented on May 12, 2021

    @stuartmorgan-g
    Contributor

    @domesticmouse Alternatively you could add me to the package (dart pub uploader --package=flutter_markdown add [email protected]) and I can transfer it.

  19. domesticmouse commented on May 12, 2021

    @domesticmouse
    Contributor

    @stuartmorgan uploader invite sent. Check your inbox =)

  20. stuartmorgan-g commented on May 13, 2021

    @stuartmorgan-g
    Contributor

    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!

  21. github-actions commented on Aug 1, 2021

    @github-actions

    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 -v and a minimal reproduction of the issue.

  22. locked as resolved and limited conversation to collaborators on Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projecta: null-safetySupport for Dart's null safety featurec: contributor-productivityTeam-specific productivity, code health, technical debt.c: tech-debtTechnical debt, code quality, testing, etc.packageflutter/packages repository. See also p: labels.team-ecosystemOwned by Ecosystem team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions