-
Notifications
You must be signed in to change notification settings - Fork 166
Introducing topics.yaml #7265
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
Merged
Merged
Introducing topics.yaml #7265
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ffea701
Introducing topics.yaml
jonasfj 63efc04
Test for doc/topics.yaml
jonasfj 132d185
Update doc/topics.yaml
jonasfj 666b385
Update doc/topics.yaml
jonasfj f809112
Update doc/topics.yaml
jonasfj 9b1a901
Cleanup
jonasfj 3b105d5
Fix tests
jonasfj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| # Canonicalizing topics | ||
| # ===================== | ||
| # | ||
| # Packages published to pub.dev can define `topics` in `pubspec.yaml`, see; | ||
| # https://dart.dev/tools/pub/pubspec#topics | ||
| # | ||
| # The list of topics is free-form, and package authors are expected to make up | ||
| # new topics as needed. Naturally, this will lead to duplicate and topics that | ||
| # only differ in spelling. For example, one package might use the topic "widget" | ||
| # while another package uses the topic "widgets". | ||
| # | ||
| # This file aims to mitigate duplicate topics by establishing _canonical topics_ | ||
| # with descriptions and a list of aliases. | ||
| # | ||
| # Aliases for a topic will be resolved when the `pubspec.yaml` is parsed. | ||
| # Ensuring that a package tagged with the alias "widgets" will appear on pub.dev | ||
| # as if it had been tagged with the canonical topic "widget". | ||
| # Similarly, search queries will be normalized to canonical topics. | ||
| # | ||
| # Topic descriptions serve as documentation for next time an aliases is | ||
| # proposed. Descriptions can also be used in tooltips or topic listings: | ||
| # https://pub.dev/topics | ||
| # | ||
| # | ||
| # Canonical topic format | ||
| # ---------------------- | ||
| # | ||
| # Entries in the `topics` list in this document, must have the form: | ||
| # | ||
| # ```yaml | ||
| # topics: | ||
| # - topic: <canonical-topic> | ||
| # description: >- | ||
| # <description of the topic for use in tooltips, documentation, etc> | ||
| # aliases: | ||
| # - <aliases-topic> | ||
| # - ... | ||
| # ``` | ||
| # | ||
| # For consistency, the `topics` list should be sorted by `topic`. | ||
| # | ||
| # | ||
| # Contributing | ||
| # ------------ | ||
| # | ||
| # You are welcome to submit pull-request with additional aliases, canonical | ||
jonasfj marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # topics and/or improved topic descriptions. | ||
| # | ||
| # Please do limit pull-request to propose one topic! | ||
jonasfj marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # | ||
| # | ||
| # Editorial guidelines | ||
| # -------------------- | ||
| # | ||
| # The decision on whether or not to merge two similar topics can be difficult. | ||
| # When in doubt we should error on the side of causion and avoid merging topics. | ||
| # However, if mistakes are made these changes are reversible. | ||
| # And we should not be afraid of accepting that sometimes a single topic can | ||
| # have multiple meaning, even if this makes the topic hard to use. | ||
| # | ||
| # The editorial guidelines are intended to evolve as we gain more experience | ||
| # merging/managing topics. | ||
| topics: | ||
| - topic: widget | ||
| description: >- | ||
| Packages that contain Flutter widgets. | ||
jonasfj marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| aliases: | ||
| - widgets | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.