Skip to content

Remove 'spack setup' command#20277

Merged
alalazo merged 2 commits intospack:developfrom
adamjstewart:features/no-setup
Jan 27, 2021
Merged

Remove 'spack setup' command#20277
alalazo merged 2 commits intospack:developfrom
adamjstewart:features/no-setup

Conversation

@adamjstewart
Copy link
Copy Markdown
Member

spack setup was deprecated in 0.16 and will be removed in 0.17.

Follow-up to #18240

last_update = os.path.getmtime(args.update)
if not any(os.path.getmtime(f) > last_update for f in files):
tty.msg('File is up to date: %s' % args.update)
return
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This logic doesn't work when a command is removed, since we can't check if a non-existent file is newer than the file to update.

@adamjstewart
Copy link
Copy Markdown
Member Author

Ping @tgamblin

@haampie haampie requested a review from alalazo January 26, 2021 18:07
@alalazo alalazo merged commit aa8e026 into spack:develop Jan 27, 2021
@adamjstewart adamjstewart deleted the features/no-setup branch January 27, 2021 13:51
jppelteret pushed a commit to jppelteret/spack that referenced this pull request Feb 4, 2021
spack setup was deprecated in 0.16 and will be removed in 0.17

Follow-up to spack#18240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants