• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sqitchers / sqitch / 338 / 12
91%
develop: 100%

Build:
Build:
LAST BUILD BRANCH: free-cover
DEFAULT BRANCH: develop
Ran 23 Jan 2019 04:49PM UTC
Files 50
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Jan 2019 04:07PM UTC coverage: 93.655%. Remained the same
COVERAGE=1

push

travis-ci-com

theory
Merge branch 'option-unification'

This mege changes the way Sqitch handles command-line argument parsing to
allow both core and command options to appear either before or after the
command. Previously, core options had to come before the command name, and
command options after. No more. The caveat is that command options that take
arguments should either appear after the command or use the `--opt=val` syntax
instead of `--opt val`, so that Sqitch doesn't think `val` is the command.

Even in that case, it will keep searching the rest of the arguments to find a
valid command. However, to minimize this challenge, the documentation now
suggests and demonstrates putting all options after the command, like so:

    sqitch [command] [options]

With the ability to mix and match core and command options, in order to
eliminate conflicts between the two categories of options, this merge also
moves all non-global options from the core to the commands that need them
(closes #250). Only options that affect output and runtime context remain in
the core:

* -C --chdir --cd <dir>  Change to directory before performing any actions
*    --etc-path          Print the path to the etc directory and exit
*    --no-pager          Do not pipe output into a pager
*    --quiet             Quiet mode with non-error output suppressed
* -V --verbose           Increment verbosity
*    --version           Print the version number and exit
*    --help              Show a list of commands and exit
*    --man               Print the introductory documentation and exit

Note that single-character aliases are now uppercase for core options (`-v` is
still supported for `--verbose`, but no longer documented). The options that
were moved include:

-   plan-file|f=s
-   engine=s
-   registry=s
-   client|db-client=s
-   db-name|d=s
-   db-username|db-user|u=s
-   db-host|h=s
-   db-port|p=i
-   top-dir|dir=s

I believe all the commands that need to use one or more of these options now
suppo... (continued)

4133 of 4413 relevant lines covered (93.66%)

62.24 hits per line

Source Files on job 338.12 (COVERAGE=1)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 249
  • Travis Job 338.12
  • c0be46a4 on github
  • Prev Job for COVERAGE=1 on master (#1146.12)
  • Next Job for COVERAGE=1 on master (#1150.12)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc