Jira (BOLT-1207) Bolt should inform users when there is a new version available

0 views
Skip to first unread message

Alex Dreyer (JIRA)

unread,
Mar 26, 2019, 11:40:03 AM3/26/19
to puppe...@googlegroups.com
Alex Dreyer created an issue
 
Puppet Task Runner / New Feature BOLT-1207
Bolt should inform users when there is a new version available
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2019/03/26 8:39 AM
Priority: Normal Normal
Reporter: Alex Dreyer

We expect users to be on the latest version of bolt. Bolt should therefore inform users when they can upgrade.

  • How will users who want to stay on a lower version disable this?
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Lucy Wyman (JIRA)

unread,
Jul 9, 2019, 12:35:03 PM7/9/19
to puppe...@googlegroups.com
Lucy Wyman updated an issue
Change By: Lucy Wyman
We expect users to be on the latest version of bolt. Bolt should therefore inform users when they can upgrade.

- How will users who want to stay on a lower version disable this?
- We can probably use DuJour for this
- How often do we poll for new version? Daily
- Where do we store the last time we notified you of an upgrade? {{~/.puppetlabs/bolt/.versioncheck}} Last time notified

Lucy Wyman (JIRA)

unread,
Jul 9, 2019, 12:37:03 PM7/9/19
to puppe...@googlegroups.com
Lucy Wyman commented on New Feature BOLT-1207
 
Re: Bolt should inform users when there is a new version available

Lucy will ask in Slack about how people want to use this feature and what people want to know. What metrics do we want to improve: Do we want people to upgrade from older Bolt versions? Do we want to get to 70% of people on newest version before next release?

Lucy Wyman (JIRA)

unread,
Jul 9, 2019, 12:40:03 PM7/9/19
to puppe...@googlegroups.com
Lucy Wyman updated an issue
Change By: Lucy Wyman
We expect users to be on the latest version of bolt. Bolt should therefore inform users when they can upgrade.

- How will users who want to stay on a lower version disable this?
- We can probably use DuJour for this
- How often do we poll for new version? Daily and only when bolt is run
- Where do we store the last time we notified you of an upgrade? {{~/.puppetlabs/bolt/.versioncheck}} Last time notified

Lucy Wyman (JIRA)

unread,
Jul 10, 2019, 5:54:03 PM7/10/19
to puppe...@googlegroups.com
Lucy Wyman commented on New Feature BOLT-1207
 
Re: Bolt should inform users when there is a new version available

Feedback from the community was "definitely yes", though folks wanted to get updates not on the CLI from Bolt but rather as an email / RSS feed update. Rnelson pointed out that a log message could show up in CI and, he's experienced this before with other tools, cause a failure when looking for output / warnings. Both TheBigChungus and ragnarkorn mentioned the mailing list (we have a mailing list?), or autoposting to the #announcements channel (which I doubt anyone looks at.....)

Kevin Reeuwijk (JIRA)

unread,
Jul 11, 2019, 4:42:02 AM7/11/19
to puppe...@googlegroups.com

bolt update check
would be a non-intrusive way of getting easy access to the desired info.

Lucy Wyman (JIRA)

unread,
Jul 25, 2019, 2:55:03 PM7/25/19
to puppe...@googlegroups.com
Lucy Wyman updated an issue
Change By: Lucy Wyman
Sprint: Bolt Ready for Grooming Kanban

Tom Beech (JIRA)

unread,
Jul 25, 2019, 2:56:03 PM7/25/19
to puppe...@googlegroups.com

Tom Beech (JIRA)

unread,
Jul 25, 2019, 3:12:03 PM7/25/19
to puppe...@googlegroups.com
Tom Beech assigned an issue to Unassigned

Alex Dreyer (JIRA)

unread,
Jul 26, 2019, 11:51:07 AM7/26/19
to puppe...@googlegroups.com
Alex Dreyer commented on New Feature BOLT-1207
 
Re: Bolt should inform users when there is a new version available

I don't think bolt update check will improve our upgrade rate. If you think to check you're probably already upgrading.

I think this either needs to be a CLI message or it's probably not worth doing.

Kevin Reeuwijk (JIRA)

unread,
Jul 26, 2019, 12:00:39 PM7/26/19
to puppe...@googlegroups.com

I've seen more than a few cases where an error occurred due to the user (even SEs) running an old version of Bolt.
One possibility is to augment only the error message with an update notification. For example:

Starting: plan test
Finished: plan test in 0.02 sec
{
  "kind": "bolt/pal-error",
  "msg": "Evaluation Error: Unknown function: 'puppetdb_query'. (file: /Users/kevin.reeuwijk/.puppetlabs/bolt/site-modules/test/plans/init.pp, line: 11, column: 13)",
  "details": {
  }
  "updateinfo" : "You are running v1.2.0, the latest version is v1.26.0. Consider upgrading!"
}

David Kramer (JIRA)

unread,
Jul 30, 2019, 12:48:03 PM7/30/19
to puppe...@googlegroups.com

David Kramer (JIRA)

unread,
Jul 30, 2019, 12:48:04 PM7/30/19
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages