fixup perlcritic: indirect new

[?]
Aug 19, 2021, 8:25 PM
E5NSTNVMDLSHP26QFPNFOQY43MVTSLGSBRJO4ISG24HJPEXKJSPAC

Dependencies

  • [2] IDP66ILE Use Google's verifier
  • [3] EYAA7MJY hydra-server: Support logs in S3
  • [4] GNQYRBAG Implement GitHub logins
  • [5] 7YTZDNBO Apply requested changes to Config.pm
  • [6] KKHVM4KA Move GC roots to /nix/var/nix/gcroots/hydra
  • [7] SGLGUD7R Enable apache style includes in the config file
  • [8] NYC3LZKH * Generate NAR archives on the fly. Necessary for producing channels
  • [9] 2GK5DOU7 * Downloading closures.
  • [10] 5NO7NCKT * Refactoring.
  • [11] 3PJ77S7Q Set utf-8 charset for raw logs
  • [12] UCCNGBKL Comment around dupe to avoid drift
  • [13] QRGESEEN Remove unnecessary comment
  • [14] ALIOF64I * Use IO::Handles instead of old school filehandles. This ensures
  • [15] UCJEI7YZ Don't compress already-compressed files.
  • [16] KI423DCQ Stream logs if possible and remove size limit
  • [17] 3CH2DFTV Use email api call
  • [18] 3QWDDLBR Add support for logging in via a Google account
  • [19] 3PNG7NIB Remove trailing whitespace
  • [*] XJRJ4J7M Add user registration

Change contents

  • replacement in src/lib/Hydra/Controller/User.pm at line 146
    [6.3063][2.0:33]()
    my $ua = new LWP::UserAgent;
    [6.3063]
    [2.33]
    my $ua = LWP::UserAgent->new();
  • replacement in src/lib/Hydra/Controller/User.pm at line 174
    [4.792][4.792:825]()
    my $ua = new LWP::UserAgent;
    [4.792]
    [4.825]
    my $ua = LWP::UserAgent->new();
  • replacement in src/lib/Hydra/Helper/Nix.pm at line 47
    [6.267][5.170:222]()
    my %h = new Config::General(%opts)->getall;
    [6.1064]
    [6.164]
    my %h = Config::General->new(%opts)->getall;
  • replacement in src/lib/Hydra/View/NixClosure.pm at line 14
    [6.1174][6.1174:1203]()
    my $fh = new IO::Handle;
    [6.1174]
    [6.3102]
    my $fh = IO::Handle->new();
  • replacement in src/lib/Hydra/View/NixLog.pm at line 14
    [6.762][6.762:791]()
    my $fh = new IO::Handle;
    [6.762]
    [3.1440]
    my $fh = IO::Handle->new();
  • replacement in src/lib/Hydra/View/NixNAR.pm at line 16
    [6.792][6.792:821]()
    my $fh = new IO::Handle;
    [6.792]
    [6.3114]
    my $fh = IO::Handle->new();