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

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

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

pending completion
286

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

297 of 369 branches covered (80.49%)

Branch coverage included in aggregate %.

27 of 27 new or added lines in 1 file covered. (100.0%)

606 of 730 relevant lines covered (83.01%)

1.66 hits per line

Jobs
ID Job ID Ran Files Coverage
2 286.2 06 Dec 2018 06:08PM UTC 0
82.53
Travis Job 286.2
4 286.4 06 Dec 2018 06:10PM UTC 0
82.53
Travis Job 286.4
Source Files on build 286
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #286
  • Pull Request #120
  • PR Base - master (#281)
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

© 2025 Coveralls, Inc