Code Monkey home page Code Monkey logo

hostfile_manager's People

Contributors

aneurysm9 avatar ezarko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ezarko githangar

hostfile_manager's Issues

source contain no Changes file

Please consider adding a Changes file to CPAN releases, to help users curious why they should bother updating to a newer release.

email identifer possibly outdated

It seems from recent git commits that your email address has changed from gmail.com in 2011 (through synacor.com in 2015) to aneurysm9.com here in 2018.

Perhaps that calls for updating author info in POD entries of code, and extending author info in CPAN metadata to include that identifier?

libhostfile-manager-perl: FTBFS: You planned 65 tests but ran 64.

We have the following bug reported to the Debian package of
Hostfile-Manager, c.f. https://bugs.debian.org/993397

It doesn't seem to be a bug in the packaging, so you may want to take
a look. Thanks!

------8<-----------8<-----------8<-----------8<-----------8<-----

Source: libhostfile-manager-perl
Version: 0.09-1.1
Severity: serious
Tags: ftbfs sid bookworm

This package fails its test suite on current sid.

It probably broke with libtest-nowarnings-perl_1.06-1 which is already
in testing (not sure why autopkgtest regression checks didn't catch this.)
From the Test-NoWarnings changelog:

  Made had_no_warnings turn off the checking at END time for use with
  done_testing based tests with no test count. Also added docs.

From https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libhostfile-manager-perl.html

   # Looks like you planned 65 tests but ran 64.
   t/run.t .. 
   1..65
   ok 1 - use Hostfile::Manager;
   ok 2 - Hostfile::Manager->can('block')
   ok 3 - block
   ok 4 - Hostfile::Manager->can('new')
   ok 5 - ... and the constructor should succeed
   ok 6 - '... and the object it returns' isa 'Hostfile::Manager'
   ok 7 - Hostfile::Manager->can('disable_fragment')
   ok 8 - ... and fragment_enabled returns ok when fragment is indeed enabled
   ok 9 - ... and disable_fragment returns ok when fragment is newly disabled
   ok 10 - ... and fragment is indeed disabled
   ok 11 - Hostfile::Manager->can('enable_fragment')
   ok 12 - ... and enable_fragment returns ok when fragment is newly enabled
   ok 13 - ... and fragment is indeed enabled
   ok 14 - Hostfile::Manager->can('enable_fragment')
   ok 15 - ... and enable_fragment returns ok when fragment is newly enabled
   ok 16 - ... and fragment is indeed enabled
   ok 17 - ... and fragment only appears once
   ok 18 - ... and enable_fragment does not complain excessively when enabling missing fragment
   ok 19 - Hostfile::Manager->can('fragment_enabled')
   ok 20 - ... and fragment_enabled returns ok when fragment is indeed enabled
   ok 21 - ... and fragment_enabled returns not_ok when fragment is not enabled
   ok 22 - Hostfile::Manager->can('fragment_list')
   ok 23 - ... and fragment list matches expectation
   ok 24 - Hostfile::Manager->can('fragment_status_flag')
   ok 25 - ... and fragment_status_flag returns '+' when fragment is enabled and unmodified
   ok 26 - ... and fragment_status_flag returns '*' when fragment is enabled and modified
   ok 27 - ... and fragment_status_flag returns ' ' when fragment is disabled
   ok 28 - Hostfile::Manager->can('get_fragment')
   ok 29 - ... and get_fragment returns fragment content
   ok 30 - Hostfile::Manager->can('get_fragment')
   ok 31 - ... and get_fragment undef when fragment file missing
   ok 32 - Hostfile::Manager->can('hostfile')
   ok 33 - ... and hostfile should start out with content of file at hostfile_path
   ok 34 - ... and settings its value should NOT succeed
   ok 35 - ... and settings its value did not succeed
   ok 36 - hostfile should start out with content of file at hostfile_path
   ok 37 - Hostfile::Manager->can('hostfile')
   ok 38 - ... and hostfile should start out with content of file at hostfile_path, even when constructed with a different hostfile_path
   ok 39 - Hostfile::Manager->can('hostfile_path')
   ok 40 - ... and hostfile_path should start out with default value
   ok 41 - ... and setting its value should succeed
   ok 42 - Hostfile::Manager->can('load_hostfile')
   ok 43 - ... and load_hostfile indicates success
   ok 44 - ... and load_hostfile actually loaded the file
   ok 45 - Hostfile::Manager->can('load_hostfile')
   ok 46 - ... and load_hostfile chokes when hostfile missing
   ok 47 - Hostfile::Manager->can('load_hostfile')
   ok 48 - ... and load_hostfile indicates success
   ok 49 - ... and load_hostfile actually loaded the file
   ok 50 - Hostfile::Manager->can('path_prefix')
   ok 51 - ... and path_prefix should start out with default value
   ok 52 - ... and setting its value should succeed
   ok 53 - Hostfile::Manager->can('toggle_fragment')
   ok 54 - ... and fragment_enabled returns ok when fragment is enabled
   ok 55 - ... and toggle_fragment returns ok when fragment is newly toggled
   ok 56 - ... and fragment is disabled
   ok 57 - ... and toggle_fragment returns ok when fragment is newly toggled
   ok 58 - ... and fragment is enabled
   ok 59 - Hostfile::Manager->can('write_hostfile')
   ok 60 - ... and write_hostfile returns ok
   ok 61 - ... and hostfile written to t/fixtures/hosts/write_test
   ok 62 - Hostfile::Manager->can('write_hostfile')
   ok 63 - ... and write_hostfile chokes when trying to write to file without permissions
   ok 64 - ... and hostfile NOT written to t/fixtures/hosts/write_test
   Dubious, test returned 255 (wstat 65280, 0xff00)
   Failed 1/65 subtests 
   
   Test Summary Report
   -------------------
   t/run.t (Wstat: 65280 Tests: 64 Failed: 0)
     Non-zero exit status: 255
     Parse errors: Bad plan.  You planned 65 tests but ran 64.

-- 
Niko Tyni   [email protected]


------8<-----------8<-----------8<-----------8<-----------8<-----

Thanks for considering,
gregor herrmann,
Debian Perl Group

add a "get hostfile from URL" command

IT would be convenient, for machines which have a URL which can spew out hostfiles, to have some "get hostfile from URL" command. I would image it to be something like:
$ hostfiles --fetch

It would then do an HTTP GET to fetch the contents of , and if successful store the result in /etc/hostfiles/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.