Bigtop

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

      needed adding gen_root inserts one with relative path html.
    - SiteLook GantryDefault now has a default gantry_wrapper formed
      from Gantry::Init::base_root . '/sample_wrapper.tt'
    - Fixed bug in mysql and sqlite backends.  They no longer generate
      create sequence statements.
    - Added optional tables to bigtop --new.  If you supply them you get
      a running app immediately after generation (but remember to make
      the database before trying to run it).
    - Silenced warnings from MySQL and SQLite SQL backends when the input
      has sequence blocks, which they ignore.
    - Started using the getpwuid approach of h2xs when no author info is
      available.
    - Base modules now have do_mains showing links to all the pages which
      have page_link_labels.  All controllers generated by bigtop --new
      have those labels, so out of the box apps have good do_mains.
    - Greatly improved defaults in tentmaker, among the changes:
        author is omitted so it can be generated in the manner of h2xs
        SiteLook GantryDefault backend no longer has a gantry_wrapper path
        making a table now automatically makes a corresponding controller
        auto-made controllers have:
            statements: controls_table, rel_location, text_description,

lib/Bigtop/Parser.pm  view on Meta::CPAN

                push @{ $retval }, [ $author, '' ];
            }
        }

        $retval;
    }
    else { # fall back on password file or local equivalent
        my $retval = [];
        # this eval was stolen from h2xs, but has been reformatted
        eval {
            my ( $username, $author_gcos ) = ( getpwuid($>) )[0,6];

            if ( defined $username && defined $author_gcos ) {

                $author_gcos =~ s/,.*$//; # in case of sub fields

                my $domain = $Config{ mydomain };
                $domain =~ s/^\.//;

                push @{ $retval }, [ $author_gcos, "$username\@$domain" ];
            }



( run in 0.279 second using v1.01-cache-2.11-cpan-8d75d55dd25 )