{"id":29201069,"url":"https://github.com/datopian/ckanext-gtm","last_synced_at":"2025-07-19T23:04:42.657Z","repository":{"id":233542380,"uuid":"785711339","full_name":"datopian/ckanext-gtm","owner":"datopian","description":"Simple extension that injects GTM code in base template","archived":false,"fork":false,"pushed_at":"2024-04-16T14:16:05.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-07-02T11:13:44.076Z","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":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datopian.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}},"created_at":"2024-04-12T13:12:01.000Z","updated_at":"2024-04-16T12:52:50.000Z","dependencies_parsed_at":"2024-04-16T16:43:21.552Z","dependency_job_id":"ccd39b4f-4b81-440e-b513-6e053a19b06e","html_url":"https://github.com/datopian/ckanext-gtm","commit_stats":null,"previous_names":["datopian/ckanext-gtm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datopian/ckanext-gtm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-gtm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-gtm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-gtm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-gtm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datopian","download_url":"https://codeload.github.com/datopian/ckanext-gtm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-gtm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266038097,"owners_count":23867653,"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-07-02T11:07:22.006Z","updated_at":"2025-07-19T23:04:42.649Z","avatar_url":"https://github.com/datopian.png","language":"Python","readme":"[![Tests](https://github.com/datopian/ckanext-gtm/workflows/Tests/badge.svg?branch=main)](https://github.com/datopian/ckanext-gtm/actions)\n\n# ckanext-gtm\n\n**TODO:** Put a description of your extension here:  What does it do? What features does it have? Consider including some screenshots or embedding a video!\n\n\n## Requirements\n\n**TODO:** For example, you might want to mention here which versions of CKAN this\nextension works with.\n\nIf your extension works across different versions you can add the following table:\n\nCompatibility with core CKAN versions:\n\n| CKAN version    | Compatible?   |\n| --------------- | ------------- |\n| 2.6 and earlier | not tested    |\n| 2.7             | not tested    |\n| 2.8             | not tested    |\n| 2.9             | not tested    |\n\nSuggested values:\n\n* \"yes\"\n* \"not tested\" - I can't think of a reason why it wouldn't work\n* \"not yet\" - there is an intention to get it working\n* \"no\"\n\n\n## Installation\n\n**TODO:** Add any additional install steps to the list below.\n   For example installing any non-Python dependencies or adding any required\n   config settings.\n\nTo install ckanext-gtm:\n\n1. Activate your CKAN virtual environment, for example:\n\n     . /usr/lib/ckan/default/bin/activate\n\n2. Clone the source and install it on the virtualenv\n\n    git clone https://github.com/datopian/ckanext-gtm.git\n    cd ckanext-gtm\n    pip install -e .\n\tpip install -r requirements.txt\n\n3. Add `gtm` to the `ckan.plugins` setting in your CKAN\n   config file (by default the config file is located at\n   `/etc/ckan/default/ckan.ini`).\n\n4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:\n\n     sudo service apache2 reload\n\n\n## Config settings\n\nNone at present\n\n**TODO:** Document any optional config settings here. For example:\n\n\t# The minimum number of hours to wait before re-checking a resource\n\t# (optional, default: 24).\n\tckanext.gtm.some_setting = some_default_value\n\n\n## Developer installation\n\nTo install ckanext-gtm for development, activate your CKAN virtualenv and\ndo:\n\n    git clone https://github.com/datopian/ckanext-gtm.git\n    cd ckanext-gtm\n    python setup.py develop\n    pip install -r dev-requirements.txt\n\n\n## Tests\n\nTo run the tests, do:\n\n    pytest --ckan-ini=test.ini\n\n\n## Releasing a new version of ckanext-gtm\n\nIf ckanext-gtm should be available on PyPI you can follow these steps to publish a new version:\n\n1. Update the version number in the `setup.py` file. See [PEP 440](http://legacy.python.org/dev/peps/pep-0440/#public-version-identifiers) for how to choose version numbers.\n\n2. Make sure you have the latest version of necessary packages:\n\n    pip install --upgrade setuptools wheel twine\n\n3. Create a source and binary distributions of the new version:\n\n       python setup.py sdist bdist_wheel \u0026\u0026 twine check dist/*\n\n   Fix any errors you get.\n\n4. Upload the source distribution to PyPI:\n\n       twine upload dist/*\n\n5. Commit any outstanding changes:\n\n       git commit -a\n       git push\n\n6. Tag the new release of the project on GitHub with the version number from\n   the `setup.py` file. For example if the version number in `setup.py` is\n   0.0.1 then do:\n\n       git tag 0.0.1\n       git push --tags\n\n## License\n\n[AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatopian%2Fckanext-gtm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatopian%2Fckanext-gtm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatopian%2Fckanext-gtm/lists"}