{"id":36662413,"url":"https://github.com/uwu-tools/magex","last_synced_at":"2026-01-12T10:30:06.531Z","repository":{"id":160222732,"uuid":"635136516","full_name":"uwu-tools/magex","owner":"uwu-tools","description":"Helper methods for Magefiles","archived":false,"fork":false,"pushed_at":"2025-09-29T07:56:28.000Z","size":328,"stargazers_count":5,"open_issues_count":3,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-29T09:28:43.147Z","etag":null,"topics":["go","golang","mage","magefile","make","makefile"],"latest_commit_sha":null,"homepage":"","language":"Go","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/uwu-tools.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-02T03:34:18.000Z","updated_at":"2025-09-29T07:56:30.000Z","dependencies_parsed_at":"2023-09-25T09:30:45.512Z","dependency_job_id":"0fb76f7b-a502-4242-83a6-d6fa16c927c3","html_url":"https://github.com/uwu-tools/magex","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/uwu-tools/magex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwu-tools%2Fmagex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwu-tools%2Fmagex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwu-tools%2Fmagex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwu-tools%2Fmagex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uwu-tools","download_url":"https://codeload.github.com/uwu-tools/magex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwu-tools%2Fmagex/sbom","scorecard":{"id":913602,"data":{"date":"2025-08-19T07:29:49Z","repo":{"name":"github.com/uwu-tools/magex","commit":"d3b65c106cdded59d617141a85b7e50298b9e85d"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":8.1,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:  12 out of  12 GitHub-owned GitHubAction dependencies pinned","Info:   6 out of   6 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":9,"reason":"11 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:31","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:32","Info: jobLevel 'contents' permission set to 'read': .github/workflows/scorecard.yml:29","Info: jobLevel 'actions' permission set to 'read': .github/workflows/scorecard.yml:30","Warn: no topLevel permission defined: .github/workflows/check-dependencies.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:24","Info: topLevel 'contents' permission set to 'read': .github/workflows/dependency-review.yml:13","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yml:18","Info: topLevel 'contents' permission set to 'read': .github/workflows/test.yaml:10","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"Contributors","score":10,"reason":"project has 5 contributing companies or organizations","details":["Info: found contributions from: azure, getporter, ladygogo, openstacknetsdk, womenwhogo"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}},{"name":"CI-Tests","score":10,"reason":"30 out of 30 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}}]},"last_synced_at":"2025-08-24T20:10:02.018Z","repository_id":160222732,"created_at":"2025-08-24T20:10:02.018Z","updated_at":"2025-08-24T20:10:02.018Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["go","golang","mage","magefile","make","makefile"],"created_at":"2026-01-12T10:30:05.844Z","updated_at":"2026-01-12T10:30:06.515Z","avatar_url":"https://github.com/uwu-tools.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magefile Extensions\n\n![test](https://github.com/uwu-tools/magex/workflows/test/badge.svg)\n\nThis library provides helper methods to use with [mage](https://magefile.org).\n\nBelow is a sample of the type of helpers available. Full examples and\ndocumentation is on [godoc](https://godoc.org/github.com/uwu-tools/magex).\n\n```go\n// +build mage\n\npackage main\n\nimport (\n\t\"github.com/uwu-tools/magex/pkg\"\n\t\"github.com/uwu-tools/magex/shx\"\n)\n\n// Check if packr2 is in the bin/ directory and is at least v2.\n// If not, install packr@v2.8.0 into bin/\nfunc EnsurePackr2() error {\n\topts := pkg.EnsurePackageOptions{\n\t\tName: \"github.com/gobuffalo/packr/v2/packr2\",\n\t\tDefaultVersion: \"v2.8.0\",\n\t\tVersionCommand: \"version\",\n\t\tDestination: \"bin\",\n    }\n   return pkg.EnsurePackageWith(opts)\n}\n\n// Install mage if it's not available, and ensure it's in PATH. We don't care which version\nfunc Mage() error {\n    return pkg.EnsureMage(\"\")\n}\n\n// Run a docker registry in a container. Do not print stdout and only print\n// stderr when the command fails even when -v is set.\n//\n// Useful for commands that you only care about when it fails, keeping unhelpful\n// output out of your logs.\nfunc StartRegistry() error {\n    return shx.RunE(\"docker\", \"run\", \"-d\", \"-p\", \"5000:5000\", \"--name\", \"registry\", \"registry:2\")\n}\n\n// Use go to download a tool, build and install it manually so \n// that it has version information embedded in the final binary.\nfunc CustomInstallTool() error {\n\terr := shx.RunE(\"go\", \"get\", \"-u\", \"github.com/magefile/mage\")\n\tif err != nil {\n    \t\treturn err\n\t}\n    \n\tsrc := filepath.Join(GOPATH(), \"src/github.com/magefile/mage\")\n\treturn shx.Command(\"go\", \"run\", \"bootstrap.go\").In(src).RunE()\n}\n```\n\n## Attribution\n\nThis project is a fork of https://github.com/carolynvs/magex at\n[0b6a1c6](https://github.com/carolynvs/magex/tree/0b6a1c6d5cba42cbad741c93546e99837b1c1fb9).\n\n### In Memoriam\n\n[Carolyn Van Slyck](https://github.com/carolynvs) was the original maintainer\nof this project and is no longer with us.\nShe was a fan of [`mage`](https://magefile.org/) and I'd like to do my small\npart by continuing her extensions project.\n\nIf you've had the opportunity to work with Carolyn and would like to leave a\nmessage in her memory, please take a moment to do so on her CNCF\n[memorial page](https://github.com/cncf/memorials/blob/main/carolyn-van-slyck.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuwu-tools%2Fmagex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuwu-tools%2Fmagex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuwu-tools%2Fmagex/lists"}