should i stale or should i close
play

Should I Stale or Should I Close? An Analysis of a Bot that Closes - PowerPoint PPT Presentation

Should I Stale or Should I Close? An Analysis of a Bot that Closes Abandoned Issues and Pull Requests Mairieli Wessel Igor Steinmacher Igor Wiese Marco Aurlio Gerosa Research funded by CNPq, FAPESP and NAU Stale Bot helps triaging


  1. Should I Stale or Should I Close? An Analysis of a Bot that Closes Abandoned Issues and Pull Requests Mairieli Wessel Igor Steinmacher Igor Wiese Marco Aurélio Gerosa Research funded by CNPq, FAPESP and NAU

  2. Stale Bot helps triaging abandoned issues and pull requests on GitHub . https://probot.github.io/apps/stale/ 2

  3. How does the Stale bot work? 3

  4. How does Stale bot work? After a period of inactivity, a label is added to mark the issue as 1 stale 4

  5. How does Stale bot work? After a period of inactivity, a label is added to mark the issue as 1 stale 5

  6. How does Stale bot work? After a period of inactivity, a label is added to mark the issue as 1 stale Has any activity occurred? 2 If the issue is updated, then the stale label is removed If no more activity occurs, the issue is closed 6

  7. How does Stale bot work? After a period of inactivity, a label is added to mark the issue as 1 stale Has any activity occurred? 2 If the issue is updated, then the stale label is removed If no more activity occurs, the issue is closed 7

  8. How to set up .github/stale.yml 8

  9. Research Questions RQ1. What are the characteristics of stale issues and pull requests? RQ2. How stable is the bot configuration for a project? 9

  10. Stale bot 765 Open Source Software Projects in our sample 10

  11. Analyzing the “only” setting 87.7% adopted the bot for both issues and pull requests 9.8% adopted the bot only for issues 2.5% adopted the bot only for pull requests 11

  12. The “daysUntilStale” and “daysUntilClose” ● Pull requests have been set to become stale in fewer days than issues ● Eight projects defined the daysUntilStale as more than 36,000 days ● 10% disabled the feature that makes the bot automatically close the issues and pull requests 12

  13. Analyzing the “staleLabel” setting stale Used in 79.6% of “issue” and 51.4% of “both” configurations wontfix Default on Stale bot abandoned Most used in “pull” configurations inactive 13

  14. Analyzing the “exemptLabels” setting security on hold newcomer pinned needs review bug waiting for CLA pass enhancement 14

  15. How stable is the bot configuration for a project? We considered the number of modifications as a proxy to the effort required to use the bot in a project. ● 59.2% of projects only added the .github/stale.yml file ● 83% of projects that changed the configuration file at least once made no more than three modifications 15

  16. The extreme case: SaltStack The configuration file was modified by 59 commits from May 12, 2017, to November 16, 2018. 16

  17. What we found... ● Most of the projects that adopted the stale bot use it for both issues and pull requests ● Stale issues tagged as bug are generally exempt from staling ● Stale pull requests that need some input to be processed are generally exempt from staling ● Adopting stale bot does not require too much effort from maintainers 17

  18. Thank you! You can find me at: mairieli.github.io mairieli@ime.usp.br @mairieli Credits to Freepik for the images used in this presentation!

  19. Should I Stale or Should I Close? An Analysis of a Bot that Closes Abandoned Issues and Pull Requests Mairieli Wessel Igor Steinmacher Igor Wiese Marco Aurélio Gerosa Research funded by CNPq, FAPESP and NAU

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend