Merge pull request #81 from probot/installations

Installations
This commit is contained in:
Brandon Keepers
2017-10-22 19:12:04 -05:00
committed by GitHub
19 changed files with 179 additions and 7 deletions

View File

@@ -54,6 +54,8 @@ screenshots:
authors: [ your-username, other-usernames ]
# The repository where the code is located
repository: your-username/your-app
# The address where this app is deployed
host: https://my-probot-app.awesomecloudhost.com
---
Any documentation can go here. Many apps just use their README.md here.

View File

@@ -9,6 +9,19 @@ authors:
- bkeepers
repository: probot/dco
updated: 2017-10-19 15:02:50 UTC
host: https://probot-dco.herokuapp.com
installations: 64
organizations:
- hyperledger
- jaegertracing
- envoyproxy
- phpmyadmin
- WeblateOrg
- coreinfrastructure
- redhat-developer
- jbosstools
- mainflux
- mdeguzis
---

View File

@@ -10,6 +10,19 @@ authors:
stars: 72
repository: hoodiehq/first-timers-bot
updated: 2017-10-22 17:56:49 UTC
host: https://first-timers-bot.now.sh
installations: 99
organizations:
- jekyll
- processing
- Moya
- hoodiehq
- skywinder
- mikaelbr
- gr2m
- sotayamashita
- cpmech
- jeremykenedy
---
# first-timers-bot

View File

@@ -9,6 +9,13 @@ authors:
repository: erickzhao/invite-contributors
stars: 5
updated: 2017-10-21 22:18:19 UTC
host: https://vast-stream-78160.herokuapp.com
installations: 4
organizations:
- flyve-mdm
- aethonanbot
- elodiebot
- dddpppmmm
---
# invite-contributors

View File

@@ -10,6 +10,19 @@ authors:
repository: probot/reminders
stars: 6
updated: 2017-10-19 14:18:48 UTC
host: https://probot-reminders.herokuapp.com
installations: 30
organizations:
- chaijs
- devtools-html
- thibmaek
- carambalabs
- gillesdemey
- probot
- coredns
- andycasey
- joshuar
- behaviorbot
---
Use the `/remind` slash command to set a reminder on any comment box on GitHub and you'll get a ping about it again when the reminder is due.

View File

@@ -10,6 +10,19 @@ authors:
- hiimbex
repository: behaviorbot/request-info
updated: 2017-10-21 13:29:36 UTC
host: https://probot-request-info.herokuapp.com
installations: 27
organizations:
- desktop
- benbalter
- terkelg
- probot
- Mte90
- WPBP
- behaviorbot
- chriscantu
- CodeAtCode
- vuematerial
---

View File

@@ -10,6 +10,17 @@ authors:
- hiimbex
repository: behaviorbot/sentiment-bot
updated: 2017-10-19 15:54:50 UTC
host: https://probot-sentiment-bot.herokuapp.com
installations: 17
organizations:
- MvvmCross
- carambalabs
- probot
- xcodeswift
- vuematerial
- WormieCorp
- marclop
- AdmiringWorm
---
Replies to toxic comments with a maintainer designated reply and a link to the repo's code of conduct. It does so by taking data from a `.github/config.yml`.

View File

@@ -9,6 +9,19 @@ repository: probot/settings
screenshots:
- https://user-images.githubusercontent.com/173/29472917-3fad9db0-841b-11e7-8f6d-a6c63052122b.png
updated: 2017-10-19 15:02:31 UTC
host: https://github-configurer.herokuapp.com
installations: 52
organizations:
- apollographql
- denysdovhan
- benbalter
- probot
- coveralls-clients
- LambdaBooks
- whizark
- flyve-mdm
- ignatandrei
- prasanthj
---
This GitHub App syncs repository settings defined in `.github/settings.yml` to GitHub, enabling Pull Requests for repository settings.

View File

@@ -9,7 +9,20 @@ authors:
- bkeepers
stars: 186
repository: probot/stale
updated: 2017-10-22 06:11:49 UTC
updated: 2017-10-22 19:01:14 UTC
host: https://probot-stale.herokuapp.com
installations: 231
organizations:
- atom
- facebook
- Homebrew
- nwjs
- fchollet
- apollographql
- hexojs
- strongloop
- sequelize
- gatsbyjs
---
Automatically close stale Issues and Pull Requests that tend to accumulate during a project.

View File

@@ -7,8 +7,21 @@ screenshots:
authors:
- JasonEtco
repository: JasonEtco/todo
host: https://todo-api.jasonet.co
stars: 32
updated: 2017-10-19 14:48:46 UTC
updated: 2017-10-22 19:29:35 UTC
installations: 31
organizations:
- thibmaek
- material-motion
- phatblat
- JasonEtco
- miklb
- mattstratton
- jonasbn
- nikolay
- KnisterPeter
- nilbot
---
## Usage

View File

@@ -10,6 +10,14 @@ authors:
- hiimbex
repository: behaviorbot/update-docs
updated: 2017-10-19 16:03:37 UTC
host: https://probot-update-docs.herokuapp.com
installations: 8
organizations:
- adonisjs
- xcodeswift
- behaviorbot
- marclop
- robotland
---

View File

@@ -10,6 +10,14 @@ authors:
repository: tlvince/validate-commit-msg-bot
stars: 3
updated: 2017-10-19 17:04:07 UTC
host: https://validate-commit-msg-bot.now.sh
installations: 8
organizations:
- angular-pouchdb
- christophehurpeau
- tlvince
- nikolay
- Robophil
---
> validate-commit-msg aaS

View File

@@ -11,6 +11,19 @@ authors:
- hiimbex
repository: behaviorbot/welcome
updated: 2017-10-19 16:21:15 UTC
host: https://probot-welcome.herokuapp.com
installations: 43
organizations:
- electron
- kivy
- StevenBlack
- MarshallOfSound
- benbalter
- carambalabs
- karthik
- probot
- electron-userland
- publiclab
---

View File

@@ -9,6 +9,19 @@ authors:
repository: gr2m/wip-bot
stars: 23
updated: 2017-10-20 18:53:47 UTC
host: https://wip-bot.now.sh
installations: 79
organizations:
- dotnet
- kivy
- aurelia
- saltstack
- Microsoft
- reactiveui
- hoodiehq
- semantic-release
- devtools-html
- Humanizr
---
If you dont want a pull request to be merged accidentally, add the word "wip" or "WIP" to its title and WIP bot will set its status to error. Thats all :)

View File

@@ -4,6 +4,9 @@
<p class="text-gray lh-condensed px-3 pb-3">{{ app.description }}</p>
<div class="text-gray-light pl-3 pr-2 py-2 bg-gray-light border-top" style="margin-top: auto;">
<div class="d-flex flex-row">
{% if app.installations %}
<div class="col-3 tooltipped tooltipped-s" aria-label="{{ app.installations }} installations">{% octicon cloud-download heigh:16 class:"v-align-middle" %} <span class="">{{ app.installations }}</span></div>
{% endif %}
<div class="col-3 tooltipped tooltipped-s" aria-label="{{ app.stars }} stars">{% octicon star heigh:16 class:"v-align-middle" %} <span class="">{{ app.stars }}</span></div>
<div class="col-9 text-right">
{% for author in app.authors %}

View File

@@ -15,6 +15,9 @@ layout: default
Add to GitHub
</a>
<div class="text-gray-light">
{% if page.installations %}
<div class="mr-2 d-inline tooltipped tooltipped-s" aria-label="{{ page.installations }} installations">{% octicon cloud-download heigh:16 class:"v-align-middle" %} <span class="">{{ page.installations }}</span></div>
{% endif %}
<div class="d-inline tooltipped tooltipped-s" aria-label="{{ page.stars }} stars">{% octicon star heigh:16 class:"v-align-middle" %} <span class="">{{ page.stars }}</span></div>
</div>
</div>
@@ -56,6 +59,15 @@ layout: default
{% endfor %}
<h4 class="mb-1 alt-h4 text-gray">Updated</h4>
<p><span class="text-white">{{ page.updated | date: "%B %e, %Y"}}</p>
{% if page.organizations %}
<h4 class="mb-1 alt-h4 text-gray">Used By</h4>
{% for org in page.organizations %}
<a href="https://github.com/{{ org }}" aria-label="{{ org }}" class="tooltipped tooltipped-n avatar-group-item">
<img class="avatar bg-white" src="https://github.com/{{ org }}.png" alt="{{ org }}" width="35" height="35">
</a>
{% endfor %}
{% endif %}
</div>
</div>
</div>

View File

@@ -8,7 +8,7 @@ title: Featured Apps
<h1 class="alt-h2">{{ page.title }}</h1>
<div class="d-md-flex flex-wrap gutter flex-auto">
{% assign apps = site.apps | sort: 'stars' | reverse %}
{% assign apps = site.apps | sort: 'installations' | reverse %}
{% for app in apps %}
{% include app.html app=app %}
{% endfor %}

View File

@@ -31,7 +31,7 @@ layout: default
</p>
<div class="d-md-flex flex-wrap gutter flex-auto">
{% assign apps = site.apps | sort: 'stars' | reverse %}
{% assign apps = site.apps | sort: 'installations' | reverse %}
{% for app in apps limit:6 %}
{% include app.html app=app %}
{% endfor %}

View File

@@ -18,9 +18,13 @@ files.each do |path|
app['updated'] = repo[:pushed_at].to_s
if app['host']
stats = JSON.parse(URI(app['host'] + '/stats').open.read)
app['installations'] = stats['installations']
app['organizations'] = stats['popular'].map { |org| org['login'] }
begin
stats = JSON.parse(URI(app['host'] + '/probot/stats').open.read)
app['installations'] = stats['installations']
app['organizations'] = stats['popular'].map { |org| org['login'] }
rescue => e
warn e.message
end
end
content = File.read(path)