Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Archive-BagIt CPAN distribution.

Report information
The Basics
Id: 82999
Status: resolved
Priority: 0/
Queue: Archive-BagIt

People
Owner: RJESCHMI [...] cpan.org
Requestors: Patrick.Hochstenbach [...] UGent.be
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.02_5
Fixed in: (no value)



Subject: List of payloads and contents of tag files
Hi Thanks for contributing Archive::BagIt to the CPAN network. At Ghent University Library we create many tools which use the BagIt format. Would it be possible to add to Archive::BagIt methods to get a listing of all payloads and a way to retrieve the content of the tag files? Best Patrick
On Mon Jan 28 04:46:27 2013, HOCHSTEN wrote: Show quoted text
> Hi > > Thanks for contributing Archive::BagIt to the CPAN network. At Ghent > University Library we > create many tools which use the BagIt format. Would it be possible to > add to Archive::BagIt > methods to get a listing of all payloads and a way to retrieve the > content of the tag files? >
Yes for sure. For some reason I didn't get informed when you posted this ticket. I'll look into that. You can also contact me at rjeschmi@gmail.com
On Mon Jan 28 04:46:27 2013, HOCHSTEN wrote: Show quoted text
> Hi > > Thanks for contributing Archive::BagIt to the CPAN network. At Ghent > University Library we > create many tools which use the BagIt format. Would it be possible to > add to Archive::BagIt > methods to get a listing of all payloads and a way to retrieve the > content of the tag files? > > Best > Patrick
I have added a couple of new functions. my $bag = new Archive::BagIt (<path_to_bag>); $bag->payload_files() should return the payload files. $bag->manifest_files will return the list of manifest files $bag->tagmanifest_files should return the list of tagmanifest files. No doubt there will be bugs :) I'll try to do the other part you asked for. I'll create a $bag->entries as a hash ref to the manifest entries
Subject: RE: [rt.cpan.org #82999] List of payloads and contents of tag files
Date: Wed, 10 Apr 2013 16:56:34 +0200
To: "bug-Archive-BagIt [...] rt.cpan.org" <bug-Archive-BagIt [...] rt.cpan.org>
From: Patrick Hochstenbach <Patrick.Hochstenbach [...] UGent.be>
super!! :) Patrick Show quoted text
________________________________________ From: Robert Schmidt via RT [bug-Archive-BagIt@rt.cpan.org] Sent: Wednesday, April 10, 2013 4:39 PM To: Patrick Hochstenbach Subject: [rt.cpan.org #82999] List of payloads and contents of tag files <URL: https://rt.cpan.org/Ticket/Display.html?id=82999 > On Mon Jan 28 04:46:27 2013, HOCHSTEN wrote:
> Hi > > Thanks for contributing Archive::BagIt to the CPAN network. At Ghent > University Library we > create many tools which use the BagIt format. Would it be possible to > add to Archive::BagIt > methods to get a listing of all payloads and a way to retrieve the > content of the tag files? > > Best > Patrick
I have added a couple of new functions. my $bag = new Archive::BagIt (<path_to_bag>); $bag->payload_files() should return the payload files. $bag->manifest_files will return the list of manifest files $bag->tagmanifest_files should return the list of tagmanifest files. No doubt there will be bugs :) I'll try to do the other part you asked for. I'll create a $bag->entries as a hash ref to the manifest entries
Hi, case closed because fixed long time ago.