Eplicta.ArchiveReport 1.3.2

dotnet add package Eplicta.ArchiveReport --version 1.3.2
                    
NuGet\Install-Package Eplicta.ArchiveReport -Version 1.3.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Eplicta.ArchiveReport" Version="1.3.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Eplicta.ArchiveReport" Version="1.3.2" />
                    
Directory.Packages.props
<PackageReference Include="Eplicta.ArchiveReport" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Eplicta.ArchiveReport --version 1.3.2
                    
#r "nuget: Eplicta.ArchiveReport, 1.3.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Eplicta.ArchiveReport@1.3.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Eplicta.ArchiveReport&version=1.3.2
                    
Install as a Cake Addin
#tool nuget:?package=Eplicta.ArchiveReport&version=1.3.2
                    
Install as a Cake Tool

Eplicta.ArchiveReport

Generates Riksarkivet's metadata appendix ("Metadatabilaga") — an Excel workbook describing a web archiving delivery, with one row per archived file.

The repository contains two projects:

  • Eplicta.Conserver.ArchiveReport — the reusable NuGet package (Eplicta.ArchiveReport). It exposes the data model and the Excel renderer; it does not touch the file system or read archives. Consumers build the data model and call the renderer.
  • Eplicta.Conserver.Cli — a thin command-line harness that builds the data model from a finished delivery zip (reads sip.xml, scans files) and renders the report. Useful for manual testing.

Package API

var report = new ArchiveReport
{
    Description = "My delivery",
    ArchiveBuilder = "Example AB",
    // ... remaining delivery-level metadata (see ArchiveReport) ...
    Files =
    [
        new FileEntry { FileName = "index.html", FileType = "text/html", SizeBytes = 1234, Charset = "utf-8", Path = "https://example.org/" },
        // ... one FileEntry per page/resource ...
    ]
};

byte[] xlsx = new Renderer().GetBytes(report);
// or: new Renderer().Save(report, "metadatabilaga.xlsx");
  • ArchiveReport — delivery-level metadata + the file list (the "Allmänt" sheet).
  • FileEntry — the 10 Riksarkivet columns per file (the "Filer" sheet).
  • Renderer — fills the embedded mall_webb_2026.xlsx template and returns the workbook as bytes.

Excel handling uses ClosedXML (MIT). No external license configuration is required.


CLI usage

dotnet run --project Eplicta.Conserver.Cli -- <path-to-delivery.zip> [options]

The report is written next to the input as <name>.xlsx. Metadata not present in the archive can be supplied with --description=, --creator=, --systemname=, --system=, --withdrawaldate=, --comment=.

The CLI expects a sip.xml inside the archive and a nested content zip. Media duration is read with TagLib#.


Releasing

Every merge to master builds, tests and publishes Eplicta.ArchiveReport to nuget.org, and creates a GitHub release v<version>. The version is <major>.<minor> from version.txt followed by the workflow run number, so each merge gets a new patch version. Change version.txt to start a new minor or major line. A specific version can be published from the Actions tab with Publish → Run workflow.

License

MIT, see LICENSE.


Author

Eplicta ArchiveReport Team

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Eplicta.ArchiveReport:

Package Downloads
Eplicta.Conserver.Cli

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.2 52 11/17/2026
1.2.0 167 6/14/2026
1.0.8 162 3/30/2026
1.0.6 135 3/25/2026
1.0.3 131 3/25/2026
1.0.1 145 3/13/2026