aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/svn_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Removed svn support from setuptools. Ref #313.Jason R. Coombs2014-12-241-585/+0
|
* Correct typoJason R. Coombs2014-10-231-1/+1
|
* Use absolute_import in svn_utils. Fixes #242.Jason R. Coombs2014-08-141-0/+2
|
* Use PY3 and PY2 throughoutJason R. Coombs2014-05-171-9/+9
|
* Clean some imports.Arfrever Frehtes Taifersar Arahesis2014-02-151-1/+0
|
* Use tempfile.TemporaryDirectory() with Python >=3.2.Arfrever Frehtes Taifersar Arahesis2014-02-151-25/+5
|
* Fixed Issue #125: setuptools leaves a ~/.subversion dir laying aroundPhilip Thiem2014-02-151-7/+47
| | | | | | | | | | | | | | after it completes This is the best that can probably be done. Temporary directories are used for get the svn binary version and to get the initial directory info (for determining if one is, in fact, in a svn working directory) ALSO: The check for SVN was not right. Decided on files to only check for .svn/entries because missing properties just leaves out the external refs. And then incorporated a test on the code to make sure that svn info completed. Test passed on CPytonh 2.x and 2.3 on windows, travis-ci, and travis-ci/mac. Note: There seems to be an issue with pypy and a test.
* Refactor SvnInfo.load for cleaner logic and less wrapping. Also removed ↵Jason R. Coombs2013-11-241-7/+8
| | | | empty logic branch.
* Remove unused importJason R. Coombs2013-11-241-1/+1
|
* Resave with excess whitespace removedJason R. Coombs2013-11-241-15/+15
|
* extraneous comment left inphilip_thiem2013-11-221-2/+1
|
* small logic errorphilip_thiem2013-11-211-1/+1
|
* forgot to add in the mac default.Philip Thiem2013-11-211-2/+5
|
* small syntax error.philip_thiem2013-11-211-1/+1
|
* Made a more sophisticated encoding heuristic that runs at module load.philip_thiem2013-11-211-1/+28
|
* For .svn legacy fallback, look for the files in the .svn not the directory.Philip Thiem2013-11-111-2/+7
| | | | | | | | | | | | | | | | (Fixed unexpected deprecation warning from prombredanne) Also removed the warning from fallback, only a deprecation warning is issued. Environment.py whitespacing Created a specialized command executor for tests in Environment.py Legacy Test in test_egg_info now supresses the deprecation warning. PythonPath is now explicitly controlled to allow setup.py test on clean python installations. *Fixes Issue #101* Moved some dummy svn tests from test_sdist to test_egg_info since they are egg_info tests. Downgraded a with statement in a test since we haven't offically dropped 2.4 support, however, maybe it is time. Added a test case to ensure no extranuous output on sdist with a simple dummy package without rev ctrl.
* removed fsencode and fsdecodePhilip Thiem2013-11-071-53/+44
| | | | | | | | replaced fsencode with decode_as_string - decoded utf8 or console input to decode_as_string should be called on encoded string before joining BUG_FIX - It would seem that there is a issue wiht the legacy file listing which this commit fits. I have no clue how any of the other stuff would had even worked.
* Removed verbose warning from svn_utils.pyphilip_thiem2013-11-051-1/+0
|
* Added a legacy fallback testPhilip Thiem2013-09-281-17/+223
| | | | | | | | Added in code to after a deprecation warning parse the .svn files Should also parse externals. --HG-- extra : rebase_source : 9dd3bcf22cb56eb0826051f9e477f155e47cdbf6
* Tweaks to get everything to pass again.Philip Thiem2013-07-201-0/+4
| | | | | --HG-- extra : rebase_source : 352b6baf81e891d13f7310bbeb94d2cfce9dbad8
* Additional Tests, Various fixes, and encoding dealingsPhilip Thiem2013-07-201-107/+269
| | | | | --HG-- extra : rebase_source : 2734e79e08e194923eab8c70f92cb77bce7daccf
* some notes on things that needs to be fixed after allPhilip Thiem2013-07-061-2/+11
| | | | | --HG-- extra : rebase_source : 5777bafbb7069238b8aa485cfbc23c13b019080f
* added some cmdline testing for svn_util and allowed negative numbers in the minPhilip Thiem2013-07-051-1/+14
| | | | | | | number from svnversion. --HG-- extra : rebase_source : 8d9c8557e3702b3194fc20d47f5fc07c21521fbe
* fixed some issues with OSErrorPhilip Thiem2013-07-051-5/+11
| | | | | | | have to emulate zipfile extract on py2.5 and earlier for tests --HG-- extra : rebase_source : c6ad4eab19a2a454b8b8043d88d9582168f617aa
* urlparse --> urllib.parse in py3Philip Thiem2013-07-051-1/+6
| | | | | --HG-- extra : rebase_source : b845737250a36a725f75aa04109ea357f09955d0
* consolidated externals and enteries because enteries need to file toPhilip Thiem2013-07-041-21/+25
| | | | | | | | interate over and both get called by the same callback. pep8 on svn_utils --HG-- extra : rebase_source : fa65ebfc167041b5c2e1b2bd901e9354cfaea57e
* use urlparse for url detectionPhilip Thiem2013-07-041-3/+5
| | | | | --HG-- extra : rebase_source : 0c502ce268425d0236072fe11c5631e8282956f0
* removed the objectsPhilip Thiem2013-07-041-236/+6
| | | | | --HG-- extra : rebase_source : 19c8be226a698813103dc2393b3b154060d90669
* got some global version done, SVN 1.3.x or later now requiredPhilip Thiem2013-07-041-1/+1
| | | | | --HG-- extra : rebase_source : def9ab923ee6455791c92334ee79c09d9164c43e
* cannot use list since that requires repo access, initial recurse parsingPhilip Thiem2013-07-041-37/+51
| | | | | --HG-- extra : rebase_source : 23fbf9ca969a6a0205247ec69e5b674452839f2e
* cannot use list since that requires repo access, initial recurse parsingPhilip Thiem2013-07-041-20/+42
| | | | | --HG-- extra : rebase_source : 87deb8066a0cb067e7bccc63cc156b7fed30ea29
* get_svn_method now direectly called svn_utils.parse_revisionPhilip Thiem2013-07-041-15/+0
| | | | | --HG-- extra : rebase_source : c902dd83f2c3df73f3a6f84e08bd8a77b201cc21
* get_svn_method now direectly called svn_utils.parse_revisionPhilip Thiem2013-07-041-19/+22
| | | | | --HG-- extra : rebase_source : 4af53ce7fcf4d69c0d65800e57fabec7d081ce35
* get_url now uses pulldomPhilip Thiem2013-07-041-8/+21
| | | | | --HG-- extra : rebase_source : 233926ea03e438c2e86546c62e555a007654cacd
* Remove some temporary loggingPhilip Thiem2013-07-041-1/+0
| | | | | --HG-- extra : rebase_source : f613c3c009ab69ab51c7de82b49ffaef63ea7461
* If using a command, we can query the working copy version directly.Philip Thiem2013-07-041-2/+5
| | | | | --HG-- extra : rebase_source : 0990530647692240d7b7126df1e1cdd5ae463ebb
* If using a command, we can query the working copy version directly.Philip Thiem2013-07-041-12/+40
| | | | | --HG-- extra : rebase_source : e329ddea4345c4acd90997e8994bd3715926cfbb
* py3 fixesPhilip Thiem2013-06-301-23/+18
| | | | | --HG-- extra : rebase_source : 29629f51bacee1ae8394c559e4440dafcb9179d1
* Finished some 1.7 tests, and updated the zip file to include the .svn dirsPhilip Thiem2013-06-301-29/+40
| | | | | | | Several fixes to get the code to pass the tests --HG-- extra : rebase_source : 76e13888a6efc871cc254076c7e58f201af24472
* Oops didn't return a valuePhilip Thiem2013-06-301-1/+1
| | | | | --HG-- extra : rebase_source : aebdebb47c60311cf7f81c4c7238dd25b6b8cadb
* minor cleanups, added imports,Philip Thiem2013-06-301-50/+68
| | | | | --HG-- extra : rebase_source : 3761997a8747b58e3d85bec53097116b9d6e166d
* Added SVNTextEntries for the moment as a fallback for no SVN/Rev8-10Philip Thiem2013-06-301-14/+121
| | | | | | | | Added Externals processing for all formats Will use dir-prop[-base] as a fallback otherwise CMD. --HG-- extra : rebase_source : dc27f779f22d5f9795c425b92d34db29d62b495d
* added querying externals to the classesPhilip Thiem2013-06-301-0/+22
| | | | | --HG-- extra : rebase_source : 9b76763b0ba0dc1ac6de130b04f6bb5ebf546fe6
* cleaned up the svn module, I think I can drop the old entry parsing all togetherPhilip Thiem2013-06-301-71/+15
| | | | | --HG-- extra : rebase_source : 16b995fc27ea40fff0dd51734aea47775ff0033a
* Added a class for getting SVN information with a cmd.Philip Thiem2013-06-301-16/+100
| | | | | | | | | | | | | Using XML because the regular output is probably internationalized. Need to inspect setuptools/command/egg_info.py setuptools/command/sdist.py setuptools/package_index.py to see how used again to see if we will every be parsing a raw XML file or if always from .svn/enteries, if so looks like we can just replace the whole of the file parsing. --HG-- extra : rebase_source : 5e10e3b43fbe12f890d09923c1050f8384db7f84
* Add svn_util.py http://bugs.python.org/setuptools/file51/svn_versioning_2.patchPhilip Thiem2013-06-291-0/+110
by Jason Coombs --HG-- extra : rebase_source : 4004028579ee1efa18c8326c664876f99048e6f6