{ "info": { "author": "fyrestone", "author_email": "fyrestone@outlook.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "svnbranch\r\n==============\r\n\r\nA lightweight svn branch tool with externals support. \r\n\r\nfeatures\r\n--------------\r\n\r\n- Cross-platform (Windows/Linux/MacOSX)\r\n\r\n- Create branch through svn URLs directly, no need to clone entire repository\r\n\r\n- Auto scans externals from one or more URLs or local repository\r\n\r\n- Support all kinds of externals forms\r\n\r\n- Support peg revision and operative revision\r\n\r\n- Support non-ascii svn paths or externals\r\n\r\n\r\nInstallation\r\n--------------\r\n\r\nJust perform\r\n\r\n `$ pip install svnbranch`\r\n\r\nwhich will install this command line tool on your system.\r\n\r\n\r\nUsage\r\n--------------\r\n\r\n1. It auto scans externals from one or more URLs or local copy, and create a config template contains externals information. \r\n\r\n `$ svnbranch create_config D:\\\\Tmp\\\\sample\\\\trunk\\\\src`\r\n\r\n will get a config_template.json in the working directory, for example:\r\n\r\n .. code-block:: json\r\n\r\n {\r\n \"branch_map\": {\r\n \"https://hqc-pc:12000/svn/sample/\": {\r\n \"trunk/README.md/\": \"\",\r\n \"trunk/src/\": \"\",\r\n \"trunk/third_party/\": \"\"\r\n }\r\n },\r\n \"external_cache\": {\r\n \"...\": \"...\"\r\n },\r\n \"url_list\": [\r\n \"...\"\r\n ],\r\n \"version\": 1\r\n }\r\n\r\n\r\n2. Customize your config.\r\n\r\n Define branch_map, and the result config file looks like this:\r\n\r\n .. code-block:: json\r\n\r\n {\r\n \"branch_map\": {\r\n \"https://hqc-pc:12000/svn/sample/\": {\r\n \"trunk/README.md/\": \"branches/bak_{uuid}/README.md\",\r\n \"trunk/src/\": \"/branches/bak_{uuid}/src\",\r\n \"trunk/third_party/\": \"branches/bak_{uuid}/3rdparty\"\r\n }\r\n },\r\n \"...\": \"...\"\r\n }\r\n\r\n - The {uuid} is will be replaced by -uid, --uuid argument of create_branch sub command.\r\n\r\n\r\n3. Create branches or delete branches with your config, add -t to simulate the operation.\r\n\r\n `$ svnbranch create_branch conf/my_branch.json -t`\r\n\r\n `$ svnbranch delete_branch conf/my_branch.json 20180121T1557 -t`\r\n\r\n\r\nRepository\r\n--------------\r\n\r\nThe project is hosted on GitHub. You can look at the source here:\r\n\r\n https://github.com/fyrestone/svnbranch\r\n\r\n\r\n\r\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fyrestone/svnbranch", "keywords": "svn branch external generic utility", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "svnbranch", "package_url": "https://pypi.org/project/svnbranch/", "platform": "All", "project_url": "https://pypi.org/project/svnbranch/", "project_urls": { "Homepage": "https://github.com/fyrestone/svnbranch" }, "release_url": "https://pypi.org/project/svnbranch/1.1/", "requires_dist": [ "gevent", "url-normalize", "six" ], "requires_python": "", "summary": "A simple svn branch tool with externals support", "version": "1.1" }, "last_serial": 3569642, "releases": { "1.1": [ { "comment_text": "", "digests": { "md5": "316d34c1e22c6039ac515b0bcc2e3d9f", "sha256": "5f220442686cb2e0e7749a2be6704d4a13f50bd0850f7daf01eeea584353b273" }, "downloads": -1, "filename": "svnbranch-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "316d34c1e22c6039ac515b0bcc2e3d9f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13855, "upload_time": "2018-02-10T11:05:56", "url": "https://files.pythonhosted.org/packages/58/58/f620b2b3e086a5f6affb1283ff32586d3b2966894ed9f098bff5c98c68b2/svnbranch-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c74dd93feb13ea1280b5bd8937d1a540", "sha256": "b923ca1681753e39e07579ebcf4f2415e3cdb8a15243bd94ae264f255f815126" }, "downloads": -1, "filename": "svnbranch-1.1.tar.gz", "has_sig": false, "md5_digest": "c74dd93feb13ea1280b5bd8937d1a540", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13756, "upload_time": "2018-02-10T11:05:58", "url": "https://files.pythonhosted.org/packages/73/d0/c8e9834c553f7a4609fe4279434eeed8011f6e4103ee7d73a9f78dfa2be3/svnbranch-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "316d34c1e22c6039ac515b0bcc2e3d9f", "sha256": "5f220442686cb2e0e7749a2be6704d4a13f50bd0850f7daf01eeea584353b273" }, "downloads": -1, "filename": "svnbranch-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "316d34c1e22c6039ac515b0bcc2e3d9f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13855, "upload_time": "2018-02-10T11:05:56", "url": "https://files.pythonhosted.org/packages/58/58/f620b2b3e086a5f6affb1283ff32586d3b2966894ed9f098bff5c98c68b2/svnbranch-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c74dd93feb13ea1280b5bd8937d1a540", "sha256": "b923ca1681753e39e07579ebcf4f2415e3cdb8a15243bd94ae264f255f815126" }, "downloads": -1, "filename": "svnbranch-1.1.tar.gz", "has_sig": false, "md5_digest": "c74dd93feb13ea1280b5bd8937d1a540", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13756, "upload_time": "2018-02-10T11:05:58", "url": "https://files.pythonhosted.org/packages/73/d0/c8e9834c553f7a4609fe4279434eeed8011f6e4103ee7d73a9f78dfa2be3/svnbranch-1.1.tar.gz" } ] }