Project

General

Profile

Feature #28283

Autodetect if apidoc cache needs reload

Added by Oleh Fedorenko over 2 years ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
User experience
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

If the server was upgraded and there are new endpoints or there changes in some then it may lead to errors such as "The server does not support such operation." if the cache wasn't reloaded.

Fix for this issue should include:
1. Autodetection if the cache needs to be reloaded.
2. If so, reload the cache.

Also, the note from discussion with @mbacovsky:
It may be a good idea to extend/add hammer-cli-foreman version to the checksum and reload the cache if the hammer version is newer than the version in checksum.

Associated revisions

Revision a4a6592f (diff)
Added by Oleh Fedorenko 3 months ago

Fixes #28283 - Force API docs checksum check

Revision 36eaa749
Added by Marek Hulán about 2 months ago

Merge pull request #599 from ofedoren/feat-28283-force-checksum-check

Fixes #28283 - Force API docs checksum check

History

#1 Updated by Shira Maximov over 2 years ago

  • In Kanboard set to yes

#2 Updated by Shira Maximov over 2 years ago

  • In Kanboard deleted (yes)

#3 Updated by Shira Maximov over 2 years ago

  • In Kanboard set to yes

#4 Updated by Shira Maximov over 2 years ago

  • In Kanboard deleted (yes)

#5 Updated by Shira Maximov over 2 years ago

  • In Kanboard set to yes

Changing in_kanboard field to yes

#6 Updated by Shira Maximov over 2 years ago

  • In Kanboard deleted (yes)

#7 Updated by Oleh Fedorenko over 1 year ago

  • Assignee set to Oleh Fedorenko
  • Status changed from New to Assigned

#8 Updated by Oleh Fedorenko 10 months ago

  • Assignee deleted (Oleh Fedorenko)
  • Status changed from Assigned to New

#9 Updated by Oleh Fedorenko 6 months ago

  • Assignee set to Oleh Fedorenko
  • Status changed from New to Assigned

#10 Updated by Oleh Fedorenko 6 months ago

  • Bugzilla link set to 2039696

#11 Updated by The Foreman Bot 4 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli/pull/359 added

#12 Updated by The Foreman Bot 4 months ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/594 added

#13 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/599 added

#14 Updated by Oleh Fedorenko 3 months ago

  • Pull request deleted (https://github.com/theforeman/hammer-cli/pull/359, https://github.com/theforeman/hammer-cli-foreman/pull/594)

#15 Updated by The Foreman Bot about 2 months ago

  • Fixed in Releases hammer-cli-foreman-3.3.0 added

#16 Updated by Oleh Fedorenko about 2 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF