Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Eric Thompson updated an issue Puppet / PUP-3968 Cache the zypper list-updates output Change By: Eric Thompson QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Eric Thompson updated an issue Puppet / PUP-3968 Cache the zypper list-updates output Change By: Eric Thompson The zypper provider calls `zypper list-updates` in order to get a list of the packages that have newer versions. Then it checks if the resource name matches any of the items in the list, and then applies the newer version. The problem with the above though is that it runs list-updates for every single package instance, while it should be run only once, as it provides all the packages that have newer versions available. I'm going to submit a PR for this in github. risk assessment: medium (FR only for now)probability: medium (sles, zypper provider ensure=>latest)severity: low (meh, it's a bit slower)highest testing layer: unit Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Eric Thompson commented on PUP-3968 Re: Cache the zypper list-updates output validated on sles12 at SHA: # zypper provider works stsgzx5y0a17zjp:~ # puppet apply -e "package{'zip': ensure=>latest, provider=>zypper}" Notice: Compiled catalog for stsgzx5y0a17zjp.delivery.puppetlabs.net in environment production in 0.64 seconds Notice: Applied catalog in 0.32 seconds #put some debugging in a "zyppper" binary: stsgzx5y0a17zjp:~ # vi /usr/bin/zypper stsgzx5y0a17zjp:~ # zypper zypper! stsgzx5y0a17zjp:~ # cat /tmp/zypper.log zypper!
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Eric Thompson assigned an issue to Eric Thompson Puppet / PUP-3968 Cache the zypper list-updates output Change By: Eric Thompson Assignee: QA Eric Thompson Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Melissa Stone commented on PUP-3968 Re: Cache the zypper list-updates output Eric Thompson, Kurt Wall, this is ready for FR, what can I do to help make sure it isn't forgotten? Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Melissa Stone assigned an issue to QA Puppet / PUP-3968 Cache the zypper list-updates output Change By: Melissa Stone Status: Ready for CI Test Assignee: Melissa Stone QA Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Michael Stahnke updated an issue Puppet / PUP-3968 Cache the zypper list-updates output Change By: Michael Stahnke Scope Change Reason: Community triage Scope Change Category: Adopted Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Kenn Hussey updated an issue Puppet / PUP-3968 Cache the zypper list-updates output Change By: Kenn Hussey Sprint: RE 2015-04-08 , RE 2015-04-22 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Melissa Stone updated an issue Puppet / PUP-3968 Cache the zypper list-updates output Change By: Melissa Stone Sprint: RE 2015-04-08 Story Points: 2 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Melissa Stone updated an issue Puppet / PUP-3968 Cache the zypper list-updates output Change By: Melissa Stone Fix Version/s: PUP 4.1.0 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Melissa Stone assigned an issue to Melissa Stone Puppet / PUP-3968 Cache the zypper list-updates output Change By: Melissa Stone Assignee: Melissa Stone Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Melissa Stone assigned an issue to Branan Riley Puppet / PUP-3968 Cache the zypper list-updates output Change By: Melissa Stone Assignee: Melissa Stone Branan Riley Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Melissa Stone assigned an issue to Melissa Stone Puppet / PUP-3968 Cache the zypper list-updates output Change By: Melissa Stone Assignee: Melissa Stone Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Scott Garman updated an issue Puppet / PUP-3968 Cache the zypper list-updates output Change By: Scott Garman Component/s: Types and Providers Component/s: Community Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Theo Chatzimichos updated an issue Puppet / PUP-3968 Cache the zypper list-updates output Change By: Theo Chatzimichos Labels: opensuse package , provider sles suse zypper Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-3968 Cache the zypper list-updates output Change By: Kylo Ginsberg Scrum Team: Release Engineering Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Theo Chatzimichos updated an issue Puppet / PUP-3968 Cache the zypper list-updates output Change By: Theo Chatzimichos Labels: opensuse package, provider sles suse zypper Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Theo Chatzimichos commented on PUP-3968 Re: Cache the zypper list-updates output https://github.com/puppetlabs/puppet/pull/3578 Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-3968) Cache the zypper list-updates output
Title: Message Title Theo Chatzimichos created an issue Puppet / PUP-3968 Cache the zypper list-updates output Issue Type: Improvement Affects Versions: PUP 3.7.4 Assignee: Unassigned Components: Performance Created: 2015/02/05 12:20 PM Environment: openSUSE, SLES Priority: Normal Reporter: Theo Chatzimichos The zypper provider calls `zypper list-updates` in order to get a list of the packages that have newer versions. Then it checks if the resource name matches any of the items in the list, and then applies the newer version. The problem with the above though is that it runs list-updates for every single package instance, while it should be run only once, as it provides all the packages that have newer versions available. I'm going to submit a PR for this in github.