{ "info": { "author": "Magnus Bjuvensj\u00f6", "author_email": "bjuvensjo@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Topic :: Utilities" ], "description": "# Scripts\n\nMiscellaneous scripts\n\n## Suggested usage ##\n\n1. Clone this repository\n2. Install with pip3 install -e .\n3. Add required environment variables, see e.g. vang/artifactory/api.py and vang/bitbucket/api.py\n4. Create a directory, e.g. ~/bin, and add it to your path\n5. Create symbolic links (see example below). If on windows, create cmd-files that calls the scripts\n6. All python scripts has help, e.g \n\n ~/bin clone-repos -h\n usage: clone-repos [-h]\n (-p PROJECTS [PROJECTS ...] | -r REPOS [REPOS ...] | -c CONFIG)\n [-b BRANCH] [-d DIR]\n\n Clone Bitbucket repos\n\n optional arguments:\n -h, --help show this help message and exit\n -p PROJECTS [PROJECTS ...], --projects PROJECTS [PROJECTS ...]\n Bitbucket projects, e.g key1 key2\n -r REPOS [REPOS ...], --repos REPOS [REPOS ...]\n Repos, e.g. key1/repo1 key2/repo2\n -c CONFIG, --config CONFIG\n Configuration file, see bb_clone_repos.json\n -b BRANCH, --branch BRANCH\n The clone branch. Overrides branch in configuration\n file (-c)\n -d DIR, --dir DIR The directory to clone into\n\n7. For the use of non-python scripts, look at the documentation in the scripts\n\n## Symbolic links example ##\n\n ln -s ~/git/scripts/vang/artifactory/delete.py ~/bin/artifactory-delete\n ln -s ~/git/scripts/vang/artifactory/publish.py ~/bin/artifactory-publish\n ln -s ~/git/scripts/vang/bitbucket/clone_repos.py ~/bin/clone-repos\n ln -s ~/git/scripts/vang/bitbucket/clone_repos_with_commits_since.py ~/bin/clone-repos-with-commits-since\n ln -s ~/git/scripts/vang/bitbucket/create_from_template.py ~/bin/create-from-template\n ln -s ~/git/scripts/vang/bitbucket/create_repo.py ~/bin/create-repo\n ln -s ~/git/scripts/vang/bitbucket/delete_repos.py ~/bin/delete-repos\n ln -s ~/git/scripts/vang/bitbucket/enable_webhooks.py ~/bin/enable-webhooks\n ln -s ~/git/scripts/vang/bitbucket/fork_repos.py ~/bin/fork-repos\n ln -s ~/git/scripts/vang/bitbucket/fork_repos_git.py ~/bin/fork-repos-git\n ln -s ~/git/scripts/vang/bitbucket/get_branches.py ~/bin/get-branches\n ln -s ~/git/scripts/vang/bitbucket/get_clone_urls.py ~/bin/get-clone-urls\n ln -s ~/git/scripts/vang/bitbucket/get_clone_urls_grep.py ~/bin/get-clone-urls-grep\n ln -s ~/git/scripts/vang/bitbucket/get_default_branches.py ~/bin/get-default-branches\n ln -s ~/git/scripts/vang/bitbucket/get_projects.py ~/bin/get-projects\n ln -s ~/git/scripts/vang/bitbucket/get_repos.py ~/bin/get-repos\n ln -s ~/git/scripts/vang/bitbucket/get_tags.py ~/bin/get-tags\n ln -s ~/git/scripts/vang/bitbucket/has_branch.py ~/bin/has-branch\n ln -s ~/git/scripts/vang/bitbucket/has_tag.py ~/bin/has-tag\n ln -s ~/git/scripts/vang/bitbucket/open_remote.py ~/bin/open-remote\n ln -s ~/git/scripts/vang/bitbucket/set_default_branches.py ~/bin/set-default-branches\n ln -s ~/git/scripts/vang/jenkins/delete_jobs.py ~/bin/delete-jobs\n ln -s ~/git/scripts/vang/jenkins/get_jobs.py ~/bin/get-jobs\n ln -s ~/git/scripts/vang/jenkins/trigger_builds.py ~/bin/trigger-builds\n ln -s ~/git/scripts/vang/maven/get_artifact_id.py ~/bin/get-artifact-id\n ln -s ~/git/scripts/vang/maven/multi_module_project.py ~/bin/mmp\n ln -s ~/git/scripts/vang/maven/project.py ~/bin/mp\n ln -s ~/git/scripts/vang/maven/switch_settings.py ~/bin/switch-settings\n ln -s ~/git/scripts/vang/misc/basic.py ~/bin/basic\n ln -s ~/git/scripts/vang/misc/ext_local.py ~/bin/ext-local\n ln -s ~/git/scripts/vang/misc/mac_ip.py ~/bin/ip\n ln -s ~/git/scripts/vang/misc/s.py ~/bin/s\n ln -s ~/git/scripts/vang/pio/command_all.py ~/bin/command-all\n ln -s ~/git/scripts/vang/pio/rsr.py ~/bin/rsr\n ln -s ~/git/scripts/vang/tfs/clone_repos.py ~/bin/tfs-clone-repos\n ln -s ~/git/scripts/vang/tfs/create_repo.py ~/bin/tfs-create-repo\n ln -s ~/git/scripts/vang/tfs/create_from_template.py ~/bin/tfs-create-from-template\n ln -s ~/git/scripts/vang/tfs/delete_repo.py ~/bin/tfs-delete-repo\n ln -s ~/git/scripts/vang/tfs/get_branches.py ~/bin/tfs-get-branches\n ln -s ~/git/scripts/vang/tfs/get_projects.py ~/bin/tfs-get-projects\n ln -s ~/git/scripts/vang/tfs/get_repos.py ~/bin/tfs-get-repos\n\n\n## Work on it\n\n1. Create a virtual environment\n\n conda create -n scripts python=3.7 autopep8 flake8 jedi more-itertools pytest pytest-cov requests twine wheel yapf\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bjuvensjo/scripts", "keywords": "python artifactory bitbucket git github maven script stash", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "vang", "package_url": "https://pypi.org/project/vang/", "platform": "", "project_url": "https://pypi.org/project/vang/", "project_urls": { "Homepage": "https://github.com/bjuvensjo/scripts" }, "release_url": "https://pypi.org/project/vang/0.7.0/", "requires_dist": [ "more-itertools", "requests", "pytest" ], "requires_python": "", "summary": "Scripts", "version": "0.7.0" }, "last_serial": 5485541, "releases": { "0.5.0": [ { "comment_text": "", "digests": { "md5": "8b54854afc3f4b90a07e9e03fbcf0b81", "sha256": "7763967b69ad8fd51f13cf82252da42b8f03420e5cc8ade28d680d1e669a3708" }, "downloads": -1, "filename": "vang-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8b54854afc3f4b90a07e9e03fbcf0b81", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 41277, "upload_time": "2018-07-30T17:57:43", "url": "https://files.pythonhosted.org/packages/72/30/58e530c4a1fb6789897beb10aeac05d8d484be0e82114c61aa91a36e859c/vang-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "969d04eedcf3c7ffe22f95efd8f7a758", "sha256": "569ff1e0e23d06ce2972a1350a0f6901bd12e8a7f8e6706a11a2f529aaaec4b9" }, "downloads": -1, "filename": "vang-0.5.0.tar.gz", "has_sig": false, "md5_digest": "969d04eedcf3c7ffe22f95efd8f7a758", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21036, "upload_time": "2018-07-30T17:57:44", "url": "https://files.pythonhosted.org/packages/eb/9e/07ce261ddf5543f7dccd5378903f04d3adde16977a340fe148d83e0f1f7a/vang-0.5.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "64a0dff35c1ed4027e63d304d4e4546b", "sha256": "9d62582e38d0d4c3e2b1775ccb939d8d918b26bb672298cd13305aeb224692a1" }, "downloads": -1, "filename": "vang-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "64a0dff35c1ed4027e63d304d4e4546b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 81887, "upload_time": "2019-07-04T08:30:02", "url": "https://files.pythonhosted.org/packages/24/ca/cc41de3e7d7ae3c356b20fb8b64548f88112a0fc6755817c44156fd728ea/vang-0.7.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "786627116f48deca97a8d801b6c47e1c", "sha256": "d9547ad91cf0ebc291d42acafbe097d128d8f3f24a5779b5a5ee9be7d21f50b0" }, "downloads": -1, "filename": "vang-0.7.0.tar.gz", "has_sig": false, "md5_digest": "786627116f48deca97a8d801b6c47e1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38923, "upload_time": "2019-07-04T08:30:04", "url": "https://files.pythonhosted.org/packages/de/db/9e972c976705962e270aeceaa01def337c59fb8310cc665875bfe9d2ad10/vang-0.7.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "64a0dff35c1ed4027e63d304d4e4546b", "sha256": "9d62582e38d0d4c3e2b1775ccb939d8d918b26bb672298cd13305aeb224692a1" }, "downloads": -1, "filename": "vang-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "64a0dff35c1ed4027e63d304d4e4546b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 81887, "upload_time": "2019-07-04T08:30:02", "url": "https://files.pythonhosted.org/packages/24/ca/cc41de3e7d7ae3c356b20fb8b64548f88112a0fc6755817c44156fd728ea/vang-0.7.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "786627116f48deca97a8d801b6c47e1c", "sha256": "d9547ad91cf0ebc291d42acafbe097d128d8f3f24a5779b5a5ee9be7d21f50b0" }, "downloads": -1, "filename": "vang-0.7.0.tar.gz", "has_sig": false, "md5_digest": "786627116f48deca97a8d801b6c47e1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38923, "upload_time": "2019-07-04T08:30:04", "url": "https://files.pythonhosted.org/packages/de/db/9e972c976705962e270aeceaa01def337c59fb8310cc665875bfe9d2ad10/vang-0.7.0.tar.gz" } ] }