{"id":28395144,"url":"https://github.com/databiosphere/hca-import-validation","last_synced_at":"2025-06-27T01:31:14.630Z","repository":{"id":37485611,"uuid":"338134617","full_name":"DataBiosphere/hca-import-validation","owner":"DataBiosphere","description":"A utility to validate a staging area before it is imported.","archived":false,"fork":false,"pushed_at":"2024-10-23T00:33:20.000Z","size":60,"stargazers_count":1,"open_issues_count":6,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-23T05:44:35.053Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DataBiosphere.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":"2021-02-11T19:45:39.000Z","updated_at":"2025-01-16T18:57:26.000Z","dependencies_parsed_at":"2024-10-23T06:48:39.929Z","dependency_job_id":"dd9aac0f-97c4-40f4-a3d3-dec4f7e9f1bc","html_url":"https://github.com/DataBiosphere/hca-import-validation","commit_stats":{"total_commits":71,"total_committers":6,"mean_commits":"11.833333333333334","dds":0.2676056338028169,"last_synced_commit":"8801d847e77126c293e1bdc93e5726406f476618"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/DataBiosphere/hca-import-validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fhca-import-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fhca-import-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fhca-import-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fhca-import-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DataBiosphere","download_url":"https://codeload.github.com/DataBiosphere/hca-import-validation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataBiosphere%2Fhca-import-validation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262172361,"owners_count":23269991,"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":[],"created_at":"2025-05-31T19:39:18.595Z","updated_at":"2025-06-27T01:31:14.618Z","avatar_url":"https://github.com/DataBiosphere.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HCA Staging Import Validator\n\nRuns a pre-check of a staging area to identify issues that might cause the snapshot or indexing processes to fail.\n\nNote to develop on this repo, you will need to [Setup Git Secrets](https://dsp-security.broadinstitute.org/platform-security-categories/git/setup-git-secrets).\n\n## Testing\nNB - this can take over 10 hours to run, depending on the size of the staging area. In the future, we may want to add a fake test staging area to speed up testing.\n```bash\npython validate_staging_area.py --staging-area \u003cgs_path\u003e --ignore-dangling-inputs\n```\n\n## PRs\nOnce you have tested locally, built and pushed to TestPyPi successfully, you can submit a PR. Current reviewers are `aherbst-broad` and `danielsotirhos`.\n\n## Building and publishing\n\nWe follow the basic python packaging and distribution [guide](https://packaging.python.org/tutorials/packaging-projects/).\nThese instructions assume you are working from the repository root, and that you have appropriate permissions to the\ncorresponding pypi project. It's encouraged that any changes to this package be tested via [testpypi](https://test.pypi.org) first.\n(NB you will need accounts on both PyPI and test.pypi.org, as well as permission to upload to this project in both.)\n\n\u003e**⚠ WARNING:**\n\u003eBe sure to update the version number in the `pyproject.toml` file before building and uploading to (test)PyPI!\u003cbr\u003e\n\n* Install `build`:\n```bash\npython -m pip install --upgrade build\n```\n* Build packages:\n```bash\npython -m build\n```\n* Install `twine`:\n```bash\npython -m pip install --upgrade twine\n```\n* Test the upload:\n```bash\npython -m twine upload --repository testpypi dist/*\n```\n* Upload the package to pypi (ideally using an [API token](https://pypi.org/help/#apitoken))\n```bash\npython -m twine upload dist/*\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatabiosphere%2Fhca-import-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatabiosphere%2Fhca-import-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatabiosphere%2Fhca-import-validation/lists"}