Project

General

Profile

Bug #26367

Building a tarball with Rakefile.dist fails over $CHILD_STATUS

Added by Ewoud Kohl van Wijngaarden 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Development tools
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

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 3 months 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 3 months 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 Michael Moll 3 months ago

  • Fixed in Releases 1.22.0 added

#3 Updated by Ewoud Kohl van Wijngaarden 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF