Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
5935d54d 05/13/2024 10:45 AM Evgeni Golov

drop old and unused sync_templates script

b0f28c2c 05/10/2024 09:55 AM Archana Kumari

Fixes #37432 - Fix Style/GlobalStdStream cop

aeb0ffa2 05/06/2024 02:23 PM Evgeni Golov

Fixes #37406 - drop upload functionality from foreman-debug

b595a97f 01/29/2024 04:01 PM Maria Agaphontzev

Refs #37102 - filter out webpack host argument

89c61045 01/26/2024 10:44 AM Maria Agaphontzev

Fixes #37102 - webpack 5

3636aecb 09/21/2023 09:37 AM Evgeni Golov

Fixes #36767 - use runuser instead of su to run rake

foreman-rake is designed to be run as root (and switch to foreman) or by
foreman directly. any other user can't use it as it is installed in sbin
and the foreman user has no password set, making switching users as non...

5e7343ec 06/09/2023 07:52 AM Maria Agaphontzev

Fixes #36439 - remove storybook and update ui docs

93c9effd 06/09/2022 02:06 PM Evgeni Golov

filter-package-json: add cli options for files

this allows to mangle files outside the foreman core checkout

d6c44dcf 02/02/2022 06:02 PM Lukas Zapletal

Fixes #34360 - prepare for Host Reports migration

Signed-off-by: Lukas Zapletal <>

4cc19f6c 10/21/2021 01:12 PM Bernhard Suttner

Fixes #33626 - use webpack for foreman plugin gems

A plugin can specify by the following line in the gemspec that it is
really a foreman plugin:

s.metadata = { "is_foreman_plugin" => "true" }

084aea8b 08/25/2021 03:08 PM Evgeni Golov

call npm install with --no-optional and --no-audit for plugins

speedup all the things, please

ff76393e 08/23/2021 06:07 PM Evgeni Golov

Refs #33318 - add a script to filter package.json

2c96294a 08/23/2021 04:59 PM Evgeni Golov

Fixes #33319 - don't run fix-stories on every postinstall

f5a3dd2d 07/29/2021 12:48 PM Ron Lavi

Fixes #32437 - Use webpack-dev-server-without-h2

Looks like webpack-dev-server version 2.x
can't support https without http2 due to missing options
when using command line parameters,
this is an hack that will prevent manually removing a line
after each `npm install` and will give us some air...

5d758b5a 04/27/2021 02:20 PM Evgeni Golov

Refs #29507 - use /usr/share/foreman/tmp not /run/foreman

/usr/share/foreman/tmp is a symlink to /run/foreman on EL, and
/var/cache/foreman on Debian

As we create the state file in {Rails.root}/tmp, let's also look for it in {Rails.root}/tmp, and not something it might or might not link to.

1ef7c82d 04/27/2021 09:24 AM Suresh Thirugnanasambandan

Fixes #29507 - Add puma-status for reporting

6e777e39 09/23/2020 11:48 AM Ron Lavi

Fixes #30715 - Add foreman JS tests github action

fc238764 09/10/2020 12:10 PM Evgeni Golov

Fixes #30813 - explicitly use rsync.theforeman.org for upload

theforeman.org might point at a different system than the one running
rsync

85befddd 08/19/2020 08:10 AM Avi Sharvit

Fixes #30618 - remove foreman-js:link (#7888)

please use the link command provided by foreman-js instead
see: https://github.com/theforeman/foreman-js

Co-authored-by: Ewoud Kohl van Wijngaarden <>

7fc985d6 05/25/2020 10:46 AM Tomer Brisker

templates - delete old templates on sync

f7e8785b 05/04/2020 07:27 AM Tomer Brisker

templates - sync from community-templates

cce3653d 04/20/2020 11:45 PM Adam Ruzicka

Fixes #28323 - Collect information about Dynflow sidekiq in f-debug

With this change foreman-debug will additionally collect:
- worker configuration from /etc/foreman/dynflow
- STDOUT from sidekiq processes
- current status of dynflow sidekiq services

e7c0ad82 01/09/2020 05:04 PM Avi Sharvit

Fixes #28573 - use @theforeman/stories

89b8fc37 01/07/2020 04:04 PM Amir Fefer

Fixes #28488 - consume jest config from env

86384603 12/23/2019 09:49 AM Michael Moll

Fixes #19779 - Fix Layout/IndentHeredoc cop

528875da 12/20/2019 09:48 AM Lukas Zapletal

Fixes #28553 - improved password filtering in debug

bc37baca 10/24/2019 07:14 AM Ondřej Ezr

Refs #28064 - add sidekiq configs

417c21a2 10/24/2019 07:14 AM Ondřej Ezr

Fixes #28064 - initial script for sidekiq

a105d06b 10/22/2019 07:56 AM Tomer Brisker

Fixes #27994 - Clean up deprecated functions

6d989b13 10/22/2019 07:45 AM Ewoud Kohl van Wijngaarden

Fixes #28091 - Make javascript extras executable

This follows the pattern that all scripts are executable.

0220eaac 07/16/2019 01:18 PM Avi Sharvit

Fixes #27074 - Migrate to @theforeman/vendor pkg

9ee38c29 05/16/2019 01:46 PM Lukáš Zapletal

Fixes #26804 - add_cmd requires second parameter (#6766)

b4984838 04/23/2019 09:39 AM Matthias Dellweg

Fixes #26590 - Rename template snippets

Rename provisioning template snippets to not start with '_' as rails
template partials. This will match better, what we see in
community-templates, and will allow to do a directory comparison via diff.

Script used:...

eb714e7d 03/03/2019 09:39 AM John Mitsch

Fixes #26194 - Silence ruby warnings for foreman-rake

This commit adds the `-W 0` to ruby for foreman-rake

This will silence warnings for ruby. We already use the production
rails environment, which prevents rails warnings, but we don't alter
the logging for ruby, so ruby warnings are still visible...

5bc58e66 02/27/2019 11:16 AM Avi Sharvit

Fixes #26174 - Webpack skip plugins cores

3a1aa057 02/12/2019 02:15 PM Lukas Zapletal

Fixes #25985 - listen on IPv6 for dev setup

202c65d0 01/22/2019 10:50 AM Justin Sherrill

Fixes #25882 - compile extra bundles during plugin compile

4f290348 01/10/2019 02:37 PM Tomer Brisker

templates - sync from community-templates

02e1b5d6 12/25/2018 08:25 AM Tomáš Strachota

Refs #21312 - exclude *_core gemfiles

bc486dd6 12/25/2018 08:25 AM Tomáš Strachota

Fixes #21312 - infrastructure for using Intl

- allows multiple webpack entries
- infrastructure for dynamic imports

b8d2ef42 12/20/2018 09:55 AM Lukas Zapletal

Fixes #25670 - added virt-who to foreman-debug

e43dae73 11/29/2018 10:59 AM Avi Sharvit

Refs #25217 - Automatic eslint fix

Run `npm run lint -- --fix`
to automatically fix all the fixable linting issues

05442c77 11/04/2018 05:29 PM Bernhard Suttner

fixes #25252 - disable host check in start-dev

Use --disable-host-check in foreman-start-dev so that
foreman in forklift/vagrant doesn't throw
'Invalid host header' issue

e7c1caaa 10/08/2018 11:44 AM Gilad Lekner

Fixes #25137 - webpack-analyze script fails

2b492294 09/18/2018 02:14 PM Lukas Zapletal

Fixes #24944 - removes LC_ALL from debug script

be8a612b 09/13/2018 06:12 AM Michael Moll

Refs #15806 - add eslint also to travis tests

24ceb264 09/11/2018 07:57 AM Chris Roberts

Fixes #24836 - Update production.log filename so we get log.gz.

5a45e1e2 09/02/2018 02:45 PM Lukas Zapletal

Fixes #24720 - listen interface aligned in dev script

fa8bec79 08/09/2018 07:22 AM Ohad Levy

fixes #24561 - adds webpack analyze support

to use, simply execute:

```npm run analyze```

f3c11b0f 07/27/2018 08:00 AM Chris Roberts

Fixes #24386 - Update debug to include proxy certs generate.

b5eca9b3 06/22/2018 07:53 AM Michael Moll

Fixes #23962 - Fix Style/ExpandPathArguments cop

f34e9013 06/06/2018 11:12 AM Quirin Pamp

Fixes #23677 - Add additional config options to foreman-debug

Allows for full control of upload behaviour of foreman-debug via the
config file. The following new variables are introduced: UPLOAD_URL,
UPLOAD_CMD, UPLOAD_USAGE_MSG, UPLOAD_UNSET_MSG, UPLOAD_SUCCESS_MSG,...

44dc98ad 05/31/2018 12:01 PM Ewoud Kohl van Wijngaarden

Fixes #23643 - Stop bundle install in Travis

Since 90db5e364ff209f093c64849e21d3362644367f8 we no longer require core
Foreman in script/plugin_webpack_directories.rb which means we no longer
need all dependencies installed. Just Ruby with JSON support. This...

b4e4ad58 05/11/2018 12:11 AM Eric Helms

Fixes #23511 - Generate webpack plugins in context of vendor/bundle

0399f6db 04/28/2018 02:52 PM Eric Helms

Fixes #23414 - Allow plugins to compile in production

9392da0a 04/28/2018 01:15 PM Ewoud Kohl van Wijngaarden

Fixes #23361 - Handle webpack manifests from plugins

In a production setup Foreman can't write to the manifest.json location.
Here we copy the pattern from the above sprockets initialization and
change the webpack-rails setting to read it. Because webpack-rails...

e46403cd 04/26/2018 12:27 PM Ondřej Pražák

Refs #23147 - Fix style offences

b0ee9fd6 04/17/2018 01:29 PM Eric Helms

Fixes #23147 - Allow plugins to compile production webpack assets

b21e7e6f 04/16/2018 08:44 PM Daniel Lobato Garcia

Refs #23215 - 2.3 compat. for webpack in plugins script

.match? was only introduced on 2.4, therefore it's failing to run
on 2.3 and test pipelines for plugins with webpack & Ruby 2.3 fail

90db5e36 04/13/2018 02:05 PM Daniel Lobato Garcia

Fixes #23215 - Keep original names in webpack bundle

Currently the webpack config is shortening the name of the js bundles
for plugins. E.g, foreman_remote_execution becomes remoteexecution, and
so on.
This becomes hard to deal with when we want to figure out which plugin...

6135e7a6 04/07/2018 06:57 PM Lukas Zapletal

Fixes #23135 - foreman-selinux-install.log is collected
[skip ci]

210e2953 04/06/2018 04:49 PM Ondřej Pražák

Fixes #23097 - Show npm postinstall errors

d4027af7 03/28/2018 12:53 PM Chris Roberts

Refs #22968 - update debug with dynflow logs

254f2279 02/02/2018 11:10 AM Avi Sharvit

Fixes #22480 - Add code coverage to Travis CI

publish code-coverage report from travis to coveralls.io

8bb3b0b0 01/26/2018 01:02 PM Lukas Zapletal

Fixes #21824 - use /var/tmp for debugs and cleaning

0caf612b 01/26/2018 10:29 AM Lukas Zapletal

Fixes #22425 - generate selinux interfaces once in debug

d6928d67 01/26/2018 09:11 AM Lukas Zapletal

Fixes #22426 - removed plugin list from debug

cfc1ba91 01/25/2018 01:59 PM Ivan Necas

Fixes #21743 - include foreman-maintain in foreman-debug

65135dbe 01/17/2018 07:24 AM Eric Helms

Fixes #22294 - Run dynflowd from rails root location

d1e0c918 11/27/2017 09:25 PM Lukas Zapletal

Fixes #21781 - added getenforce to generic OS debug

92f05093 11/24/2017 09:20 AM Ewoud Kohl van Wijngaarden

Fixes #21757 - Move dynflow executor to script/dynflowd

This matches with foreman-{rake,tail} which are both in this directory
and installed in the same way. It also saves us a rename in packaging.

a5a6b5df 11/16/2017 12:10 PM Dan Seethaler

Fixes #21624 - eslint update to airbnb-base

Replace existing custom rules with airbnb-base config.
Eventually we'll want to to move to the full airbnb config
with react and a11y.

http://projects.theforeman.org/issues/21624

e9d61810 11/14/2017 12:16 PM Ondřej Pražák

Fixes #21619 - Add beter debug info for npm postinstall

9d366d05 11/10/2017 12:42 PM Tomáš Strachota

Fixes #21448 - execute npm run lint from context of plugins

5316000b 10/19/2017 11:45 AM Ondřej Pražák

Fixes #21180 - Enable adding 3rd party libraries from plugins

8ec9fb0f 10/04/2017 04:13 AM Ondřej Pražák

Fixes #20469 - Register react components from plugins

3d12e0df 09/18/2017 10:30 AM Walden Raines

Fixes #20902: ensure 'katello' is webpack bundle name.

We were removing the bundle name for katello and thus making it
difficult to reference the katello bundle. This commit changes the
script to ensure that the katello bundle name is retained.

http://projects.theforeman.org/issues/20902

7c62591a 09/04/2017 02:12 PM Lukas Zapletal

Fixes #20835 - added time into foreman-debug

85d8d1c0 07/25/2017 12:04 PM Eric Helms

Fixes #20312: Use bundler_ext in production for webpack plugin

d8cbf89c 07/20/2017 06:08 AM Lukas Zapletal

Fixes #16160 - added start-foreman-dev helper

b8cfb0de 07/05/2017 05:31 PM Tomer Brisker

Fixes #20211 - Run js tests if webpack config changes

caa81e6f 07/04/2017 05:32 AM Ohad Levy

fixes #20097 - webpack support for foreman plugins

How to use:

in a plugin, create a directory call webpack
then inside a file called index.js put something like:

```
import React from 'react';
import ReactDOM from 'react-dom';
import Icon from 'foremanReact/common/Icon';...

9b986c8d 05/17/2017 10:59 AM Anurag Patel

Fixes #17749 - Remove confusing .gz.txt extension from logs

Currently .txt extension is appended to log files that are processed
by foreman-debug and added to the debug archive. This is confusing to
the user.

This PR gets rid of the .txt extension, and also removes .gz/.bz2/xz...

ab67d437 05/11/2017 06:12 AM Sean O'Keeffe

Fixes #19497 - More passenger info in foreman-debug

9ccdc15e 05/08/2017 10:26 AM Anurag Patel

Fixes #17771 - Test if rsync successfully uploaded tarball

c0e6e3d6 04/20/2017 08:51 AM Anurag Patel

Fixes #17770 - Preserve timestamps for collected files.

Uses `touch -r` to use the source file/dir as a reference and
replicate timestamps over to the file collected inside
foreman-debug archive.

567cb9f1 03/28/2017 07:55 AM Marek Hulán

Fixes #18640 - realign templates structure

6908ea6f 03/27/2017 09:56 AM Bryan Kearney

Fixes #19036 - Add the hiera.yaml file from to foreman-debug

e6706821 02/09/2017 08:11 AM Lukas Zapletal

Fixes #18348 - foreman-debug compress faster

8c9db4bf 02/02/2017 04:58 AM Lukas Zapletal

Fixes #17005 - more strict debug password filter

15cb5f8c 11/09/2016 06:00 AM Tomer Brisker

Fixes #17248 - Run js tests with node versions we use

Our package builders and test infrastracture use different versions of
nodejs. We should check that all js tests pass for all different
versions used, to prevent breakage in any of our supported OSes.

45f8b472 11/07/2016 03:05 PM Dominic Cleal

refs #17044 - update foreman-debug man page for -s option change

56063713 11/03/2016 10:43 AM Pavel Moravec

Fixes #17044 - foreman-debug counts size instead lines

Added -s option to count sizes of logs/configs instead
of tailing the files, deprecating -m option

Fixes #17044

Signed-off-by: Pavel Moravec <>

91cfc0ca 10/19/2016 08:18 AM Michael Moll

fixes #17011 - refactor BUNDLER_CMD in foreman-rake

3d038824 09/21/2016 10:17 AM Stephen Benjamin

templates - sync from community-templates

0d8ad89b 09/15/2016 06:52 AM Daniel Lobato Garcia

Fixes #16562 - Enable JS testing on CI

Only runs when there has been a change in webpack/ in the last commit.

4cbf879e 08/24/2016 06:41 AM Lukas Zapletal

Fixes #12634 - New HW Model flag pxe_loader

Implementation of

https://github.com/theforeman/rfcs/blob/master/text/0001-PXE-Booting-UEFI.md

In short, new host/hostgroup flag PXE loader is added to specify TFTP
DHCP filename and Foreman now orchestrates all PXE-capable templates...

8bc37f61 08/09/2016 02:42 AM Chris Roberts

Fixes #15921 - add host command to foreman-debug

aa9f27e3 07/21/2016 08:54 AM Ranjan Kumar

Fixes #15684 - foreman-rake without options raise an error

287082a5 07/12/2016 04:41 AM David Davis

Refs #3809 - Turning on the AndOr cop