{ "info": { "author": "Jord Nijhuis", "author_email": "jord@nijhuis.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Version Control" ], "description": "SVN-Ignore\r\n==========\r\n\r\n.. image:: https://img.shields.io/pypi/v/svn-ignore.svg?maxAge=2592000\r\n :target: https://pypi.python.org/pypi/SVN-Ignore/\r\n.. image:: https://travis-ci.org/Sidesplitter/SVN-Ignore.svg\r\n :target: https://travis-ci.org/Sidesplitter/SVN-Ignore/\r\n.. image:: https://img.shields.io/pypi/pyversions/svn-ignore.svg?maxAge=2592000\r\n :target: https://pypi.python.org/pypi/SVN-Ignore/\r\n\r\nA utility that provides .svnignore functionality similar to GIT.\r\n\r\nLets face it, the svn:ignore property is pretty poor in comparison to\r\nGIT, it does not update itself when you add new files, exceptions are\r\nnot possible, and it cannot be specified in a single file. That's\r\nexactly why this utility exists\r\n\r\nFeatures that this utility provides: - A .svnignore file that lets you\r\nspecify which files should be ignored - The possibility to add\r\nexceptions(Lines starting with !) to the SVN Ignore file - Updating the\r\nsvn:ignore property every time you add new files\r\n\r\nInstallation\r\n------------\r\n\r\nMake sure that you have SVN installed before you run SVN-Ignore, as it\r\nrequires the ``svn`` command.\r\n\r\nTo install SVN-Ignore, simply run: ``pip install svn-ingore``. After\r\nthat you can run ``svn-ignore`` on any directory\r\n\r\nUsage\r\n-----\r\n\r\nSimply calling ``svn-ignore [directory]`` will run the utility. If the\r\ndirectory is left empty, it will use the working directory.\r\n\r\nValid arguments:\r\n\r\n- ``--no-recursive``: Do not apply the .svnignore file to any of the\r\n children of the current directory\r\n- ``--overwrite``: Overwrite existing svn:ignore properties.\r\n- ``--ignore-file ``: The file to look for. Default is\r\n ``.svnigore``\r\n- ``--verbose``: Display verbose information\r\n- ``--help``: Display this information\r\n\r\nHook\r\n----\r\n\r\nBecause of the way that the ``svn:ignore`` property works, this script\r\nonly applies the contents of ``.svnigore`` to files that exist at the\r\ntime of running. To make sure that the file also applies to newly added\r\nfiles, the command needs to be rerun. An easy way to do this is with a\r\nhook.\r\n\r\nOn the Client\r\n~~~~~~~~~~~~~\r\n\r\nLinux (Bash alias)\r\n^^^^^^^^^^^^^^^^^^\r\n\r\nThe correct way to do this is by using a Bash alias. Create a file\r\nsomewhere with these contents:\r\n\r\n::\r\n\r\n #!/bin/bash\r\n if [ $1 = 'commit' ]; then\r\n svn-ignore\r\n fi\r\n\r\n /usr/bin/svn $@\r\n\r\n if [ $1 = 'add' ]; then\r\n svn-ignore\r\n fi\r\n\r\nMake sure to call ``chmod +x FILENAME`` afterwards. After that you just\r\nneed to add the following line to ``~/.bashrc``:\r\n``alias svn=\"/path/to/this/file $@\"``. This hook is both for pre-commit\r\nand post-add (A hook you normally won't find).\r\n\r\nWindows (TortoiseSVN)\r\n^^^^^^^^^^^^^^^^^^^^^\r\n\r\n`TortoiseSVN offers a simple way to add pre-commit hooks client\r\nside. `__\r\nSimply add ``svn-ignore`` as a Pre-Commit Hook in Tortoise-SVN.\r\n\r\nOn the Repository\r\n~~~~~~~~~~~~~~~~~\r\n\r\nThis is currently not possible and is planned in a future version\r\n\r\nTesting\r\n-------\r\n\r\nYou can run the tests by calling ``python -m unittest discover`` in the\r\nproject root. Subversion 1.9 is required for running the tests.\r\nAutomatic testing is done by Travis CI. ## License\r\n\r\nLicense\r\n-------\r\n\r\nMIT License\r\n\r\nCopyright (c) 2016 Jord Nijhuis\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a\r\ncopy of this software and associated documentation files (the\r\n\"Software\"), to deal in the Software without restriction, including\r\nwithout limitation the rights to use, copy, modify, merge, publish,\r\ndistribute, sublicense, and/or sell copies of the Software, and to\r\npermit persons to whom the Software is furnished to do so, subject to\r\nthe following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be included\r\nin all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\r\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "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/Sidesplitter/SVN-Ignore", "keywords": "svn cli util utils", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "SVN-Ignore", "package_url": "https://pypi.org/project/SVN-Ignore/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/SVN-Ignore/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/Sidesplitter/SVN-Ignore" }, "release_url": "https://pypi.org/project/SVN-Ignore/1.2.2/", "requires_dist": null, "requires_python": null, "summary": "A utility that provides .svnignore functionality similar to GIT", "version": "1.2.2" }, "last_serial": 2296425, "releases": { "1.0.0": [], "1.0.1": [ { "comment_text": "", "digests": { "md5": "6d96c5500bd1a8ddad35fc49969221e8", "sha256": "a9ef0be898c0091f575a9c5dd80596364ab5b5f8b6d00489d5204e590151a4fe" }, "downloads": -1, "filename": "SVN-Ignore-1.0.1.tar.gz", "has_sig": false, "md5_digest": "6d96c5500bd1a8ddad35fc49969221e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2205, "upload_time": "2016-08-17T22:44:54", "url": "https://files.pythonhosted.org/packages/58/ac/4b60f0c34320b8d0ed37e1a32432cbeb6790c86b46039fd49474d9db0ec5/SVN-Ignore-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "1b66db0fd8adcec485bba3590e3c20d6", "sha256": "39a29f2b7305afd712b5ffb09198a5e9492d1126edf92cdbddd816625872e88b" }, "downloads": -1, "filename": "SVN-Ignore-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1b66db0fd8adcec485bba3590e3c20d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1198, "upload_time": "2016-08-17T22:48:40", "url": "https://files.pythonhosted.org/packages/9c/a9/222d19bc52d8bde33e008ad5e0e6a82c124abce9f7d420895c3b8a60f1c3/SVN-Ignore-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "75d29961638eff61b25ad6f78f482868", "sha256": "6f1dd04af48f61015cb07c821a0d49a96c2f66d135ec0342be222cde06d161ea" }, "downloads": -1, "filename": "SVN-Ignore-1.0.3.tar.gz", "has_sig": false, "md5_digest": "75d29961638eff61b25ad6f78f482868", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2273, "upload_time": "2016-08-17T23:03:14", "url": "https://files.pythonhosted.org/packages/87/6a/7d2d86451094e6dba171788375e7df924fd51115cd14fffd2836dfc92a7e/SVN-Ignore-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "b01dc1d2822dd4e4cee098873e7d77ee", "sha256": "203688c5e09fd9ee327dfb6135cd1edba23eb1165358ed4d9f70a897e35d060d" }, "downloads": -1, "filename": "SVN-Ignore-1.0.4.tar.gz", "has_sig": false, "md5_digest": "b01dc1d2822dd4e4cee098873e7d77ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4189, "upload_time": "2016-08-18T00:00:47", "url": "https://files.pythonhosted.org/packages/81/8f/1932bcaf42a18909f3a5752898dddbe727fc8f42af69025293423cf4c2b3/SVN-Ignore-1.0.4.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "7347ad74538aaeffd2c21adc8ec0c674", "sha256": "f8d3d27b944cca31e102d9e2b13a4ca1f05355ade30b38ed1475b2ff27d0f91e" }, "downloads": -1, "filename": "SVN-Ignore-1.1.0.tar.gz", "has_sig": false, "md5_digest": "7347ad74538aaeffd2c21adc8ec0c674", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6172, "upload_time": "2016-08-18T14:38:32", "url": "https://files.pythonhosted.org/packages/08/c0/57df65e94742f921327c0b2d8e791e75eeda559dd17e0d9cb4efca8e5a36/SVN-Ignore-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "built for Linux-4.6.4-040604-generic-x86_64-with-glibc2.7", "digests": { "md5": "76e47535500f4175bc1f3b052b706d94", "sha256": "23b865f873c01ce672f03acea95f7e9974a11936d212f21442bde7143d78ffed" }, "downloads": -1, "filename": "SVN-Ignore-1.2.0.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "76e47535500f4175bc1f3b052b706d94", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 2601, "upload_time": "2016-08-22T20:14:34", "url": "https://files.pythonhosted.org/packages/95/bf/91402823e0551f9b4f03fedfb74001f5301a62e86180bfbceadfffdfe964/SVN-Ignore-1.2.0.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "ccbb5e93a8a9e351f742c4c0aaf50eb0", "sha256": "7e37f9f4b9d709c0de1673d7c9e2ca1ecb728df71965e176084eeb6a4c75280f" }, "downloads": -1, "filename": "SVN-Ignore-1.2.0.tar.gz", "has_sig": false, "md5_digest": "ccbb5e93a8a9e351f742c4c0aaf50eb0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6756, "upload_time": "2016-08-22T20:14:31", "url": "https://files.pythonhosted.org/packages/b5/f6/fe0a2d64d6919e9a5b5bbcaf442c0263656fe03931de3faedb7e457465ce/SVN-Ignore-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "built for Linux-4.6.4-040604-generic-x86_64-with-glibc2.7", "digests": { "md5": "50872b1e3143aef9d00816f1878da794", "sha256": "6438257cdb6a4ddec5d26f3c8a530818a6440917856b37d40282416ea0add838" }, "downloads": -1, "filename": "SVN-Ignore-1.2.1.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "50872b1e3143aef9d00816f1878da794", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 4651, "upload_time": "2016-08-22T20:20:13", "url": "https://files.pythonhosted.org/packages/a8/b6/f7bab6bf2eb582e29bef9a659a531fb12700c10faf5ec6b46d700db1f4f6/SVN-Ignore-1.2.1.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "46534bfda2a0a89e4f3d6f51cb62e244", "sha256": "2bb4e09683529d285772a98fe3033e0382cfe4d67134f71b54ea4cf91ff9a366" }, "downloads": -1, "filename": "SVN-Ignore-1.2.1.tar.gz", "has_sig": false, "md5_digest": "46534bfda2a0a89e4f3d6f51cb62e244", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7366, "upload_time": "2016-08-22T20:20:10", "url": "https://files.pythonhosted.org/packages/7f/cf/5ea0e62f8ec3a82502c5a482fdd23f9e7c4dd78efc0622268098ae5e7087/SVN-Ignore-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "built for Linux-4.6.4-040604-generic-x86_64-with-glibc2.7", "digests": { "md5": "c2aff36e5d6190164954aa916798158c", "sha256": "6215270f8ec8ba644ee8872e2927c1205ff2fe2fc546a909be57cbbebed31c6f" }, "downloads": -1, "filename": "SVN-Ignore-1.2.2.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "c2aff36e5d6190164954aa916798158c", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 8094, "upload_time": "2016-08-22T20:25:53", "url": "https://files.pythonhosted.org/packages/e4/a1/2707ff898e0791fd63e1d6538b1a8dabff8457e614112a7ae6de9583507c/SVN-Ignore-1.2.2.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "61e36a76c8bc31020e420eb50c1d3b27", "sha256": "c76c1ecf886c5ce9785b6c45b3ea567e9d47c74ee69341e353fc4b68f15fe7b4" }, "downloads": -1, "filename": "SVN-Ignore-1.2.2.tar.gz", "has_sig": false, "md5_digest": "61e36a76c8bc31020e420eb50c1d3b27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7369, "upload_time": "2016-08-22T20:25:50", "url": "https://files.pythonhosted.org/packages/4b/a3/031b60bd66e84fdd3f8681213351b995db5900c41fc3a7767d50a619fb6a/SVN-Ignore-1.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "built for Linux-4.6.4-040604-generic-x86_64-with-glibc2.7", "digests": { "md5": "c2aff36e5d6190164954aa916798158c", "sha256": "6215270f8ec8ba644ee8872e2927c1205ff2fe2fc546a909be57cbbebed31c6f" }, "downloads": -1, "filename": "SVN-Ignore-1.2.2.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "c2aff36e5d6190164954aa916798158c", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 8094, "upload_time": "2016-08-22T20:25:53", "url": "https://files.pythonhosted.org/packages/e4/a1/2707ff898e0791fd63e1d6538b1a8dabff8457e614112a7ae6de9583507c/SVN-Ignore-1.2.2.linux-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "61e36a76c8bc31020e420eb50c1d3b27", "sha256": "c76c1ecf886c5ce9785b6c45b3ea567e9d47c74ee69341e353fc4b68f15fe7b4" }, "downloads": -1, "filename": "SVN-Ignore-1.2.2.tar.gz", "has_sig": false, "md5_digest": "61e36a76c8bc31020e420eb50c1d3b27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7369, "upload_time": "2016-08-22T20:25:50", "url": "https://files.pythonhosted.org/packages/4b/a3/031b60bd66e84fdd3f8681213351b995db5900c41fc3a7767d50a619fb6a/SVN-Ignore-1.2.2.tar.gz" } ] }