All Projects → skapral → Puzzlerbot

skapral / Puzzlerbot

Licence: mit
PDD manager which manages puzzles in issue/PR comments

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Puzzlerbot

Op Note
当我有服务器时我做了什么 · 个人服务器运维指南
Stars: ✭ 733 (+3565%)
Mutual labels:  gitlab
Owasp Threat Dragon Gitlab
OWASP Threat Dragon with Gitlab Integration
Stars: ✭ 17 (-15%)
Mutual labels:  gitlab
Docker Gitlab
Dockerized GitLab
Stars: ✭ 7,084 (+35320%)
Mutual labels:  gitlab
Client
GitLab API v4 client for PHP
Stars: ✭ 763 (+3715%)
Mutual labels:  gitlab
Git Repo
Git-Repo: CLI utility to manage git services from your workspace
Stars: ✭ 818 (+3990%)
Mutual labels:  gitlab
Gitlab Docker Letsencrypt
Gitlab CE + Docker Compose + Let's Encrypt (auto generate/renew)
Stars: ✭ 22 (+10%)
Mutual labels:  gitlab
Gitlab Mirrors
A set of scripts adding the ability of managing remote mirrors to GitLab.
Stars: ✭ 719 (+3495%)
Mutual labels:  gitlab
Trackdown
TrackDown - Issue Tracking with plain Markdown. If you are missing the "git clone" for your tickets from github.com or bitbucket.org, then this is for you. A lightweight Ticketing System for distributed and unconnected small Teams.
Stars: ✭ 10 (-50%)
Mutual labels:  gitlab
Tutoriel Gitlab
Tutoriel GitLab en Français
Stars: ✭ 17 (-15%)
Mutual labels:  gitlab
Gitlab
Ruby wrapper and CLI for the GitLab REST API
Stars: ✭ 939 (+4595%)
Mutual labels:  gitlab
Agola
Agola: CI/CD Redefined
Stars: ✭ 783 (+3815%)
Mutual labels:  gitlab
Scala Steward
🤖 A bot that helps you keep your Scala projects up-to-date
Stars: ✭ 812 (+3960%)
Mutual labels:  gitlab
Bugzilla2gitlab
An issue migrator
Stars: ✭ 24 (+20%)
Mutual labels:  gitlab
Gitbeaker
🤖 GitLab API NodeJS library with full support of all the Gitlab API services.
Stars: ✭ 755 (+3675%)
Mutual labels:  gitlab
Feign
Feign makes writing java http clients easier
Stars: ✭ 7,681 (+38305%)
Mutual labels:  jax-rs
Typescript Generator
Generates TypeScript from Java - JSON declarations, REST service client
Stars: ✭ 729 (+3545%)
Mutual labels:  jax-rs
Octohint
The missing IntelliSense hint for GitHub and GitLab
Stars: ✭ 906 (+4430%)
Mutual labels:  gitlab
Gitcommands
Here is a list of some basic Git commands to get you going with Git
Stars: ✭ 11 (-45%)
Mutual labels:  gitlab
Autorest Nominatim Example
AutoREST Nominatim [jre, gwt, android, jee] example
Stars: ✭ 9 (-55%)
Mutual labels:  jax-rs
Release Notary
App to just generate release notes.
Stars: ✭ 26 (+30%)
Mutual labels:  gitlab

Puzzler bot

Build Status (Travis) Build status (AppVeyor) Codecov

Notice:

Puzzle Driven Development concept, pdd and 0pdd tools belong to Yegor Bugayenko. Links:

Introduction:

@puzzlerbot is a bot which provides new ways of managing the puzzles - trackable TODO stub-like tasks which make possible to cut corners in fast and smooth way. Initial concept supposes that the puzzles are defined as specially-formatted TODO items in the project's source code, but practically this approach has some drawbacks:

  • Code base is volatile. Puzzles in the code rarely stay in one line. Some code is added, some code is removed, some codebase is changed intentionally or during merge conflicts resolving - it all means that puzzle in code has no stable identity. It opens plenty of ways to mess the issue tracker or get abnormal behavior of the parsers.

  • Code is not the only place where we could cut corners: we may want to cut corners during various high-level discussions, architecture planning, epic stories decomposition - somewhere where code is not existing yet.

  • The syntax, used by documentation generators (like javadoc, for example) differs from conventions, used in GitHub (Markdown). It makes the puzzle hard, almost impossible, to format properly both in documentation and in GitHub Markdown.

@puzzlerbot's approach is to scan for puzzles in issues or pull requests comments after the issue or pull request is closed. Comments tend to be more stable than the code base, they may exist when even no code is written yet, and they are rarely changed.

Principles:

  • @puzzlerbot is not a replacement for 0pdd. It will be always possible to use them both in one project without conflicts.

Quick setup:

Puzzlerbot supports GitHub and GitLab integration.

GitHub

Just add new GitHub webhook to your project's "Settings" -> "Webhooks" tab:

  • Payload URL: https://puzzler-bot.apps.skapral.com/github
  • Content-type: application/json
  • Which events would you like to trigger this webhook: Issues and Pull requests would be enough.

GitLab

In your GitLab project's "Settings" -> "Integration" view, add new webhook:

  • Payload URL: https://puzzler-bot.apps.skapral.com/gitlab
  • Trigger: Issues events and Merge requests events would be enough.

Misc

Note that you can also deploy your own private and personal @puzzlerbot instance using this guide.

How to create a puzzle

Puzzles are placed in issue or pull request comments. Once the issue or pull request is closed, @puzzlerbot scans its comments for puzzles and creates one issue per puzzle. One comment may have at most one puzzle. To make @puzzlebot properly recognize your puzzles, follow conventions described in this section.

Consider comment with this text:

@puzzlebot FYI

Something weird happened with the system, needs to be fixed.

Steps to reproduce:
0. Preconditions
1. Step one
2. Step two
3. Step three

Expected result: Everything is okay.
Actual result Exception is thrown.

This comment will be parsed by @puzzlerbot as a puzzle with title "Something weird happened with the system, heeds to be fixed." and description "Steps to reproduce..." etc.

In details

When parsing comments and seeking for puzzles, @puzzlerbot splits each comment to paragraphs and classifies each paragraph to one of the types below:

  • Controlling - the paragraph which mentions @puzzlerbot user. Controlling paragraphs are an indicator that the comment represents a puzzle. One comment may have any number of controlling paragraphs but only the first will be taken into account. Controlling paragraphs are not included to the resulting issue.

  • Title - the first non-controlling paragraph in a comment. One comment may have only one title paragraph. This paragraph is used for the issue's title.

  • Description - rest of the paragraphs. They are used as the issue's description.

License

MIT License

Copyright (c) 2018 Kapralov Sergey

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].