Repository: tox-dev/tox

Issue:
Eliminate testrun.org from code and docs?
@hpk42 the test on testrun.org states that it can be taken over if anyone is interested in it. Toc docs are redirecting to readthedocs.io. Should I replace all references in code and documentation to the corresponding readthedocs.io location?

Discussion:

Patch:
diff --git a/ISSUES.txt b/ISSUES.txt
deleted file mode 100644
index 4b05dff6..00000000
--- a/ISSUES.txt
+++ /dev/null
@@ -1,162 +0,0 @@
-introduce package and setup.py less sdist creation
------------------------------------------------------------
-
-Example sections for tox itself::
-
-    [pkgdef] 
-    basename = pytest
-    description = virtualenv-based automation of test activities
-    authors = holger krekel <holger@merlinux.eu>
-    url = http://tox.testrun.org
-    entry_points = console_scripts: tox=tox:cmdline
-    requires = py
-    packages = 
-    preuploadenvs = sphinx 
-
-    classifiers=
-        Development Status :: 6 - Mature
-        Intended Audience :: Developers
-        License :: OSI Approved :: MIT License
-        Topic :: Software Development :: Testing
-        Topic :: Software Development :: Libraries
-        Topic :: Utilities
-
-This would generate three different packages:
-
-- the main one containing the app with the specified description, etc.
-  It has a test-requires pointing to the test package,
-  which classifiers
-- the test package only containing the tests and setup.py
-  depending on the main package and all requirements collected from the
-  testenv
-- the doc package containing generated html and txt files
-  (to be installable via a setup.py as well?)
-
-Here is what happens when tox is invoked now:
-
-- version gets auto-incremented (in setup.py and $PACKAGE/__init__.py files)
-- main setup.py generated, files copied, sdist generated
-- test setup.py generated, files copied, sdist generated
-- doc setup.py generated, doc environment run, files copied, sdist generated
-
-- if --upload is specified, all packages are uploaded under 
-  their respective names:
-  tox-VER
-  tests-tox-VER
-  docs-tox-VER
-
-- tox --sync creates a test result file for the tests-tox-VER run
-  and uploads it to testrun.org -- .tox/projectkeys contains a file that
-  was created by visiting testrun.org and registering/logging in.
-
-- download toxslave and execute it:
-
-    toxslave --userkey=... [--project tox]
-
-  which will query testrun.org for outstanding testruns
-  [for the tox project], download packages, execute them 
-  and report back to the server
-
-merge tox and detox?
-----------------------------------------------------------------
-
-maybe it's time to merge it?
-
-http://lists.idyll.org/pipermail/testing-in-python/2012-October/005205.html
-pyc files / test distributions
------------------------------------------------------------
-
-investigate pyc cleaning, see
-
-http://lists.idyll.org/pipermail/testing-in-python/2012-October/005205.html
-
-
-allow config overlays
------------------------------------------------------------
-
-tags: 1.5 feature
-
-You can specify wildcards in section titles.
-
-    [testenv]
-    testsrc=testing/**.py 
-    commands=py.test {posargs}
-    
-    [testenv:py3*]
-    use2to3 = True
-
-    [testenv:py32]
-    deps =
-        ...
-
-Configuration values are now looked up in a stricter-matches-first
-manner: If environment "py32" is considered then first the 
-section under py32, then py3*, then testenv. 
-
-
-support 2to3 configurations / test file postprocessing
------------------------------------------------------------
-
-tags: 1.5 feature
-
-Tests should be copied and transformed before being executed.
-Setup a test definition::
-
-    [testenv]
-    testsrc=testing/**.py 
-    commands=py.test {posargs}
-    
-    [testenv:py3*]
-    use2to3 = True
-
-would transform all specified test files for all py3 environments 
-such that a subsequent test run::
-
-    $ tox -e py25,py32 testing/test_hello.py
-
-causes a transformation of the test files to prepare test runs on
-Python3 interpreters.  The ``posargs`` specified files will be rewritten
-to point to the transformed test files.
-
-export support for travis
-----------------------------------------
-tag: 1.6 feature
-
-look into ways to support integration of tox with travis.
-
-- run tox from travis
-- let tox read commands from travis config
-- generate .travis.yml from tox.ini
-- generate tox.ini from .travis.yml
-
-For the last two, take a look at http://pypi.python.org/pypi/panci/
-
-allow user-specific python interpreters
-------------------------------------------------
-
-users should be able to define their set of python executables
-to be used for creating virtualenvs.
-.toxrc/interpreters:
-pypy-c=~/p/pypy/branch/sys-prefix/pypy-c
-...
-
-non-cached test dependencies
----------------------------------------------------------------
-
-if there is a dependency on a URL whose content changes
-the download-cache mechanism will prevent it from being reloaded.
-Introduce a 'nocache:' prefix which will inhibit using the cache.
-Also make and document a guarantee on the deps order so that
-one can influence the exact configuration (e.g. use a dev-version
-of some package which a later dependency or the original
-package depends upon - i.e. deps should be installed first).
-
-
-test and make "in-pkg" tests work
----------------------------------------
-
-it is common to put tests into pkg subdirs, possibly
-even with an __init__.  See if/how this can be made
-to work.  Maybe also re-consider how py.test does its
-importing, maybe add a pytest_addsyspath(testmodule)
-and look how nose does it in detail.
diff --git a/doc/Makefile b/doc/Makefile
index aae1962a..79f8ad0b 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -38,14 +38,6 @@ help:
 clean:
 	-rm -rf $(BUILDDIR)/*
 
-
-install: clean html 
-	@rsync -avz $(BUILDDIR)/html/ testrun.org:/www/testrun.org/tox/latest
-	@rsync -avz $(BUILDDIR)/html/ testrun.org:/www/testrun.org/tox/$(SITETARGET)
-	#dev
-    #latexpdf
-	#@scp $(BUILDDIR)/latex/*.pdf testrun.org:www-tox/latest
-
 html:
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
 	@echo
diff --git a/doc/example/basic.txt b/doc/example/basic.txt
index 310bef53..d9f29aa5 100644
--- a/doc/example/basic.txt
+++ b/doc/example/basic.txt
@@ -105,7 +105,7 @@ using a different default PyPI url
 To install dependencies and packages from a different
 default PyPI server you can type interactively::
 
-    tox -i http://pypi.testrun.org
+    tox -i http://pypi.my-alternative-index.org
 
 This causes tox to install dependencies and the sdist install step
 to use the specificied url as the index server.
@@ -114,7 +114,7 @@ You can cause the same effect by this ``tox.ini`` content::
 
     [tox]
     indexserver =
-        default = http://pypi.testrun.org
+        default = http://pypi.my-alternative-index.org
 
 installing dependencies from multiple PyPI servers
 ---------------------------------------------------
diff --git a/tox/_quickstart.py b/tox/_quickstart.py
index 59ee48eb..82d569e9 100644
--- a/tox/_quickstart.py
+++ b/tox/_quickstart.py
@@ -61,7 +61,7 @@ all_envs = ['py26', 'py27', 'py32', 'py33', 'py34', 'py35', 'pypy', 'jython']
 PROMPT_PREFIX = '> '
 
 QUICKSTART_CONF = '''\
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -245,7 +245,7 @@ def generate(d, overwrite=True, silent=False):
         return
     sys.stdout.write('\n')
     print('Finished: A tox.ini file has been created. For information on this file, '
-          'see http://tox.testrun.org/latest/config.html')
+          'see https://tox.readthedocs.io/en/latest/config.html')
     print('''
 Execute `tox` to test your project.
 ''')


Test patch:
diff --git a/tests/test_config.py b/tests/test_config.py
index 42b35708..d48b6507 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -1830,11 +1830,11 @@ class TestIndexServer:
         inisource = """
             [tox]
             indexserver =
-                default = http://pypi.testrun.org
+                default = http://pypi.somewhere.org
                 name1 = whatever
         """
         config = newconfig([], inisource)
-        assert config.indexserver['default'].url == "http://pypi.testrun.org"
+        assert config.indexserver['default'].url == "http://pypi.somewhere.org"
         assert config.indexserver['name1'].url == "whatever"
         config = newconfig(['-i', 'qwe'], inisource)
         assert config.indexserver['default'].url == "qwe"
diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py
index 5aaacc2e..6986be44 100644
--- a/tests/test_quickstart.py
+++ b/tests/test_quickstart.py
@@ -49,7 +49,7 @@ class TestToxQuickstartMain(object):
         tox._quickstart.main(argv=['tox-quickstart'])
 
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -90,7 +90,7 @@ deps =
         tox._quickstart.main(argv=['tox-quickstart'])
 
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -131,7 +131,7 @@ deps =
         tox._quickstart.main(argv=['tox-quickstart'])
 
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -171,7 +171,7 @@ deps =
         tox._quickstart.main(argv=['tox-quickstart'])
 
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -204,7 +204,7 @@ deps =
         tox._quickstart.main(argv=['tox-quickstart'])
 
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -237,7 +237,7 @@ deps =
         tox._quickstart.main(argv=['tox-quickstart'])
 
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -270,7 +270,7 @@ deps =
         tox._quickstart.main(argv=['tox-quickstart'])
 
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -311,7 +311,7 @@ deps =
         tox._quickstart.main(argv=['tox-quickstart'])
 
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -357,7 +357,7 @@ deps =
         tox._quickstart.main(argv=['tox-quickstart'])
 
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -387,7 +387,7 @@ class TestToxQuickstart(object):
             'deps': 'pytest',
         }
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -414,7 +414,7 @@ deps =
             'deps': '',
         }
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -440,7 +440,7 @@ deps =
             'deps': 'Twisted',
         }
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.
@@ -471,7 +471,7 @@ deps =
             'deps': 'nose',
         }
         expected_tox_ini = """
-# Tox (http://tox.testrun.org/) is a tool for running tests
+# Tox (https://tox.readthedocs.io/) is a tool for running tests
 # in multiple virtualenvs. This configuration file will run the
 # test suite on all supported python versions. To use it, "pip install tox"
 # and then run "tox" from this directory.