{"id":14969739,"url":"https://github.com/bastian/bstats-metrics","last_synced_at":"2025-04-09T05:01:31.157Z","repository":{"id":39596620,"uuid":"82283448","full_name":"Bastian/bstats-metrics","owner":"Bastian","description":"The different bStats Metrics classes","archived":false,"fork":false,"pushed_at":"2025-03-18T19:14:16.000Z","size":393,"stargazers_count":104,"open_issues_count":17,"forks_count":113,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-02T04:04:15.442Z","etag":null,"topics":["bstats","bukkit","bungeecord","hacktoberfest","metrics","minecraft","spigot","sponge"],"latest_commit_sha":null,"homepage":"https://bStats.org","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bastian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-17T09:59:56.000Z","updated_at":"2025-03-18T19:14:20.000Z","dependencies_parsed_at":"2024-07-28T18:46:22.325Z","dependency_job_id":"6d5cc5d8-4af7-4fb6-b089-0eb088b5b631","html_url":"https://github.com/Bastian/bstats-metrics","commit_stats":{"total_commits":55,"total_committers":10,"mean_commits":5.5,"dds":"0.32727272727272727","last_synced_commit":"fd56718a218b521e94c28af31e136cce99fa541f"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bastian%2Fbstats-metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bastian%2Fbstats-metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bastian%2Fbstats-metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bastian%2Fbstats-metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bastian","download_url":"https://codeload.github.com/Bastian/bstats-metrics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980815,"owners_count":21027804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bstats","bukkit","bungeecord","hacktoberfest","metrics","minecraft","spigot","sponge"],"created_at":"2024-09-24T13:42:17.922Z","updated_at":"2025-04-09T05:01:31.133Z","avatar_url":"https://github.com/Bastian.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bStats Java Metrics Classes\n\nThis repository contains the code for all Java-based Metrics classes.\n\n## Code Generation\n\nThe recommended way to include the Metrics classes is to use a build management tool like Gradle or Maven and\nshade + relocate the required classes.\n\nHowever, to make bStats more accessible for beginners, a single file Metrics class is automatically generated on every\nrelease and pushed to the `single-file` branch. This file can simply be copy-and-pasted.\n\nTo generate a Metrics class locally, you can run the `gradlew generateMetrics` command.\nIt will write the generated files into the `\u003cplatform\u003e/build/generated/` directory.\n\n## Publishing\n\nSnapshots are automatically published on every push.\n\nTo publish a new release, one can simply remove the `-SNAPSHOT` suffix from the version in the `gradle.properties` file\nand in the [`MetricsBase`](/base/src/main/java/org/bstats/MetricsBase.java) class.\nThis will automatically trigger a GitHub Action that\n* Publishes a GitHub Release\n* Pushes the new version to Maven Central\n* Creates and pushes a new commit that updates the version by one patch level and append a `-SNAPSHOT` suffix (e.g., `2.3.4` -\u003e `2.3.5-SNAPSHOT`).\n\n## GitHub Action Secrets\n\nFor the GitHub Actions to properly work, one must configure the following [encrypted secrets](https://docs.github.com/en/actions/reference/encrypted-secrets):\n* `OSSRH_USERNAME`: The username used to publish the Maven Central\n* `OSSRH_TOKEN`: The password used to publish to Maven Central\n* `SIGNING_KEY`: The PGP private key used to sign the built artifacts (can be obtained by running `gpg --export-secret-keys -a \u003ckey-id\u003e \u003e key.txt`)\n* `SIGNING_PASSWORD`: The passphrase that protects the private key","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastian%2Fbstats-metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbastian%2Fbstats-metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbastian%2Fbstats-metrics/lists"}