{"id":30991617,"url":"https://github.com/ome/omero-demo-cleanup","last_synced_at":"2025-09-12T20:38:19.329Z","repository":{"id":43181702,"uuid":"431034696","full_name":"ome/omero-demo-cleanup","owner":"ome","description":"A CLI plugin for managing the disk space on the OME demo server","archived":false,"fork":false,"pushed_at":"2025-08-04T20:30:48.000Z","size":79,"stargazers_count":2,"open_issues_count":3,"forks_count":4,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-08-04T23:00:16.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ome.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2021-11-23T09:18:52.000Z","updated_at":"2025-01-06T09:40:06.000Z","dependencies_parsed_at":"2023-11-30T01:03:50.767Z","dependency_job_id":"4ef2e1dd-639d-439e-8479-7396c43a6d8f","html_url":"https://github.com/ome/omero-demo-cleanup","commit_stats":{"total_commits":94,"total_committers":8,"mean_commits":11.75,"dds":0.6914893617021276,"last_synced_commit":"63ea13b39d7464d1df82724a63f696f2356d03c6"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ome/omero-demo-cleanup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ome%2Fomero-demo-cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ome%2Fomero-demo-cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ome%2Fomero-demo-cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ome%2Fomero-demo-cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ome","download_url":"https://codeload.github.com/ome/omero-demo-cleanup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ome%2Fomero-demo-cleanup/sbom","scorecard":{"id":706019,"data":{"date":"2025-08-11","repo":{"name":"github.com/ome/omero-demo-cleanup","commit":"dac2ac8eec98c385cdf1aeaf0b067b58566fd646"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.9,"checks":[{"name":"Code-Review","score":6,"reason":"Found 3/5 approved changesets -- score normalized to 6","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/omero_plugin.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/ome/omero-demo-cleanup/omero_plugin.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/omero_plugin.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/ome/omero-demo-cleanup/omero_plugin.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish_pypi.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/ome/omero-demo-cleanup/publish_pypi.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish_pypi.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/ome/omero-demo-cleanup/publish_pypi.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish_pypi.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/ome/omero-demo-cleanup/publish_pypi.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/omero_plugin.yml:1","Warn: no topLevel permission defined: .github/workflows/publish_pypi.yml:1","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: GNU General Public License v2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/ome/.github/SECURITY.md:1","Info: Found linked content: github.com/ome/.github/SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: github.com/ome/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish_pypi.yml:6"],"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}}]},"last_synced_at":"2025-08-22T06:36:37.082Z","repository_id":43181702,"created_at":"2025-08-22T06:36:37.082Z","updated_at":"2025-08-22T06:36:37.082Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273798310,"owners_count":25170130,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-09-12T20:38:14.960Z","updated_at":"2025-09-12T20:38:19.322Z","avatar_url":"https://github.com/ome.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://github.com/ome/omero-demo-cleanup/workflows/OMERO/badge.svg\n   :target: https://github.com/ome/omero-demo-cleanup/actions\n\n.. image:: https://badge.fury.io/py/omero-demo-cleanup.svg\n    :target: https://badge.fury.io/py/omero-demo-cleanup\n\nOMERO demo cleanup\n==================\n\nThis OMERO command-line plugin allows you to compute the space per user, find\nthe users with the biggest amount of data and free disk space on a server\n\nTo generate the list of users which data must be deleted to free 300GB on the\nsystem without running the deletion::\n\n    $ omero demo-cleanup --gigabytes 300\n\nTo ignore users who's data whose data must not be deleted, you can Tag those users\nand specify the `Tag` or parent `Tag Group` by `Name` or `ID`.\nThis is enabled by default using a Tag named \"NO DELETE\".\nSo it is preferable to Tag users on the server with a `Tag` named \"NO DELETE\" or create\na `Tag Group` named \"NO DELETE\" containing Tags linked to users.\n\n    # Add a Tag to a User via CLI (not possible to see this in the clients)\n    $ omero obj new ExperimenterAnnotationLink child=TagAnnotation:123 parent=Experimenter:52\n\n    # Choose a non-default Tag or Tag Group (by ID or Name) to ignore the tagged users\n    $ omero demo-cleanup --gigabytes 300 --ignore-tag \"Tag Name\"\n\nYou can also specify individual users by ID or user name, e.g:\n\n    --ignore-users 123,user-1,ben,234\n\nTo generate the list of users which data must be deleted to free 300GB on the\nsystem and running the deletion (WARNING: data belonging to these users will\nbe removed permanently)::\n\n    $ omero demo-cleanup --gigabytes 300 --force\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fome%2Fomero-demo-cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fome%2Fomero-demo-cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fome%2Fomero-demo-cleanup/lists"}