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

rename working_dir to workdir for consistency #332

Closed
wants to merge 1 commit into from

Commits on Sep 29, 2023

  1. rename working_dir to workdir for consistency

    Currently `podman-py` uses all three versions of `work_dir`,
    `working_dir` and `workdir` (not to mention `WorkingDir`).
    
    This commit tries to unify the parameter usage by allowing `workdir` for
    container `create` or `run`. For backwards compatibility `working_dir`
    still works but a deprecation warning is added.
    
    Since upstream Podman uses a variety of *workdir* versions the
    `podman-py` codebase can't be simplified further.
    
    Fix: containers#330
    
    Signed-off-by: Paul Spooren <[email protected]>
    aparcar committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    a694a95 View commit details
    Browse the repository at this point in the history