Project

General

Profile

Actions

Bug #21377

closed

foreman_openscap needs to precompile apidoc

Added by Ondřej Pražák over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

foreman_openscap does not precompile apidoc. Browsing apidoc leads to 404 when clicking on resource from foreman_openscap.

Actions #1

Updated by Ondřej Pražák over 6 years ago

  • Bugzilla link set to 1479900
Actions #2

Updated by Ewoud Kohl van Wijngaarden over 6 years ago

It looks like it doesn't call foreman_precompile_plugin with -a so the cache isn't built. Since -a also does the DB migration and there's a comment in the spec that that needs to be in %posttrans, it looks like this was intentional change. Should the precompile macro be modified to split db actions and apipie cache?

Actions #3

Updated by Ewoud Kohl van Wijngaarden over 6 years ago

Note the DB migration is only on a devel DB so that might be OK. It also looks like the SCAPtimony dependency was removed so I'd first try to add -a to the precompile and see if that can build.

Actions #4

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-packaging/pull/1864 added
Actions #5

Updated by Ondřej Pražák over 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF