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

LibraryOfCongress / bagit-python / 286 / 2
84%
master: 83%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/py-1.10.0
DEFAULT BRANCH: master
Ran 06 Dec 2018 06:08PM UTC
Files 1
Run time 2127min
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

06 Dec 2018 06:07PM UTC coverage: 82.531% (-0.5%) from 83.057%
286.2

Pull #120

travis-ci

web-flow
follow_links and os.walk

There were several places in the code where filesystem walking happens.
These needed to be adjusted to take the follow_links option that
is provided to make_bag or the Bag constructor. In addition there are a
few functions outside of the Bag class which walk the fileystem which
needed to be aware of whether the user wants to follow links.

Interestingly this work surfaced a bit of a bug in bagit-python. If the
directory to be bagged contains a symlink before bagging, bagit will happily
atomically move that directory into the bag's payload directory. However
when the manifests are created they totally ignore the symbolic links.
So the data is there present on the filesystem but totally not
represented in the manifests.

With the addition of --follow-links you can now create a bag that
contains symlinks, and verify it later. I think an argument could be
made that this should be the default behavior, and perhaps you should
only be able to turn it off?
Pull Request #120: Links

320 of 392 branches covered (81.63%)

Branch coverage included in aggregate %.

606 of 730 relevant lines covered (83.01%)

0.83 hits per line

Source Files on job 286.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 276
  • Travis Job 286.2
  • ee0d3e4a on github
  • Prev Job for on links (#281.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