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

theupdateframework / tuf / 1655 / 1
98%
develop: 97%

Build:
Build:
LAST BUILD BRANCH: release-0.18
DEFAULT BRANCH: develop
Ran 02 Dec 2019 12:39PM UTC
Files 16
Run time 1s
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

02 Dec 2019 12:33PM UTC coverage: 98.436% (-0.03%) from 98.469%
TOXENV=py27

push

travis-ci

lukpueh
doc: Explicitly mark roles dirty in tutorial (WIP)

TUF does not reliably mark roles as dirty whose metadata needs
to be re-generated.

Only roles that have changed are marked as dirty, but sometimes
roles metadata needs to be updated, although the role wasn't
changed directly (see #958).

Furthermore, the tutorial assumes at one point that the reader
leaves and re-enter the interpreter session, being forced to reload the
signing keys, roles that later need to be re-written, are marked as
dirty. If the reader does not leave the interpreter, the roles are
not marked as dirty (see #XXX).

To not confuse the reader with flawed state-keeping, and to never
write an inconsistent repository to disk, the tutorial lets the
reader explicitly mark all roles that need to be re-written as
"dirty".

This can be changed once above issues are fixed.

TODO: Create issue #XXX and replace in tutorial snippet comments
and in this commit message

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>

847 of 880 branches covered (96.25%)

3021 of 3069 relevant lines covered (98.44%)

0.98 hits per line

Source Files on job 1655.1 (TOXENV=py27)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 814
  • Travis Job 1655.1
  • 21db98fc on github
  • Prev Job for TOXENV=py27 on add_tutorial_regression_test (#1653.1)
  • Next Job for TOXENV=py27 on add_tutorial_regression_test (#1657.1)
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