jacoco-badge-generator VS generate-sitemap

Compare jacoco-badge-generator vs generate-sitemap and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
jacoco-badge-generator generate-sitemap
16 8
92 54
- -
7.8 7.2
23 days ago about 2 months ago
Python Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

jacoco-badge-generator

Posts with mentions or reviews of jacoco-badge-generator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-11.
  • jacoco-badge-generator 2.11.0 Released
    1 project | dev.to | 17 Sep 2023
    jacoco-badge-generator - Coverage badges, and pull request coverage checks, from JaCoCo reports in GitHub Actions
  • jacoco-badge-generator 2.10.0 Released
    1 project | dev.to | 4 Sep 2023
    I just released jacoco-badge-generator 2.10.0, which can be run as a GitHub Action or as a command-line utility as part of CI/CD workflows for Java projects, as well as for projects in other JVM languages such as Kotlin, to parse JaCoCo test coverage reports, generate instructions coverage and branches coverage badges for project READMEs, serve as pull-request checks (e.g., validate minimum coverage thresholds), among other functionality.
  • JaCoCo Coverage Badges for Multi-Module Projects in GitHub Actions
    1 project | dev.to | 25 May 2023
    I just release version v2.9.0, which enhanced the existing functionality associated with using the jacoco-badge-generator GitHub Action with multi-module projects. Specifically, prior to this release, for a multi-module project, the paths to all of the JaCoCo csv reports had to be listed in the inputs to the action. Now, as of v2.9.0, you can use a glob pattern to specify the paths to the JaCoCo csv reports. This can actually now also work for the more common single module project, but the glob functionality is likely most useful in the multi-module case. Note that the CLI mode already implicitly supported globs since your shell will expand any globs you specify on the command line. But as a GitHub Action this previously was not the case as GitHub Actions doesn't expand globs in the inputs to an Action. The jacoco-badge-generator v2.9.0 now handles glob expansion internally.
  • Automate Updating Major Release Tag on New Releases of a GitHub Action
    5 projects | dev.to | 11 Jan 2023
    Vincent Cicirello - Open source GitHub Actions for workflow automation
  • How to Write to Workflow Job Summary from a GitHub Action
    1 project | dev.to | 21 Dec 2022
    I maintain several GitHub Actions implemented in Python as container actions. One of these, jacoco-badge-generator, produces coverage badges from JaCoCo test coverage reports. Additionally, it outputs the test coverage percentages to the workflow job summary. This example is based upon the approach I use in jacoco-badge-generator.
  • Bonus Tip: How to Use GitHub Actions to Test a GitHub Action Whose Output Must be Visually Inspected
    2 projects | dev.to | 14 Dec 2022
    Check out all of our GitHub Actions: https://actions.cicirello.org/
  • How to Test a GitHub Action with GitHub Actions
    4 projects | dev.to | 7 Dec 2022
    I maintain several GitHub Actions, all of which are implemented in Python as container actions. This post explains how to test a GitHub Action using a GitHub Actions workflow, including using the workflow as a required check on Pull Requests. Although some of this post is specific to testing an action that is implemented in Python, much of the post is more generally applicable to testing actions regardless of implementation language.
  • Using GitHub Actions to Build a Java Project With Pull Request Coverage Commenting and Coverage Badges
    1 project | dev.to | 9 Nov 2022
    The jacoco-badge-generator generates badges, but does not commit them. In this step, I just use a simple shell script to commit and push the badges. This step is conditional and runs only if the event that started the workflow is not a pull request (see the if: ${{ github.event_name != 'pull_request' }}). In other words, it runs on push and workflow_dispatch events. The coverage badges should be consistent with the state of the default branch, so committing badges that correspond to the coverage of a pull request that may or may not be merged doesn't make sense. If it is merged, the push event will then cause the workflow to run again, at which point the coverage badges will be committed. This step begins by changing the current directory to the directory where the badges branch was checked out. And it commits and pushes only if an svg or json file changed. The badges are SVGs, and recall the earlier step where I configured the jacoco-badge-generator to additionally generate a simple JSON file containing the coverage percentages.
  • How to Patch the Deprecated set-output in GitHub Workflows and in Container Actions
    5 projects | dev.to | 26 Oct 2022
    There are two primary ways of implementing a GitHub Action: JavaScript Actions and Container Actions. The latter of which enables implementing Actions in any language via a Docker container. My language of choice for implementing GitHub Actions is Python. The purpose of most of these actions is to produce files (e.g., jacoco-badge-generator produces test coverage badges as SVGs, and generate-sitemap produces an XML sitemap) or to edit files in some way (e.g., javadoc-cleanup can insert canonical links and other user-defined elements into the head of javadoc pages). However, all of these also produce workflow step outputs. For example, generate-sitemap has outputs for the number of pages in the sitemap, and the number of pages excluded from the sitemap due to noindex or robots.txt exclusions; and jacoco-badge-generator has workflow step outputs for the coverage and branches coverage percentages if a user had some reason to use those in later steps of their workflow.
  • The user-statistician GitHub Action mentioned in Awesome-README
    5 projects | dev.to | 25 Aug 2022
    Vincent Cicirello - Open source GitHub Actions for workflow automation

generate-sitemap

Posts with mentions or reviews of generate-sitemap. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-17.
  • generate-sitemap 1.9.2 Released
    1 project | dev.to | 5 Oct 2023
    generate-sitemap - Generate an XML sitemap for a GitHub pages site using GitHub Actions
  • generate-sitemap 1.9.1 Released
    2 projects | dev.to | 17 Jan 2023
    I just released generate-sitemap 1.9.1, a GitHub Action for generating XML sitemaps for static websites. The generate-sitemap GitHub Action is implemented in Python, and generates an XML sitemap by crawling the GitHub repository containing the html of the site, using commit dates to generate tags in the sitemap.
  • Automate Updating Major Release Tag on New Releases of a GitHub Action
    5 projects | dev.to | 11 Jan 2023
    I maintain several GitHub Actions, such as jacoco-badge-generator, generate-sitemap, javadoc-cleanup, and user-statistician. I've also written posts here on DEV about each of these if you'd like more information. GitHub's documentation for GitHub Action developers recommends maintaining a major release tag for the Action so that users can either reference the Action by its specific release tag, such as v1.2.3, or simply by the major release with v1. In fact, it is so commonplace that users will likely assume that your Action supports specifying full version tag or major tag only. Note that some Actions use major release branches (e.g., branch named v1) instead of tags. My intention in this post is not to discuss the advantages/disadvantages of each of these alternative approaches. In the Actions that I maintain, I use major release tags for the simple reason that it is what GitHub's documentation recommends.
  • How to Test a GitHub Action with GitHub Actions
    4 projects | dev.to | 7 Dec 2022
    We now need a way to detect if the results of the above integration tests are correct. The various actions that I maintain produce files (e.g., jacoco-badge-generator produces coverage badges, and generate-sitemap produces an XML sitemap) or edits existing files (e.g., javadoc-cleanup inserts canonical links and a few other things into the head of javadoc pages). In cases like these, I use Python's unittest module to validate the results. In this case, I define unit test cases in tests/integration.py that verify that the files produced by the action are correct. If any of those tests fail, then Python will exit with a non-zero exit code which will cause the workflow to fail.
  • Deploy a Documentation Website for a Java Library Using GitHub Actions
    3 projects | dev.to | 30 Nov 2022
    On release and workflow_dispatch events, use the generate-sitemap GitHub Action, which I maintain, to generate an XML sitemap for the documentation website. The first step below generates the sitemap, and the second one below just logs some information about that action's run to the workflow run's log (e.g., number of URLs in the sitemap, and number excluded by either robots.txt or noindex directives).
  • Generate an XML Sitemap for a Static Website in GitHub Actions
    2 projects | dev.to | 23 Nov 2022
    I use GitHub Pages for my personal website, as well as for several project sites. Although some static site generators include support for sitemap generation (e.g., Jekyll has a plugin for sitemaps), my personal website is generated by a custom static site generator that I built for a few specialized reasons, and most of my project sites for Java libraries consist of a single hand-written HTML page combined with javadoc-generated documentation. So a while back I implemented a GitHub Action, generate-sitemap, that can generate an XML sitemap by crawling a GitHub repository containing the HTML of the site. It uses the last commit date of each file to produce the tags. By default, it includes URLs for HTML and PDF files in the sitemap, and skips other file extensions in the repository. But it can be configured to include URLs corresponding to whatever file extensions you want included. It checks the head of HTML pages for noindex meta tags, and excludes such files from the sitemap, and it likewise excludes files from the sitemap if they match a Disallow rule in your robots.txt. The generate-sitemap can be configured in a few other ways as well (see the documentation in the GitHub repository for all details). The generate-sitemap action is implemented in Python as a container action.
  • How to Patch the Deprecated set-output in GitHub Workflows and in Container Actions
    5 projects | dev.to | 26 Oct 2022
    There are two primary ways of implementing a GitHub Action: JavaScript Actions and Container Actions. The latter of which enables implementing Actions in any language via a Docker container. My language of choice for implementing GitHub Actions is Python. The purpose of most of these actions is to produce files (e.g., jacoco-badge-generator produces test coverage badges as SVGs, and generate-sitemap produces an XML sitemap) or to edit files in some way (e.g., javadoc-cleanup can insert canonical links and other user-defined elements into the head of javadoc pages). However, all of these also produce workflow step outputs. For example, generate-sitemap has outputs for the number of pages in the sitemap, and the number of pages excluded from the sitemap due to noindex or robots.txt exclusions; and jacoco-badge-generator has workflow step outputs for the coverage and branches coverage percentages if a user had some reason to use those in later steps of their workflow.
  • generate-sitemap action
    4 projects | dev.to | 14 Sep 2020
    Here is a basic example workflow template that combines my generate-sitemap action with other actions. When content is pushed to the repository, generate-sitemap walks the directory structure, using last commit dates to determine when each page was last modified, skipping any html files that have noindex directives, and outputting an xml sitemap. Another action is then used to generate a pull request if the sitemap changed.

What are some alternatives?

When comparing jacoco-badge-generator and generate-sitemap you can also consider the following projects:

upload-artifact

django-freeze - :ice_cube: convert your dynamic django site to a static one with one line of code.

checkout - Action for checking out a repo

github-actions-delete-abandoned-branches - Github action to delete abandoned branches.

Chips-n-Salsa - A Java library of Customizable, Hybridizable, Iterative, Parallel, Stochastic, and Self-Adaptive Local Search Algorithms

create-envfile - Github Action to create a .env file with Github Secrets

setup-java - Set up your GitHub Actions workflow with a specific version of Java

comment-webpage-screenshot - A GitHub Action that Helps to Visually Review HTML file changes on a Pull Request by adding comments with the screenshots of the HTML file changes on the PR

cicirello - My GitHub Profile

gcovr - generate code coverage reports with gcc/gcov

shlomi-fish-homepage - Shlomi Fish’s Homepage Sources - www.shlomifish.org