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

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

Build:
Build:
LAST BUILD BRANCH: prep-v1.6.0
DEFAULT BRANCH: develop
Ran 05 Dec 2018 11:15PM UTC
Files 48
Run time 3105min
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

05 Dec 2018 10:23PM UTC coverage: 93.454% (+63.1%) from 30.334%
COVERAGE=1

push

travis-ci-com

theory
Allow dependency on reworked changes.

I ran into an issue when I tried to deploy a project that depended
on a reworked change from another project:

    Change "func_logger" is ambiguous. Please specify a tag-qualified change:
      * func_logger@v2.7.0
      * func_logger@2.0
    Change Lookup Failed

In truth, the database requires either version; furthemore, updating the plan
to tag-qualify the dependency would cause all the change IDs to fail, and thus
deploys to fail.

So for the specific case of depending on changes from another project, if a
change has been reworked, and therefore matches multiple records in the
database, simply select the first deployed version of the change as the
dependency. The cleanest, simplest way to do so was to add support the
parameter `first` to `change_id_for()` and teach it not to raise an error if
`first` is true, but just return the first change ID.

While at it, correct the documentation for `change_id_for()`.

4240 of 4537 relevant lines covered (93.45%)

61.09 hits per line

Source Files on job 155.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 90
  • Travis Job 155.12
  • b6e645b5 on github
  • Prev Job for on master (#58.3)
  • Next Job for COVERAGE=1 on master (#156.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