https://github.com/astropy/astropy-bot

The brains of astropy-bot :robot: - maintained by @astrofrog, @pllim, and @bsipocz

https://github.com/astropy/astropy-bot

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 7 committers (42.9%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.8%) to scientific vocabulary

Keywords

astropy bot world-domination

Keywords from Contributors

astronomy linked-data astrophysics sunpy sun solar-physics solar jwst closember astropy-affiliated
Last synced: 5 months ago · JSON representation

Repository

The brains of astropy-bot :robot: - maintained by @astrofrog, @pllim, and @bsipocz

Basic Info
  • Host: GitHub
  • Owner: astropy
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 230 KB
Statistics
  • Stars: 10
  • Watchers: 18
  • Forks: 12
  • Open Issues: 0
  • Releases: 0
Archived
Topics
astropy bot world-domination
Created over 8 years ago · Last pushed over 4 years ago
Metadata Files
Readme License

README.md

Build Status Coverage Status

About

This is a GitHub bot for the Astropy project that is based on baldrick and can be installed via GitHub integrations. The bot uses the following built-in plugins from baldrick:

  • Check for issues labeled as "Close?" that have become stale, and close them (with a warning period).

  • Check for pull requests that have become stale, and close them (with a warning period).

  • Check that pull requests are milestoned

and also defines a custom plugin that makes sure that the changelog is consistent with the milestone and the labels.

A large fraction of the functionality that used to be in astropy-bot has been generalized and moved to baldrick. We recommend that you familiarize yourself with the baldrick documentation, and we only cover things specific to this bot/repository in the rest of this README.

Overall bot set-up

The astropy-bot app is set up on Heroku and is available at http://astrochangebot.herokuapp.com.

For more details about how to set up a baldrick app on Heroku, see Setting up an app on Heroku, including the section on setting up the scheduled jobs for the stale issue/pull request checkers. and for details about creating the GitHub app, see Registering and installing a GitHub app.

For Astropy, the GitHub app for this bot is defined in the Astropy organization settings (not everyone will be able to see this).

Install the bot in a repository

Go to https://github.com/apps/astropy-bot . Then, click on the big green "Install" button. You can choose to install the bot on all or select repositories under your account or organization. It is recommended to only install it for select repositories by start typing a repository name and let auto-completion do the hard work for you (repeat this once per repository). Once you are done, click "Install".

After a successful installation, you will be taken to a https://github.com/settings/installations/<installation-number> page. This page is also accessible from your account or organization settings in "Applications", specifically under "Installed GitHub Apps". You can change the installation settings by clicking the "Configure" button next to the listed app, if desired.

For Astropy, the app can be added to specific repositories under the Your installations tab, by clicking on the gearbox next to Astropy, which goes to this page (not everyone will be able to see this).

Configuration

The default bot configuration for astropy-bot is given in the pyproject.toml file in this repository. To override these settings and/or enable additional plugins, you can create a pyproject.toml file in your repository with the following section:

[tool.astropy-bot]

See Available plugins and configuration for details of the configuration for the default baldrick plugins, including how to enable/disable plugins.

For the custom plugin which checks the changelog, the following options are available:

[tool.astropy-bot.changelog_checker]
enabled = true
filename = "CHANGES.rst"

The plugin can be enabled/disabled using the enabled setting, and the filename setting should give the name of the changelog file (which defaults to CHANGES.rst).

Requirements

This app requires Python 3.6 to run, and dependencies are listed in requirements.txt

Owner

  • Name: The Astropy Project
  • Login: astropy
  • Kind: organization

GitHub Events

Total
  • Watch event: 1
  • Fork event: 1
Last Year
  • Watch event: 1
  • Fork event: 1

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 253
  • Total Committers: 7
  • Avg Commits per committer: 36.143
  • Development Distribution Score (DDS): 0.308
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Thomas Robitaille t****e@g****m 175
Pey Lian Lim l****m@s****u 49
Brigitta Sipocz b****z@g****m 11
Adrian Price-Whelan a****w@g****m 8
Daniel D'Avella d****a@s****u 4
Stuart Mumford s****t@c****m 3
David Rodriguez d****z@s****u 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 57
  • Total pull requests: 43
  • Average time to close issues: over 1 year
  • Average time to close pull requests: about 1 month
  • Total issue authors: 8
  • Total pull request authors: 7
  • Average comments per issue: 3.07
  • Average comments per pull request: 4.65
  • Merged pull requests: 32
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • pllim (35)
  • bsipocz (8)
  • astrofrog (6)
  • Cadair (3)
  • mhvk (2)
  • cclauss (1)
  • adrn (1)
  • nstarman (1)
Pull Request Authors
  • pllim (25)
  • astrofrog (9)
  • Cadair (3)
  • drdavella (2)
  • adrn (2)
  • bsipocz (1)
  • dr-rodriguez (1)
Top Labels
Issue Labels
wontfix (18) enhancement (15) bug (9) help wanted (8) stale-bot (6) question (5) changelog-bot (3) duplicate (1)
Pull Request Labels
enhancement (12) bug (10) changelog-bot (7) stale-bot (2)

Dependencies

requirements.txt pypi
  • astropy-changelog *
requirements_test.txt pypi
  • codecov * test
  • pytest >=3.5 test
  • pytest-cov * test
  • pytest-flake8 * test