From f47afa35660bd8a7b5a04580f233f16070d173aa Mon Sep 17 00:00:00 2001 From: Lily Wang Date: Sat, 24 Oct 2020 09:42:33 +1100 Subject: [PATCH 1/3] untab --- maintainer/update_json_stubs_sitemap.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/maintainer/update_json_stubs_sitemap.py b/maintainer/update_json_stubs_sitemap.py index a4cd9e537bd..f6b1436abc4 100644 --- a/maintainer/update_json_stubs_sitemap.py +++ b/maintainer/update_json_stubs_sitemap.py @@ -146,13 +146,13 @@ def add_or_update_version(version): if ver["version"] == version: ver["url"] = os.path.join(URL, version) break - else: - versions.append({ - "version": version, - "display": version, - "url": os.path.join(URL, version), - "latest": False - }) + else: + versions.append({ + "version": version, + "display": version, + "url": os.path.join(URL, version), + "latest": False + }) def copy_version(old_version, new_version): From 3363a83c2de783b7f8ec1380c560a98ae924a1a9 Mon Sep 17 00:00:00 2001 From: Lily Wang Date: Sat, 3 Oct 2020 15:51:28 +1000 Subject: [PATCH 2/3] to undo: change site to lilyminium's --- .travis.yml | 101 +++++++++++++++------------ maintainer/deploy_docs_via_travis.sh | 4 +- package/doc/sphinx/source/conf.py | 4 +- 3 files changed, 63 insertions(+), 46 deletions(-) diff --git a/.travis.yml b/.travis.yml index feb2d9f8775..9d468bf47ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,9 +13,9 @@ os: env: global: - - secure: "VJ8cMKXuVe7e6vlBeUkd8j6wUbxYF0Yja6CHn0tmpzVGm3CCBXxoZcgvgtfyJTjf+2nqKIjsIy4FdYIkotXYaDwAX5XHHHWS/++7917pddJ2nZkBnBI069c2gLL6vU7E7jbGUzmKywsA73Of44pVsYgtGneK0F7/guLawpWBOOpLsui+pL2X4jYXZL4WHjTPGTphUN4uhQIkqKkuu9ZSR6uodzZDjzkH+q0FT5RLqmgVttnCD9ZmS2ppQsI9f0jZUd8V0M4NGaTHd439uj1UpMMriSJEzcq9DsKZEncjoJZGqfnXPUG9j5Z+jZ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=github.com/MDAnalysis/mdanalysis.git + - GH_REPOSITORY=github.com/lilyminium/mdanalysis.git - GIT_CI_USER=TravisCI - GIT_CI_EMAIL=TravisCI@mdanalysis.org - MDA_DOCDIR=${TRAVIS_BUILD_DIR}/package/doc/html/html @@ -42,11 +42,12 @@ env: matrix: # Run a coverage test for most versions - - CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" - - PYTHON_VERSION=3.8 CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" - - PYTHON_VERSION=3.7 CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" - - NUMPY_VERSION=1.16.0 - - NUMPY_VERSION=dev EVENT_TYPE="cron" + # - CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" + # - PYTHON_VERSION=3.8 CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" + # - PYTHON_VERSION=3.7 CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" + # - PYTHON_VERSION=3.6 CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" + - NUMPY_VERSION=1.13.3 + # - NUMPY_VERSION=dev EVENT_TYPE="cron" matrix: fast_finish: true @@ -60,41 +61,54 @@ matrix: INSTALL_HOLE="false" PIP_DEPENDENCIES="${PIP_DEPENDENCIES} sphinx==1.8.5 sphinx-sitemap sphinx_rtd_theme msmb_theme==1.2.0" - - env: NAME="Lint" - PYLINTRC="${TRAVIS_BUILD_DIR}/package/.pylintrc" - MAIN_CMD="pylint --py3k package/MDAnalysis && pylint --py3k testsuite/MDAnalysisTests" - SETUP_CMD="" - BUILD_CMD="" - CONDA_DEPENDENCIES="" - INSTALL_HOLE="false" - - - env: NAME="asv check" - PYTHON_VERSION=3.6 - CODECOV="false" - MAIN_CMD="" - SETUP_CMD="" - PIP_DEPENDENCIES="${PIP_DEPENDENCIES} setuptools<45.0.0" - ASV_CHECK="true" - - - env: NAME="pypi check" - PYTHON_VERSION=3.7 - CODECOV="false" - MAIN_CMD="cd package && python setup.py" - SETUP_CMD="sdist" - BUILD_CMD="" - INSTALL_HOLE="false" - CONDA_DEPENDENCIES="setuptools cython twine" - PYPI_CHECK="true" - - - os: osx - env: PYTHON_VERSION=3.6 - NUMPY_VERSION=1.17.3 - - - env: NAME='minimal' - PIP_DEPENDENCIES="" - CONDA_DEPENDENCIES=${CONDA_MIN_DEPENDENCIES} - INSTALL_HOLE="false" - CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" + # - env: NAME="Lint" + # PYLINTRC="${TRAVIS_BUILD_DIR}/package/.pylintrc" + # MAIN_CMD="pylint package/MDAnalysis && pylint testsuite/MDAnalysisTests" + # SETUP_CMD="" + # BUILD_CMD="" + # CONDA_DEPENDENCIES="" + # INSTALL_HOLE="false" + + # # pin dependencies for legacy: + # # - ensure that chemfiles can get the last netcdf4 that is still supported + # # see https://github.com/MDAnalysis/mdanalysis/pull/2798#issuecomment-679991785 + # # - install chemfiles and chemfiles-lib via pip (conda times out) + # - env: NAME="python 2.7" + # PYTHON_VERSION=2.7 + # CODECOV="true" + # NUMPY_VERSION=1.16 + # CONDA_DEPENDENCIES="${CONDA_STANDARD_DEPENDENCIES}" + # SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" + # PIP_DEPENDENCIES="${PIP_DEPENDENCIES} setuptools<45.0.0 chemfiles" + + # - env: NAME="asv check" + # PYTHON_VERSION=2.7 + # CODECOV="false" + # MAIN_CMD="" + # SETUP_CMD="" + # NUMPY_VERSION=1.16 + # PIP_DEPENDENCIES="${PIP_DEPENDENCIES} setuptools<45.0.0" + # ASV_CHECK="true" + + # - env: NAME="pypi check" + # PYTHON_VERSION=3.7 + # CODECOV="false" + # MAIN_CMD="cd package && python setup.py" + # SETUP_CMD="sdist" + # BUILD_CMD="" + # INSTALL_HOLE="false" + # CONDA_DEPENDENCIES="setuptools cython twine" + # PYPI_CHECK="true" + + # - os: osx + # env: PYTHON_VERSION=3.6 + # NUMPY_VERSION=1.17.3 + + # - env: NAME='minimal' + # PIP_DEPENDENCIES="" + # CONDA_DEPENDENCIES=${CONDA_MIN_DEPENDENCIES} + # INSTALL_HOLE="false" + # CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" - os: linux language: python @@ -178,11 +192,12 @@ after_success: # turn off blocking as it causes large writes to stdout to fail # (see https://github.com/travis-ci/travis-ci/issues/4704) - | - if [[ ${TRAVIS_PULL_REQUEST} == "false" ]] && [[ ${BUILD_DOCS} == "true" ]] ; then + if [[ ${BUILD_DOCS} == "true" ]] ; then python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);' cd ${TRAVIS_BUILD_DIR}/package/MDAnalysis export GH_DOC_BRANCH=${TRAVIS_BRANCH} export VERSION=$(python -c "import version; print(version.__version__)") + export GH_TOKEN=$GH_TOKEN cd - bash ${TRAVIS_BUILD_DIR}/maintainer/deploy_docs_via_travis.sh; fi diff --git a/maintainer/deploy_docs_via_travis.sh b/maintainer/deploy_docs_via_travis.sh index 52c613e6b89..826eba50368 100644 --- a/maintainer/deploy_docs_via_travis.sh +++ b/maintainer/deploy_docs_via_travis.sh @@ -59,7 +59,7 @@ git reset upstream/gh-pages # dev/ is a copy of the dev docs with the highest number (so 2.0.0-dev instead of 1.0.1-dev) # stable/ is a copy of the release docs with the highest number mkdir latest -export URL="https://docs.mdanalysis.org" +export URL="https://minium.com.au/mdanalysis" python ${MAINTAIN_DIR}/update_json_stubs_sitemap.py touch . touch .nojekyll @@ -74,6 +74,8 @@ done git add *.xml *.html +ls * + # check for anything to commit # https://stackoverflow.com/questions/3878624/how-do-i-programmatically-determine-if-there-are-uncommited-changes git diff-index --quiet HEAD -- || git commit -m "rebuilt html docs for version ${VERSION} from branch ${GH_DOC_BRANCH} with sphinx at ${rev}" diff --git a/package/doc/sphinx/source/conf.py b/package/doc/sphinx/source/conf.py index a149c769a8f..f4efb63d3c4 100644 --- a/package/doc/sphinx/source/conf.py +++ b/package/doc/sphinx/source/conf.py @@ -49,7 +49,7 @@ # they are now at docs.mdanalysis.org/, which requires a CNAME DNS record # pointing to mdanalysis.github.io. To change this URL you should change/delete # the CNAME record for "docs" and update the URL in GitHub settings -site_url = "https://docs.mdanalysis.org/" +site_url = "https://minium.com.au/mdanalysis" # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -161,7 +161,7 @@ } html_context = { - 'versions_json_url': 'https://docs.mdanalysis.org/versions.json' + 'versions_json_url': 'https://minium.com.au/mdanalysis/versions.json' } # Add any paths that contain custom themes here, relative to this directory. From ce4465727bfc0680f1a1d86e2d77570ec3276493 Mon Sep 17 00:00:00 2001 From: Lily Wang Date: Sat, 24 Oct 2020 10:18:17 +1100 Subject: [PATCH 3/3] Revert "to undo: change site to lilyminium's" This reverts commit 3363a83c2de783b7f8ec1380c560a98ae924a1a9. --- .travis.yml | 101 ++++++++++++--------------- maintainer/deploy_docs_via_travis.sh | 4 +- package/doc/sphinx/source/conf.py | 4 +- 3 files changed, 46 insertions(+), 63 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9d468bf47ef..feb2d9f8775 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,9 +13,9 @@ os: env: global: - # - secure: "VJ8cMKXuVe7e6vlBeUkd8j6wUbxYF0Yja6CHn0tmpzVGm3CCBXxoZcgvgtfyJTjf+2nqKIjsIy4FdYIkotXYaDwAX5XHHHWS/++7917pddJ2nZkBnBI069c2gLL6vU7E7jbGUzmKywsA73Of44pVsYgtGneK0F7/guLawpWBOOpLsui+pL2X4jYXZL4WHjTPGTphUN4uhQIkqKkuu9ZSR6uodzZDjzkH+q0FT5RLqmgVttnCD9ZmS2ppQsI9f0jZUd8V0M4NGaTHd439uj1UpMMriSJEzcq9DsKZEncjoJZGqfnXPUG9j5Z+jZ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=github.com/lilyminium/mdanalysis.git + - GH_REPOSITORY=github.com/MDAnalysis/mdanalysis.git - GIT_CI_USER=TravisCI - GIT_CI_EMAIL=TravisCI@mdanalysis.org - MDA_DOCDIR=${TRAVIS_BUILD_DIR}/package/doc/html/html @@ -42,12 +42,11 @@ env: matrix: # Run a coverage test for most versions - # - CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" - # - PYTHON_VERSION=3.8 CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" - # - PYTHON_VERSION=3.7 CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" - # - PYTHON_VERSION=3.6 CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" - - NUMPY_VERSION=1.13.3 - # - NUMPY_VERSION=dev EVENT_TYPE="cron" + - CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" + - PYTHON_VERSION=3.8 CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" + - PYTHON_VERSION=3.7 CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" + - NUMPY_VERSION=1.16.0 + - NUMPY_VERSION=dev EVENT_TYPE="cron" matrix: fast_finish: true @@ -61,54 +60,41 @@ matrix: INSTALL_HOLE="false" PIP_DEPENDENCIES="${PIP_DEPENDENCIES} sphinx==1.8.5 sphinx-sitemap sphinx_rtd_theme msmb_theme==1.2.0" - # - env: NAME="Lint" - # PYLINTRC="${TRAVIS_BUILD_DIR}/package/.pylintrc" - # MAIN_CMD="pylint package/MDAnalysis && pylint testsuite/MDAnalysisTests" - # SETUP_CMD="" - # BUILD_CMD="" - # CONDA_DEPENDENCIES="" - # INSTALL_HOLE="false" - - # # pin dependencies for legacy: - # # - ensure that chemfiles can get the last netcdf4 that is still supported - # # see https://github.com/MDAnalysis/mdanalysis/pull/2798#issuecomment-679991785 - # # - install chemfiles and chemfiles-lib via pip (conda times out) - # - env: NAME="python 2.7" - # PYTHON_VERSION=2.7 - # CODECOV="true" - # NUMPY_VERSION=1.16 - # CONDA_DEPENDENCIES="${CONDA_STANDARD_DEPENDENCIES}" - # SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" - # PIP_DEPENDENCIES="${PIP_DEPENDENCIES} setuptools<45.0.0 chemfiles" - - # - env: NAME="asv check" - # PYTHON_VERSION=2.7 - # CODECOV="false" - # MAIN_CMD="" - # SETUP_CMD="" - # NUMPY_VERSION=1.16 - # PIP_DEPENDENCIES="${PIP_DEPENDENCIES} setuptools<45.0.0" - # ASV_CHECK="true" - - # - env: NAME="pypi check" - # PYTHON_VERSION=3.7 - # CODECOV="false" - # MAIN_CMD="cd package && python setup.py" - # SETUP_CMD="sdist" - # BUILD_CMD="" - # INSTALL_HOLE="false" - # CONDA_DEPENDENCIES="setuptools cython twine" - # PYPI_CHECK="true" - - # - os: osx - # env: PYTHON_VERSION=3.6 - # NUMPY_VERSION=1.17.3 - - # - env: NAME='minimal' - # PIP_DEPENDENCIES="" - # CONDA_DEPENDENCIES=${CONDA_MIN_DEPENDENCIES} - # INSTALL_HOLE="false" - # CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" + - env: NAME="Lint" + PYLINTRC="${TRAVIS_BUILD_DIR}/package/.pylintrc" + MAIN_CMD="pylint --py3k package/MDAnalysis && pylint --py3k testsuite/MDAnalysisTests" + SETUP_CMD="" + BUILD_CMD="" + CONDA_DEPENDENCIES="" + INSTALL_HOLE="false" + + - env: NAME="asv check" + PYTHON_VERSION=3.6 + CODECOV="false" + MAIN_CMD="" + SETUP_CMD="" + PIP_DEPENDENCIES="${PIP_DEPENDENCIES} setuptools<45.0.0" + ASV_CHECK="true" + + - env: NAME="pypi check" + PYTHON_VERSION=3.7 + CODECOV="false" + MAIN_CMD="cd package && python setup.py" + SETUP_CMD="sdist" + BUILD_CMD="" + INSTALL_HOLE="false" + CONDA_DEPENDENCIES="setuptools cython twine" + PYPI_CHECK="true" + + - os: osx + env: PYTHON_VERSION=3.6 + NUMPY_VERSION=1.17.3 + + - env: NAME='minimal' + PIP_DEPENDENCIES="" + CONDA_DEPENDENCIES=${CONDA_MIN_DEPENDENCIES} + INSTALL_HOLE="false" + CODECOV="true" SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis" - os: linux language: python @@ -192,12 +178,11 @@ after_success: # turn off blocking as it causes large writes to stdout to fail # (see https://github.com/travis-ci/travis-ci/issues/4704) - | - if [[ ${BUILD_DOCS} == "true" ]] ; then + if [[ ${TRAVIS_PULL_REQUEST} == "false" ]] && [[ ${BUILD_DOCS} == "true" ]] ; then python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);' cd ${TRAVIS_BUILD_DIR}/package/MDAnalysis export GH_DOC_BRANCH=${TRAVIS_BRANCH} export VERSION=$(python -c "import version; print(version.__version__)") - export GH_TOKEN=$GH_TOKEN cd - bash ${TRAVIS_BUILD_DIR}/maintainer/deploy_docs_via_travis.sh; fi diff --git a/maintainer/deploy_docs_via_travis.sh b/maintainer/deploy_docs_via_travis.sh index 826eba50368..52c613e6b89 100644 --- a/maintainer/deploy_docs_via_travis.sh +++ b/maintainer/deploy_docs_via_travis.sh @@ -59,7 +59,7 @@ git reset upstream/gh-pages # dev/ is a copy of the dev docs with the highest number (so 2.0.0-dev instead of 1.0.1-dev) # stable/ is a copy of the release docs with the highest number mkdir latest -export URL="https://minium.com.au/mdanalysis" +export URL="https://docs.mdanalysis.org" python ${MAINTAIN_DIR}/update_json_stubs_sitemap.py touch . touch .nojekyll @@ -74,8 +74,6 @@ done git add *.xml *.html -ls * - # check for anything to commit # https://stackoverflow.com/questions/3878624/how-do-i-programmatically-determine-if-there-are-uncommited-changes git diff-index --quiet HEAD -- || git commit -m "rebuilt html docs for version ${VERSION} from branch ${GH_DOC_BRANCH} with sphinx at ${rev}" diff --git a/package/doc/sphinx/source/conf.py b/package/doc/sphinx/source/conf.py index f4efb63d3c4..a149c769a8f 100644 --- a/package/doc/sphinx/source/conf.py +++ b/package/doc/sphinx/source/conf.py @@ -49,7 +49,7 @@ # they are now at docs.mdanalysis.org/, which requires a CNAME DNS record # pointing to mdanalysis.github.io. To change this URL you should change/delete # the CNAME record for "docs" and update the URL in GitHub settings -site_url = "https://minium.com.au/mdanalysis" +site_url = "https://docs.mdanalysis.org/" # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -161,7 +161,7 @@ } html_context = { - 'versions_json_url': 'https://minium.com.au/mdanalysis/versions.json' + 'versions_json_url': 'https://docs.mdanalysis.org/versions.json' } # Add any paths that contain custom themes here, relative to this directory.