Skip to content

Commit

Permalink
fix markdown indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
prince-chrismc committed Mar 16, 2021
1 parent 3f58b93 commit f1b8ef6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
26 changes: 13 additions & 13 deletions internal/format/statistics.go
Expand Up @@ -11,18 +11,18 @@ import (
func Statistics(stats stats.Stats) string {
return `
#### :bar_chart: Statistics
> :warning: These are just rough metrics counting the labels and may not reflect the acutal state of pull requests
- Commit: ` + os.Getenv("GITHUB_SHA") + `
- Pull Requests:
- Open: ` + fmt.Sprint(stats.Open) + `
- Draft: ` + fmt.Sprint(stats.Draft) + `
- Average Age: ` + duration.String(stats.Age.GetCurrentAverage()) + `
- Labels:
- Stale: ` + fmt.Sprint(stats.Stale) + `
- Failed: ` + fmt.Sprint(stats.Failed) + `
- Blocked: ` + fmt.Sprint(stats.Blocked) + `
#### :bar_chart: Statistics
> :warning: These are just rough metrics counting the labels and may not reflect the acutal state of pull requests
- Commit: ` + os.Getenv("GITHUB_SHA") + `
- Pull Requests:
- Open: ` + fmt.Sprint(stats.Open) + `
- Draft: ` + fmt.Sprint(stats.Draft) + `
- Average Age: ` + duration.String(stats.Age.GetCurrentAverage()) + `
- Labels:
- Stale: ` + fmt.Sprint(stats.Stale) + `
- Failed: ` + fmt.Sprint(stats.Failed) + `
- Blocked: ` + fmt.Sprint(stats.Blocked) + `
`
}
12 changes: 6 additions & 6 deletions internal/format/under_way.go
Expand Up @@ -22,11 +22,11 @@ func UnderReview(prs []*pending_review.PullRequestSummary) string {

return `
### :nerd_face: Please Review!
There ` + breif + ` currently under way :eyes:
PR | By | Recipe | Reviews | :stop_sign: Blockers | :star2: Approvers
:---: | --- | --- | :---: | --- | ---
### :nerd_face: Please Review!
There ` + breif + ` currently under way :eyes:
PR | By | Recipe | Reviews | :stop_sign: Blockers | :star2: Approvers
:---: | --- | --- | :---: | --- | ---
` + tableBody
}

1 comment on commit f1b8ef6

@prince-chrismc
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨ Summary of Pull Requests Pending Review!

☑️ Selection Criteria:

  • There has been at least one approval (at any point)
  • No reviews and commited to in the last 24hrs
  • No labels with exception to "bump version" and "docs"

🗺️ Legend

Icon Description Notes
🆕 Adding a recipe which does not yet exist
⬆️ Version bump closely matches the label
📝 Modification to an existing recipe
📗 Documentation change matches the label
⚠️ The merge commit status does not indicate success only displayed when ready to merge

🤓 Please Review!

There are *9 pull requests currently under way 👀

PR By Recipe Reviews 🛑 Blockers 🌟 Approvers
[#4487](https://github.com/conan-io/conan-center-index/pull/4487)|[ChGen](https://github.com/ChGen)|:new: zmqpp|39||prince-chrismc

#4556|anton-danielsson|:memo: protobuf|39||mathbunnyru, prince-chrismc
#4715|SpaceIm|:memo: simdjson|7||SSE4, prince-chrismc, a4z
#4797|ChatPion|:memo: opencv|9||SSE4, prince-chrismc
#4856|SSE4|:new: portable-file-dialogs|15|danimtb|SpaceIm, uilianries, jgsogo, czoido, mathbunnyru
#4872|SpaceIm|:memo: tesseract|2||prince-chrismc, SSE4
#4890|prince-chrismc|:memo: ixwebsocket|0||
#4893|SpaceIm|:memo: pcre|2||prince-chrismc, ericLemanissier
#4894|SpaceIm|:memo: pcre2|2||prince-chrismc, ericLemanissier

📊 Statistics

⚠️ These are just rough metrics counting the labels and may not reflect the acutal state of pull requests

  • Commit: f1b8ef6
  • Pull Requests:
    • Open: 109
    • Draft: 17
    • Average Age: 76 days, 11 hours, and 52.49 minutes
  • Labels:
    • Stale: 3
    • Failed: 78
    • Blocked: 7
Raw JSON data
[
   {
      "Number": 4487,
      "OpenedBy": "ChGen",
      "Recipe": "zmqpp",
      "Change": 0,
      "ReviewURL": "https://github.com/conan-io/conan-center-index/pull/4487",
      "LastCommitSHA": "da8ee6c23ee260fb2317c7fde6698f0710f65d66",
      "LastCommitAt": "0001-01-01T00:00:00Z",
      "CciBotPassed": true,
      "Summary": {
         "Count": 39,
         "ValidApprovals": 1,
         "TeamApproval": false,
         "Approvals": [
            "prince-chrismc"
         ],
         "Blockers": null
      }
   },
   {
      "Number": 4556,
      "OpenedBy": "anton-danielsson",
      "Recipe": "protobuf",
      "Change": 1,
      "ReviewURL": "https://github.com/conan-io/conan-center-index/pull/4556",
      "LastCommitSHA": "facc2895230f752557d90c3e7e5c005147193ba9",
      "LastCommitAt": "0001-01-01T00:00:00Z",
      "CciBotPassed": true,
      "Summary": {
         "Count": 39,
         "ValidApprovals": 2,
         "TeamApproval": false,
         "Approvals": [
            "mathbunnyru",
            "prince-chrismc"
         ],
         "Blockers": []
      }
   },
   {
      "Number": 4715,
      "OpenedBy": "SpaceIm",
      "Recipe": "simdjson",
      "Change": 1,
      "ReviewURL": "https://github.com/conan-io/conan-center-index/pull/4715",
      "LastCommitSHA": "23ac1650ee5fd238c09fb1ebda5a298e42bc7348",
      "LastCommitAt": "0001-01-01T00:00:00Z",
      "CciBotPassed": true,
      "Summary": {
         "Count": 7,
         "ValidApprovals": 2,
         "TeamApproval": true,
         "Approvals": [
            "SSE4",
            "prince-chrismc",
            "a4z"
         ],
         "Blockers": null
      }
   },
   {
      "Number": 4797,
      "OpenedBy": "ChatPion",
      "Recipe": "opencv",
      "Change": 1,
      "ReviewURL": "https://github.com/conan-io/conan-center-index/pull/4797",
      "LastCommitSHA": "f6716853ec7064eecbcab7aca7a99315d924f462",
      "LastCommitAt": "0001-01-01T00:00:00Z",
      "CciBotPassed": true,
      "Summary": {
         "Count": 9,
         "ValidApprovals": 2,
         "TeamApproval": true,
         "Approvals": [
            "SSE4",
            "prince-chrismc"
         ],
         "Blockers": null
      }
   },
   {
      "Number": 4856,
      "OpenedBy": "SSE4",
      "Recipe": "portable-file-dialogs",
      "Change": 0,
      "ReviewURL": "https://github.com/conan-io/conan-center-index/pull/4856",
      "LastCommitSHA": "46becab12cb576a8aa851a5f7db5dde443f7ced8",
      "LastCommitAt": "0001-01-01T00:00:00Z",
      "CciBotPassed": true,
      "Summary": {
         "Count": 15,
         "ValidApprovals": 4,
         "TeamApproval": true,
         "Approvals": [
            "SpaceIm",
            "uilianries",
            "jgsogo",
            "czoido",
            "mathbunnyru"
         ],
         "Blockers": [
            "danimtb"
         ]
      }
   },
   {
      "Number": 4872,
      "OpenedBy": "SpaceIm",
      "Recipe": "tesseract",
      "Change": 1,
      "ReviewURL": "https://github.com/conan-io/conan-center-index/pull/4872",
      "LastCommitSHA": "770d232151108426f4fadf48e2967434865c96a0",
      "LastCommitAt": "0001-01-01T00:00:00Z",
      "CciBotPassed": true,
      "Summary": {
         "Count": 2,
         "ValidApprovals": 2,
         "TeamApproval": true,
         "Approvals": [
            "prince-chrismc",
            "SSE4"
         ],
         "Blockers": null
      }
   },
   {
      "Number": 4890,
      "OpenedBy": "prince-chrismc",
      "Recipe": "ixwebsocket",
      "Change": 1,
      "ReviewURL": "https://github.com/conan-io/conan-center-index/pull/4890",
      "LastCommitSHA": "7a5d45f0c79e5e84c91df0448d81f98dc696ea4f",
      "LastCommitAt": "2021-03-15T12:27:13Z",
      "CciBotPassed": false,
      "Summary": {
         "Count": 0,
         "ValidApprovals": 0,
         "TeamApproval": false,
         "Approvals": null,
         "Blockers": null
      }
   },
   {
      "Number": 4893,
      "OpenedBy": "SpaceIm",
      "Recipe": "pcre",
      "Change": 1,
      "ReviewURL": "https://github.com/conan-io/conan-center-index/pull/4893",
      "LastCommitSHA": "35885d910fd38430a1232117d0ac1349c2adfc38",
      "LastCommitAt": "0001-01-01T00:00:00Z",
      "CciBotPassed": true,
      "Summary": {
         "Count": 2,
         "ValidApprovals": 2,
         "TeamApproval": false,
         "Approvals": [
            "prince-chrismc",
            "ericLemanissier"
         ],
         "Blockers": null
      }
   },
   {
      "Number": 4894,
      "OpenedBy": "SpaceIm",
      "Recipe": "pcre2",
      "Change": 1,
      "ReviewURL": "https://github.com/conan-io/conan-center-index/pull/4894",
      "LastCommitSHA": "ad5584c6e03e640b0d40d09b53914ac312c7137a",
      "LastCommitAt": "0001-01-01T00:00:00Z",
      "CciBotPassed": true,
      "Summary": {
         "Count": 2,
         "ValidApprovals": 2,
         "TeamApproval": false,
         "Approvals": [
            "prince-chrismc",
            "ericLemanissier"
         ],
         "Blockers": null
      }
   }
]

Please sign in to comment.