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

Changes for sorting cookbooks with deprecated flag #2058

Conversation

msys-sgarg
Copy link
Contributor

Signed-off-by: smriti sgarg@msystechnologies.com

Description

We are sorting cookbooks with deprecated boolean field. Which will make sure, cookbooks which are deprecated are always shown at the end of the list on view

Issues Resolved

#1838

Check List

@msys-sgarg msys-sgarg self-assigned this Jul 20, 2021
@msys-sgarg msys-sgarg added the Status: Sustaining Backlog An issue ideal for the Sustaining Engineering team (or anyone else if they want to adopt it). label Jul 20, 2021
end

it 'orders by updated_at descending when given "recently_updated"' do
great.touch

puts "dep cook book updated at #{deprecated_cookbook.updated_at} #{deprecated_cookbook.deprecated}"
puts " cookbook updated_at #{cookbook.updated_at} #{cookbook.deprecated}"
Copy link
Contributor

Choose a reason for hiding this comment

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

@msys-sgarg You might consider removing these "puts" statements from here in tests.

Signed-off-by: smriti <sgarg@msystechnologies.com>
@msys-sgarg msys-sgarg force-pushed the smriti/1838_show_deprecated_cookbook_at_the_end_of_list branch from 7ed53df to b4f02f6 Compare July 22, 2021 05:21
@tas50 tas50 merged commit 5e1efe7 into chef:master Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Sustaining Backlog An issue ideal for the Sustaining Engineering team (or anyone else if they want to adopt it).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants