shamer | simple micro-service with the goal

 by   yasyf Python Version: Current License: MIT

kandi X-RAY | shamer Summary

kandi X-RAY | shamer Summary

shamer is a Python library. shamer has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

Shamer is a simple micro-service with the goal of making it dead simple to gamify code coverage. Testing is a huge part of our culture at Localytics, and Shamer is the result of our efforts to encourage everyone to write the most thorough tests possible. Shamer allows you to generate coverage reports (we do this after every successful build), host them in a central location, and automatically comment on Pull Requests with a link to the hosted reports. The rest of that comment is where things get interesting. By allowing you to send coverage data to a single endpoint, Shamer keeps track of aggregate deltas on a per-user and per-commit basis, building a multi-repo leaderboard of each person's contributions over time. Every comment lets the owner of the PR know what their rank is on the leaderboard, and how their code is changing coverage project-wide. Shamer's guts are an app written in Python with the Flask web framework. It selectively allows access to code coverage reports hosted on Amazon S3 by authenticating users via GitHub. A user is checked for membership in an organization, and push access to a repository before being allowed to continue on to the coverage reports in S3. This server can either act as a cached proxy for reports served from your bucket, or redirect to signed, expiring URLs that allow your bucket to serve the reports directly. Additionally, Shamer includes templates for a customizable leaderboard that breaks down cumulative code coverage contribution by user and language, with a drill-down view that shows how each pull request impacted a user's total. There is a single webhook which can take any arbitrary parameters and use them to construct a comment to be posted on a GitHub pull request. Your only external responsibility in setting up Shamer is to notify this hook whenever reports are generated, sending along some relevant metadata about the commit. The included deploy script depend on this code being deployed to Heroku. If you are deploying to AWS or any other cloud provider, you will probably need to alter the code.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              shamer has a low active ecosystem.
              It has 37 star(s) with 5 fork(s). There are 39 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              shamer has no issues reported. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of shamer is current.

            kandi-Quality Quality

              shamer has 0 bugs and 0 code smells.

            kandi-Security Security

              shamer has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              shamer code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              shamer is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              shamer releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              shamer saves you 336 person hours of effort in developing the same functionality from scratch.
              It has 805 lines of code, 70 functions and 17 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed shamer and discovered the below as its top functions. This is intended to give you an instant insight into shamer implemented functionality, and help decide if they suit your requirements.
            • View hook
            • Process a pull request
            • Render a comment
            • Get a pull pull by branch name
            • View function
            • Verify that repo belongs to
            • Verify that the given org belongs to
            • View for a user leaderboard
            • Get a pull by id
            • Get pull by number
            • Gets a PR by its number or ID
            • Redirect to GitHub
            • View of the leaderboards
            • Redirect to a pending view
            • Construct a cached response
            • Redirect to the view
            • View for no authentication
            Get all kandi verified functions for this library.

            shamer Key Features

            No Key Features are available at this moment for shamer.

            shamer Examples and Code Snippets

            No Code Snippets are available at this moment for shamer.

            Community Discussions

            No Community Discussions are available at this moment for shamer.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install shamer

            You can download it from GitHub.
            You can use shamer like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/yasyf/shamer.git

          • CLI

            gh repo clone yasyf/shamer

          • sshUrl

            git@github.com:yasyf/shamer.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link