{ "info": { "author": "Aptivate", "author_email": "mapaction-team@aptivate.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "===================\nckanext-userautoadd\n===================\n\nCKAN plugin to add new users to an existing organization automatically.\n\nThis plugin implements the ``user_create`` action to add users to an existing\norganization with a given role (both specified in the configuration - See Config\nSettings below).\n\n------------\nRequirements\n------------\n\nTested with CKAN v2.5.2\n\n------------\nInstallation\n------------\n\n\nTo install ckanext-userautoadd:\n\n1. Activate your CKAN virtual environment, for example::\n\n . /usr/lib/ckan/default/bin/activate\n\n2. Install the ckanext-userautoadd Python package into your virtual environment::\n\n pip install ckanext-userautoadd\n\n3. Add ``userautoadd`` to the ``ckan.plugins`` setting in your CKAN\n config file (by default the config file is located at\n ``/etc/ckan/default/production.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---------------\nConfig Settings\n---------------\n\n::\n\n # The organization to which new users are added\n ckan.userautoadd.organization_name = my_organization\n\n # The role the new users will have\n ckan.userautoadd.organization_role = editor\n\n\n------------------------\nDevelopment Installation\n------------------------\n\nTo install ckanext-userautoadd for development, activate your CKAN virtualenv and\ndo::\n\n git clone https://github.com/aptivate/ckanext-userautoadd.git\n cd ckanext-userautoadd\n python setup.py develop\n pip install -r dev-requirements.txt\n\n\n-----------------\nRunning the Tests\n-----------------\n\nTo run the tests, do::\n\n nosetests --nologcapture --with-pylons=test.ini\n\nTo run the tests and produce a coverage report, first make sure you have\ncoverage installed in your virtualenv (``pip install coverage``) then run::\n\n nosetests --nologcapture --with-pylons=test.ini --with-coverage --cover-package=ckanext.userautoadd --cover-inclusive --cover-erase --cover-tests\n\n\n---------------------------------------\nRegistering ckanext-userautoadd on PyPI\n---------------------------------------\n\nckanext-userautoadd should be availabe on PyPI as\nhttps://pypi.python.org/pypi/ckanext-userautoadd. If that link doesn't work, then\nyou can register the project on PyPI for the first time by following these\nsteps:\n\n1. Create a source distribution of the project::\n\n python setup.py sdist\n\n2. Register the project::\n\n python setup.py register\n\n3. Upload the source distribution to PyPI::\n\n python setup.py sdist upload\n\n4. Tag the first 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\n----------------------------------------------\nReleasing a New Version of ckanext-userautoadd\n----------------------------------------------\n\nckanext-userautoadd is availabe on PyPI as https://pypi.python.org/pypi/ckanext-userautoadd.\nTo publish a new version to PyPI follow these steps:\n\n1. Update the version number in the ``setup.py`` file.\n See `PEP 440 `_\n for how to choose version numbers.\n\n2. Create a source distribution of the new version::\n\n python setup.py sdist\n\n3. Upload the source distribution to PyPI::\n\n python setup.py sdist upload\n\n4. 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.2 then do::\n\n git tag 0.0.2\n git push --tags", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aptivate/ckanext-userautoadd", "keywords": "CKAN user organization group", "license": "AGPL", "maintainer": null, "maintainer_email": null, "name": "ckanext-userautoadd", "package_url": "https://pypi.org/project/ckanext-userautoadd/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ckanext-userautoadd/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/aptivate/ckanext-userautoadd" }, "release_url": "https://pypi.org/project/ckanext-userautoadd/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "CKAN extension to add new users to groups and organisations", "version": "1.0.1" }, "last_serial": 2213955, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "227ccf28aed626c5d8a80873a3acb625", "sha256": "70a849599f713082e188b482cdcbaa0c93381e42069f961be5c20b327cda0a10" }, "downloads": -1, "filename": "ckanext-userautoadd-1.0.1.tar.gz", "has_sig": false, "md5_digest": "227ccf28aed626c5d8a80873a3acb625", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5546, "upload_time": "2016-07-11T10:10:25", "url": "https://files.pythonhosted.org/packages/5b/03/c08b2ec3be58629393703dd50fb7afd5057dc7d66fc1ee0f3865e71dd726/ckanext-userautoadd-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "227ccf28aed626c5d8a80873a3acb625", "sha256": "70a849599f713082e188b482cdcbaa0c93381e42069f961be5c20b327cda0a10" }, "downloads": -1, "filename": "ckanext-userautoadd-1.0.1.tar.gz", "has_sig": false, "md5_digest": "227ccf28aed626c5d8a80873a3acb625", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5546, "upload_time": "2016-07-11T10:10:25", "url": "https://files.pythonhosted.org/packages/5b/03/c08b2ec3be58629393703dd50fb7afd5057dc7d66fc1ee0f3865e71dd726/ckanext-userautoadd-1.0.1.tar.gz" } ] }