Nick Krabbenhoeft

Results 24 comments of Nick Krabbenhoeft

Linux brew was breaking for other reasons that I didn't dig much farther into. The best workaround turned out being installing Go. Also not straightforward, but I documented it https://nypl.github.io/digpres/2017/12/20/raspi-siegfried.html...

I've incorporated the suggested changes. After using this branch for a few months, I changed the copy mechanism to use a single copytree call. To do this, I had to...

@acdha is it okay if I add tests to cover the CLI? It would have caught the bug I fixed in 61769cd, but I hadn't seen an approach to testing...

I'm also running into this. In my case, I'm bagging material off of DVD-R's. I have some time to put into this. Would it be easier to work on #92...

Does the oxum meet your needs for a Bag-Size property? It's in bag-info.txt in the form ####.### where the first part is the total bytes in the data folder and...

This is an issue with bagit-python. It should be reported in this repo. https://github.com/LibraryOfCongress/bagit-python If you repost it there, can you confirm that the bagging command finished processing? Bagit-python uses...

Force push because I accidentally committed my test file in a9b769d

I'm doing a lot of that work with an extension to the bagit class. https://github.com/NYPL/ami-tools/blob/master/ami_bag/update_bag.py Bagit.py doesn't officially support completeness checking without running hashes yet, which is why I have...

Relevant functions from bagit that you could adapt. figuring out what's in manifest and on fs https://github.com/nkrabben/bagit-python/blob/ce891ec3df0b52dd0d715c1ff3c8afff9fc9dc43/bagit.py#L330 reporting on any problems https://github.com/nkrabben/bagit-python/blob/ce891ec3df0b52dd0d715c1ff3c8afff9fc9dc43/bagit.py#L699

ami-tools is my first large project using objects. It's definitely become handier as ami-tools has grown, because now I have a programmatic definition of an ami-bag that contains metadata (either...