{"id":20255576,"url":"https://github.com/ilri/cgspace-submission-guidelines","last_synced_at":"2026-04-28T10:36:01.035Z","repository":{"id":61660134,"uuid":"408036360","full_name":"ilri/cgspace-submission-guidelines","owner":"ilri","description":"CGSpace submission guidelines documentation website","archived":false,"fork":false,"pushed_at":"2026-02-23T12:58:28.000Z","size":1081,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-23T21:26:52.502Z","etag":null,"topics":["cgiar","cgspace","dcterms","documentation","dublin-core","hugo","metadata"],"latest_commit_sha":null,"homepage":"https://ilri.github.io/cgspace-submission-guidelines","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilri.png","metadata":{"files":{"readme":"README.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-19T05:04:07.000Z","updated_at":"2026-02-23T12:57:39.000Z","dependencies_parsed_at":"2024-04-04T13:32:37.361Z","dependency_job_id":"947a128a-6a99-4aae-9a0b-46e7ec1e83d9","html_url":"https://github.com/ilri/cgspace-submission-guidelines","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ilri/cgspace-submission-guidelines","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilri%2Fcgspace-submission-guidelines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilri%2Fcgspace-submission-guidelines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilri%2Fcgspace-submission-guidelines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilri%2Fcgspace-submission-guidelines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilri","download_url":"https://codeload.github.com/ilri/cgspace-submission-guidelines/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilri%2Fcgspace-submission-guidelines/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32377587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T09:24:15.638Z","status":"ssl_error","status_checked_at":"2026-04-28T09:24:15.071Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cgiar","cgspace","dcterms","documentation","dublin-core","hugo","metadata"],"created_at":"2024-11-14T10:39:27.160Z","updated_at":"2026-04-28T10:36:01.018Z","avatar_url":"https://github.com/ilri.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CGSpace Submission Guidelines\nA set of scripts to read `submission-forms.xml` from DSpace and generate documentation about metadata and controlled vocabularies. This is used as guidance for programmatic submission to the [CGSpace repository](https://cgspace.cgiar.org).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"600\" alt=\"Screenshot of documentation website\" src=\"screenshot.png\"\u003e\n\u003c/p\u003e\n\nYou can see the website here: https://ilri.github.io/cgspace-submission-guidelines\n\n## Requirements\nRequires the following on the host machine:\n\n- Python 3.10+\n- Node.js v16 and npm\n- Hugo\n\n## Preparation\nCreatve and initialize the Python virtual environment:\n\n```console\n$ python3 -m venv .venv\n$ source .venv/bin/activate\n$ pip install -r requirements.txt\n```\n\nInstall dependencies with npm and build the static CSS and JavaScript assets:\n\n```console\n$ npm install\n$ npm run build\n```\n\n## Usage\nMake sure the Python virtual environment is active and then run `parse-input-forms.py` to extract and process the DSpace metadata and controlled vocabularies:\n\n```console\n$ source .venv/bin/activate\n$ ./util/parse-input-forms.py -i ~/src/git/DSpace/dspace/config/submission-forms.xml -c ~/src/git/DSpace/dspace/config/controlled-vocabularies --clean\n```\n\nGenerate the documentation site using Hugo:\n\n```console\n$ hugo\n```\n\nYou can view a local development version using `hugo serve`. The site will be available on: http://localhost:1313/cgspace-submission-guidelines/\n\n## License\nThis work is licensed under the [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html).\n\nThe license allows you to use and modify the work for personal and commercial purposes, but if you distribute the work you must provide users with a means to access the source code for the version you are distributing. Read more about the [GPLv3 at TL;DR Legal](https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filri%2Fcgspace-submission-guidelines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filri%2Fcgspace-submission-guidelines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filri%2Fcgspace-submission-guidelines/lists"}