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

[WIP] towards #6610 sudo workflow resolution #7181

Closed
wants to merge 1 commit into from

Conversation

kalefranz
Copy link
Contributor

@kalefranz kalefranz commented Apr 18, 2018

resolve #6610

Needs rebased following merge of #7180.

Signed-off-by: Kale Franz <kfranz@continuum.io>
@kalefranz kalefranz requested a review from a team as a code owner April 18, 2018 05:32
@kalefranz kalefranz added this to the 4.7.0 milestone Apr 18, 2018
@kalefranz
Copy link
Contributor Author

In addition to the first commit, also need to look at doing a better job with

    @property
    def envs_dirs(self):
        if self.root_writable:
            fixed_dirs = (
                join(self.root_prefix, 'envs'),
                join(self._user_data_dir, 'envs'),
                join('~', '.conda', 'envs'),
            )
        else:
            fixed_dirs = (
                join(self._user_data_dir, 'envs'),
                join(self.root_prefix, 'envs'),
                join('~', '.conda', 'envs'),
            )
        return tuple(IndexedSet(expand(p) for p in concatv(self._envs_dirs, fixed_dirs)))

    @property
    def pkgs_dirs(self):
        if self._pkgs_dirs:
            return tuple(IndexedSet(expand(p) for p in self._pkgs_dirs))
        else:
            cache_dir_name = 'pkgs32' if context.force_32bit else 'pkgs'
            return tuple(IndexedSet(expand(join(p, cache_dir_name)) for p in (
                self.root_prefix,
                self._user_data_dir,
            )))

@travishathaway travishathaway added the source::anaconda created by members of Anaconda, Inc. label Jun 27, 2022
@beeankha beeankha self-assigned this Jan 17, 2023
@beeankha
Copy link
Contributor

This pull request is being closed in order to reduce the number of outdated/stale PRs on this repo; if this work is still actively in progress, please feel free to re-open!

@beeankha beeankha closed this Jan 17, 2023
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Jan 18, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity source::anaconda created by members of Anaconda, Inc.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Workflow problem that causes permissions errors
3 participants