[Koha-bugs] [Bug 31865] Hide display of 'dev/testing' packages on production installs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 19 06:59:52 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31865

Mason James <mtj at kohaaloha.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff

--- Comment #5 from Mason James <mtj at kohaaloha.com> ---
(In reply to Mason James from comment #0)
> this patchset attempts to hide the display of 'dev/testing' packages on
> production installs
> 
> this will hopefully reduce situations where dev/testing packages are
> installed from CPAN, which can introduce problems

to test:

- apply patchset

- start KTD

- observe apache::bench module in about.pl->modules

- fake 'production' install by adding the following code in about.pl, line 660

660 $ENV{DEV_INSTALL} = 0;  <<<<<<<<<<<<<
661 foreach my $pm_type(@pm_types) {
662     my $modules = $perl_modules->get_attr($pm_type);

- restart plack

- observe apache::bench module is *not* in about.pl->modules

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list