Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a "shared cache" directory #476

Merged
merged 14 commits into from
Sep 15, 2021
Merged

Commits on Sep 12, 2021

  1. Add a "shared cache" directory

    Add an "{envdir}/.shared" directory, and create an API for accesing to it.
    DiddiLeija committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    5bd072c View commit details
    Browse the repository at this point in the history
  2. Don't fail if the ".shared" directory exists

    Don't raise an exception.
    DiddiLeija committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    09d6420 View commit details
    Browse the repository at this point in the history
  3. Update sessions.py

    Move the "shared cache" API inside of nox.sessions.Session
    DiddiLeija committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    2ce057f View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2021

  1. Update sessions.py

    Convert the "shared cache" path into a property. Now, it returns a "pathlib.Path".
    DiddiLeija committed Sep 13, 2021
    Configuration menu
    Copy the full SHA
    f96482e View commit details
    Browse the repository at this point in the history
  2. Update test_sessions.py

    Make a test for the recent changes.
    DiddiLeija committed Sep 13, 2021
    Configuration menu
    Copy the full SHA
    c16504e View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2021

  1. Update sessions.py

    Use the "pathlib.Path" methods to reduce the variable usage.
    DiddiLeija committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    b4179e7 View commit details
    Browse the repository at this point in the history
  2. Update test_sessions.py

    Make some modifications to the tests.
    DiddiLeija committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    12a3a11 View commit details
    Browse the repository at this point in the history
  3. Update test_sessions.py

    Fix an import error.
    DiddiLeija committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    66467f0 View commit details
    Browse the repository at this point in the history
  4. Update sessions.py

    Use the parent directory to create the cache dir.
    DiddiLeija committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    c99e096 View commit details
    Browse the repository at this point in the history
  5. Update test_sessions.py

    Use a tempfile to test the session properties.
    DiddiLeija committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    08ef0e1 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2021

  1. Fix test indent

    FollowTheProcess committed Sep 15, 2021
    Configuration menu
    Copy the full SHA
    606a4cc View commit details
    Browse the repository at this point in the history
  2. Update nox/sessions.py

    This avoids some unnecessary path manipulations, and using the parent directory of a virtualenv which does not necessarily exist (`PassthroughEnv` does not create a virtualenv).
    
    Co-authored-by: Claudio Jolowicz <cjolowicz@gmail.com>
    DiddiLeija and cjolowicz committed Sep 15, 2021
    Configuration menu
    Copy the full SHA
    0b93808 View commit details
    Browse the repository at this point in the history
  3. Update sessions.py

    Use ".cache" instead of ".shared".
    DiddiLeija committed Sep 15, 2021
    Configuration menu
    Copy the full SHA
    717d874 View commit details
    Browse the repository at this point in the history
  4. Update test_sessions.py

    Use ".cache" instead of ".shared".
    DiddiLeija committed Sep 15, 2021
    Configuration menu
    Copy the full SHA
    8b3b55b View commit details
    Browse the repository at this point in the history