Jira (PUP-8616) puppet module upgrade crashes

2020-03-31 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-8616  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet module upgrade crashes   
 

  
 
 
 
 

 
 Given the lack of response, I'm going to close this. Please reopen if it is still an issue.  
 

  
 
 
 
 

 
 
 

 
 
 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.243437.1522271892000.27138.1585716300028%40Atlassian.JIRA.


Jira (PUP-8616) puppet module upgrade crashes

2018-04-03 Thread Jesse Scott (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Scott commented on  PUP-8616  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet module upgrade crashes   
 

  
 
 
 
 

 
 Yes the value of the "next" field in the "pagination" section is "false" when it should be "null". It looks like this bug was supposed to be resolved in the latest release of that gem though, are you using version 1.10.1? https://github.com/unibet/puppet-forge-server/releases/tag/1.10.1 https://rubygems.org/gems/puppet-forge-server/versions/1.10.1    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8616) puppet module upgrade crashes

2018-04-03 Thread Nelson Araujo (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nelson Araujo commented on  PUP-8616  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet module upgrade crashes   
 

  
 
 
 
 

 
 There you go: forge_api.json  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8616) puppet module upgrade crashes

2018-04-03 Thread Nelson Araujo (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nelson Araujo updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8616  
 
 
  puppet module upgrade crashes   
 

  
 
 
 
 

 
Change By: 
 Nelson Araujo  
 
 
Attachment: 
 forge_api.json  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8616) puppet module upgrade crashes

2018-04-03 Thread Jesse Scott (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Scott commented on  PUP-8616  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet module upgrade crashes   
 

  
 
 
 
 

 
 Nelson Araujo you should be able to use curl or your web browser to make a request directly to the API and get the JSON back. Something like:  
 
 
 
 
 curl "https://forgeapi.puppet.com/v3/modules?limit=1" > tmp/forge_api.json
  
 
 
 
  with the URI of your local Forge mirror and desired output file path substituted. It sounds like the maintainer of that gem could make an update to return the correct pagination values, we are also looking into making the module tool more tolerant of unexpected values in the API response in a future Puppet release.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit

Jira (PUP-8616) puppet module upgrade crashes

2018-04-03 Thread Nelson Araujo (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nelson Araujo commented on  PUP-8616  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet module upgrade crashes   
 

  
 
 
 
 

 
 Is there a way to output Puppet's response get? BTW I'm using this Forge Server: https://rubygems.org/gems/puppet-forge-server  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8616) puppet module upgrade crashes

2018-04-02 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8616  
 
 
  puppet module upgrade crashes   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Team: 
 Puppet Developer Experience  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8616) puppet module upgrade crashes

2018-04-02 Thread Jesse Scott (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jesse Scott commented on  PUP-8616  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet module upgrade crashes   
 

  
 
 
 
 

 
 Can we see an example of the API responses sent by your private Forge instance? I suspect one of the pagination fields is "false" when it should be "null".  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8616) puppet module upgrade crashes

2018-04-02 Thread Craig Gomes (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Craig Gomes commented on  PUP-8616  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet module upgrade crashes   
 

  
 
 
 
 

 
 Jesse Scott this looks related to the pagination changes that were made in the Forge.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8616) puppet module upgrade crashes

2018-03-28 Thread Nelson Araujo (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nelson Araujo commented on  PUP-8616  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: puppet module upgrade crashes   
 

  
 
 
 
 

 
 Update: I tested against 4.10.0 and the problem does not occur. Did you make breaking changes in the module protocol between 4.x and 5.x?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-8616) puppet module upgrade crashes

2018-03-28 Thread Nelson Araujo (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nelson Araujo created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8616  
 
 
  puppet module upgrade crashes   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 PUP 5.4.0  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 CLI, Modules  
 
 
Created: 
 2018/03/28 2:18 PM  
 
 
Environment: 
 Puppet 5.4.0  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Nelson Araujo  
 

  
 
 
 
 

 
 When upgrading a module on a private Forge the client crashes: $ puppet module upgrade --module_repository=http://...com google-gstorage Notice: Preparing to upgrade 'google-gstorage' ... Notice: Found 'google-gstorage' (v0.2.0) in /home/nelsona/.puppetlabs/etc/code/modules ... Error: undefined method `gsub' for false:FalseClass /home/nelsona/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/puppet-5.4.0/lib/puppet/forge.rb:240:in `decode_uri' /home/nelsona/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/puppet-5.4.0/lib/puppet/forge.rb:110:in `fetch' /home/nelsona/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/puppet-5.4.0/lib/puppet/module_tool/applications/upgrader.rb:93:in `run' /home/nelsona/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/puppet-5.4.0/lib/puppet/face/module/upgrade.rb:73:in `block (3 levels) in ' /home/nelsona/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/puppet-5.4.0/lib/puppet/interface/action.rb+eval[wrapper]:264:in `upgrade' /home/nelsona/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/puppet-5.4.0/lib/puppet/application/face_base.rb:247:in `main' /home/nelsona/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/puppet-5.4.0/lib/puppet/application.rb:383:in `run_command' /home/nelsona/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/puppet-5.4.0/lib/puppet/application.r