Jira (PUP-10416) Comparing rpm package versions without epoch fails

2020-04-27 Thread Claire Cadman (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Claire Cadman updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10416  
 
 
  Comparing rpm package versions without epoch fails   
 

  
 
 
 
 

 
Change By: 
 Claire Cadman  
 
 
Labels: 
 doc_reviewed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.354829.1586361879000.47511.1587984300094%40Atlassian.JIRA.


Jira (PUP-10416) Comparing rpm package versions without epoch fails

2020-04-22 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10416  
 
 
  Comparing rpm package versions without epoch fails   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 6.15.0  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.354829.1586361879000.45085.1587616200058%40Atlassian.JIRA.


Jira (PUP-10416) Comparing rpm package versions without epoch fails

2020-04-16 Thread Gheorghe Popescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gheorghe Popescu assigned an issue to Gheorghe Popescu  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10416  
 
 
  Comparing rpm package versions without epoch fails   
 

  
 
 
 
 

 
Change By: 
 Gheorghe Popescu  
 
 
Assignee: 
 Gheorghe Popescu  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.354829.1586361879000.39835.1587022620030%40Atlassian.JIRA.


Jira (PUP-10416) Comparing rpm package versions without epoch fails

2020-04-15 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10416  
 
 
  Comparing rpm package versions without epoch fails   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Story Points: 
 5  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.354829.1586361879000.38728.1586941800029%40Atlassian.JIRA.


Jira (PUP-10416) Comparing rpm package versions without epoch fails

2020-04-15 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10416  
 
 
  Comparing rpm package versions without epoch fails   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 

  
 
 
 
 

 
 *Desired Behavior:* To succesfully do the version comparison:{panel}3:1.0 > 1.2{panel}  1.0 > 1.2 <- manifest  *Actual Behavior:* Is not able to compare epoch *3* against missing epoch. *Proposed solution:*Currently, missing epoch is considered to be nil in the code. This should be instead treated as 0 when comparing versions. This case occurs when a package with a version containing epoch was already installed. Regarding this topic, version received in the :ensure field of the manifest should be stripped of epoch when installing packages (as yum at least seems to use epoch just for sorting the versions but will not find specific version when epoch is mentioned).   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this 

Jira (PUP-10416) Comparing rpm package versions without epoch fails

2020-04-15 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10416  
 
 
  Comparing rpm package versions without epoch fails   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 

  
 
 
 
 

 
 *Desired Behavior:* To succesfully do the version comparison:{panel}3:1.0 > 1.2{panel}  1.0 > 1.2 <- manifest    *Actual Behavior:* Is not able to compare epoch *3* against missing epoch. *Proposed solution:*Currently, missing epoch is considered to be nil in the code. This should be instead treated as 0 when comparing versions. This case occurs when a package with a version containing epoch was already installed. Regarding this topic, version received in the :ensure field of the manifest should be stripped of epoch when installing packages (as yum at least seems to use epoch just for sorting the versions but will not find specific version when epoch is mentioned).   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this 

Jira (PUP-10416) Comparing rpm package versions without epoch fails

2020-04-15 Thread Gheorghe Popescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gheorghe Popescu commented on  PUP-10416  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Comparing rpm package versions without epoch fails   
 

  
 
 
 
 

 
 docker-ce repo for testing packages: https://github.com/NaturalHistoryMuseum/scratchpads2/wiki/Install-Docker-and-Docker-Compose-(Centos-7)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.354829.1586361879000.38716.1586940420034%40Atlassian.JIRA.


Jira (PUP-10416) Comparing rpm package versions without epoch fails

2020-04-15 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10416  
 
 
  Comparing rpm package versions without epoch fails   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 

  
 
 
 
 

 
 *Desired Behavior:* To succesfully do the version comparison:{panel}3:1.0  <  >  1.2{panel} *Actual Behavior:* Is not able to compare epoch *3* against missing epoch. *Proposed solution:*Currently, missing epoch is considered to be nil in the code. This should be instead treated as 0 when comparing versions. This case occurs when a package with a version containing epoch was already installed. Regarding this topic, version received in the :ensure field of the manifest should be stripped of epoch when installing packages (as yum at least seems to use epoch just for sorting the versions but will not find specific version when epoch is mentioned).   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop 

Jira (PUP-10416) Comparing rpm package versions without epoch fails

2020-04-14 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10416  
 
 
  Comparing rpm package versions without epoch fails   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Sprint: 
 PR NW  -  Triage  2020-04-29  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.354829.1586361879000.37702.1586876040042%40Atlassian.JIRA.


Jira (PUP-10416) Comparing rpm package versions without epoch fails

2020-04-08 Thread Luchian Nemes (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Luchian Nemes created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10416  
 
 
  Comparing rpm package versions without epoch fails   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2020/04/08 9:04 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Luchian Nemes  
 

  
 
 
 
 

 
 Desired Behavior: To succesfully do the version comparison: 

 
3:1.0 < 1.2 

   Actual Behavior: Is not able to compare epoch 3 against missing epoch.   Proposed solution: Currently, missing epoch is considered to be nil in the code. This should be instead treated as 0 when comparing versions. This case occurs when a package with a version containing epoch was already installed.   Regarding this topic, version received in the :ensure field of the manifest should be stripped of epoch when installing packages (as yum at least seems to use epoch just for sorting the versions but will not find specific version when epoch is mentioned).    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment