-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Gary Mann
committed
Aug 31, 2019
1 parent
7aa8187
commit 2b46afb
Showing
20 changed files
with
215 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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,21 @@ | ||
--- | ||
title: 'Code too new' | ||
rule_type: blocker | ||
outputs: | ||
- html | ||
- json | ||
--- | ||
|
||
Projects must be at least 30 days old | ||
|
||
It looks like this project is newly created or has been published for the first time within the last 30 days. To list on Typedescriptor, a project must be at least 30 days old. | ||
|
||
## Why Typedescriptor checks for it | ||
|
||
Typedescriptor sets a minimum age of 30 days for new NuGet packages and new source code pushed to source control. This is to help decrease churn from projects that are created and become popular quickly but don't continue to sustain development. | ||
|
||
## How to fix this problem | ||
|
||
Normally, it is sufficient to wait thirty days and the project will be eligible to be listed. | ||
|
||
If the project was renamed or moved, it may take a moderator to help with this problem if it is a false positive. |
13 changes: 13 additions & 0 deletions
13
content/docs/listings/rules/language-unsupported-by-moderation-team.md
This file contains 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,13 @@ | ||
--- | ||
title: 'Language unsupported by moderation team' | ||
rule_type: blocker | ||
outputs: | ||
- html | ||
- json | ||
--- | ||
|
||
Typedescriptor doesn't have moderators for this language. | ||
|
||
It looks like the source code or documentation for the project is primarily in a langauge other than English. The Typedescriptor moderation team and editorial staff only review English language projects today. | ||
|
||
This detection uses a heuristic and could be a false positive. Please send feedback if this rule matches your project unexpectedly. |
This file contains 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,25 @@ | ||
--- | ||
title: 'License URL required' | ||
rule_type: blocker | ||
outputs: | ||
- html | ||
- json | ||
--- | ||
|
||
The NuGet package must specify a license. | ||
|
||
Typedescriptor wasn't able to detect the license for the package. | ||
|
||
## Why Typedescriptor checks for it | ||
|
||
Typedescriptor needs to be able to detect the license being used for the source code to make sure it is eligible for copyright and other legal reasons. | ||
|
||
## How to fix this problem | ||
|
||
* If you're creating the package manifest yourself or using the NuGet tools, check the value for the `licenseUrl` field. It should point to a URL on a working website. | ||
|
||
* If you're using MSBuild to generate the package via the [pack target][1], you should ensure that there is a value for `PackageLicenseUrl` being set in your project file. | ||
|
||
> **Note** Typedescriptor currently doesn't detect licenses packed as files in the NuGet manifest. | ||
[1]: https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#pack-target |
This file contains 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,19 @@ | ||
--- | ||
title: 'Must host at GitHub' | ||
rule_type: blocker | ||
outputs: | ||
- html | ||
- json | ||
--- | ||
|
||
The project is not using a supported source control website. | ||
|
||
## Why Typedescriptor checks for it | ||
|
||
Typedescriptor only works with GitHub. | ||
|
||
Today, the source code repository for a package must be on GitHub. We may revisit whether other popular source code services can be used in the future. | ||
|
||
## How to fix this problem | ||
|
||
If you can, move the project to GitHub. Moderators will not be able to ignore this problem, so unfortunately, if the project does not have mirror on GitHub, it won't be able to list on Typedescriptor. |
17 changes: 17 additions & 0 deletions
17
content/docs/listings/rules/open-source-license-required.md
This file contains 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,17 @@ | ||
--- | ||
title: 'Open source license required' | ||
rule_type: blocker | ||
outputs: | ||
- html | ||
- json | ||
--- | ||
|
||
License for the package or in the repository doesn't look like open source. | ||
|
||
## Why Typedescriptor checks for it | ||
|
||
Typedescriptor only lists open source software. | ||
|
||
## How to fix this problem | ||
|
||
* **Use the text of an approved open source license.** You normally copy the text of the open source license template and fill in the copyright information. Be careful to avoid editing the text of the license in other places because that may prevent it from being detected as a common open source license. |
This file contains 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,19 @@ | ||
--- | ||
title: Organization required | ||
rule_type: warning | ||
outputs: | ||
- html | ||
- json | ||
--- | ||
|
||
Project is owned by a user instead of an organization | ||
|
||
Generally, only projects within organizations should be listed on Typedescriptor. | ||
|
||
## Why Typedescriptor checks for it | ||
|
||
Organizations are more likely to have a sustainable, group contibution model that can keep the project high quality, secure, and viable over the long run. | ||
|
||
## How to fix this problem | ||
|
||
Consider moving the project from a user account to an organization. |
This file contains 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,31 @@ | ||
--- | ||
title: 'Project site required' | ||
rule_type: blocker | ||
outputs: | ||
- html | ||
- json | ||
--- | ||
|
||
Project site must be up and running | ||
|
||
Typedescriptor tried to connect to the project site that is listed in the NuGet package but wasn't able to. | ||
|
||
> **Note** Typedescriptor uses the information in the NuGet package, not the information in the GitHub repository to determine the home page for a project. | ||
This problem can also be detected if the project site looks or acts like a malware website or if it is a DNS parking website. It could also be detected if the project website has very little content on it. | ||
|
||
Typedescriptor will automatically retry this test later to make sure that it wasn't a temporary issue. | ||
|
||
## Why Typedescriptor checks for it | ||
|
||
Packages must have a home page to list on Typedescriptor. If it isn't working, this could be a sign that the project is no longer being maintained. | ||
|
||
## How to fix this problem | ||
|
||
* If you're creating the package manifest yourself or using the NuGet tools, check the value for the `projectUrl` field. It should point to a URL on a working website. The easiest thing to use is the GitHub repository page or GitHub Sites. | ||
|
||
* If you're using MSBuild to generate the package via the [pack target][1], you should ensure that there is a value for `PackageProjectUrl` being set in your project file. | ||
|
||
* Whatever website you choose, make sure that it responds to connections within a reasonable amount of time. | ||
|
||
[1]: https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#pack-target |
21 changes: 21 additions & 0 deletions
21
content/docs/listings/rules/repository-license-required.md
This file contains 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,21 @@ | ||
--- | ||
title: 'Repository license required' | ||
rule_type: blocker | ||
outputs: | ||
- html | ||
- json | ||
--- | ||
|
||
Code in the repository must contain a license. | ||
|
||
Typedescriptor wasn't able to detect the license of the project. | ||
|
||
## Why Typedescriptor checks for it | ||
|
||
Typedescriptor needs to be able to detect the license being used for the source code to make sure it is eligible for copyright and other legal reasons. | ||
|
||
## How to fix this problem | ||
|
||
Use a conventional name for the license file such as `LICENSE.md` or `LICENSE` in the root directory of the project. | ||
|
||
It isn't enough for it to be in the `README` or in the source code itself. |
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{{ define "main" }} | ||
<div class="container mx-auto"> | ||
<div class="container home-content mx-auto"> | ||
{{ .Content }} | ||
</div> | ||
{{ end }} |
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -1,16 +1,20 @@ | ||
<footer class="w-full text-center p-4 text-sm"> | ||
<p class="text-gray-800"> | ||
Copyright © 2019 Typedescriptor | ||
<footer class="w-full text-center p-4 text-sm text-gray-800"> | ||
|
||
<span class="px-6 text-gray-600">/</span> | ||
<p> | ||
<a class="mx-4 content-link" href="https://github.com/Typedescriptor/org-website"> | ||
View source on GitHub | ||
</a> | ||
|
||
Built using | ||
<a href="https://gohugo.io" class="content-link">Hugo</a> and <a href="https://tailwindcss.com" class="content-link">Tailwind CSS</a> | ||
<a class="mx-4 content-link" href="https://github.com/Typedescriptor/feedback/issues"> | ||
Send feedback | ||
</a> | ||
</p> | ||
|
||
<span class="px-4 text-gray-600">/</span> | ||
<p class="pt-2 text-xs"> | ||
Copyright © 2019 Typedescriptor | ||
|
||
<a class="content-link" href="https://github.com/Typedescriptor/org-website"> | ||
View source on GitHub | ||
</a> | ||
</p> | ||
<span class="px-4 text-gray-600">/</span> | ||
Built using | ||
<a href="https://gohugo.io" class="content-link">Hugo</a> and <a href="https://tailwindcss.com" class="content-link">Tailwind CSS</a> | ||
</p> | ||
</footer> |