Project

General

Profile

Bug #26367

Building a tarball with Rakefile.dist fails over $CHILD_STATUS

Added by Ewoud Kohl van Wijngaarden about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Development tools
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

When invoking rake -f Rakefile.dist pkg:generate_source it fails because the English module is not required. Using $? does work.

Associated revisions

Revision 13503354 (diff)
Added by Ewoud Kohl van Wijngaarden about 4 years ago

Fixes #26367 - Fix building sources outside of bundler

Using `rake -f Rakefile.dist pkg:generate_source` fails because it
doesn't require the English module. This means $CHILD_STATUS is not set
and the task fails. When using it via Rakefile it loads the main
application which pulls in the English module somewhere so there the
issue doesn't exist.

By requiring English we ensure the readable version is present.

History

#1 Updated by The Foreman Bot about 4 years ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6576 added

#2 Updated by Anonymous about 4 years ago

  • Fixed in Releases 1.22.0 added

#3 Updated by Ewoud Kohl van Wijngaarden about 4 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF