Page MenuHomeSoftware Heritage

Dockerfile: Reference the rsvndump binary in /usr/local/bin/rsvndump
ClosedPublic

Authored by ardumont on Nov 23 2022, 10:50 AM.

Details

Summary

This is using the new swh container gitlab registry and install such binary.
This demonstrates how to use that new container while allowing dev on the svn
loader (using that new binary) to happen.

Test Plan
  • rebuild docker image with success and rsvndump is usable from it:
...
 ---> 4305b39753e6
Successfully built 4305b39753e6
Successfully tagged swh/stack:latest
$ docker run --rm -it swh/stack:latest svnrdump --help
general usage: svnrdump SUBCOMMAND URL [-r LOWER[:UPPER]]
Subversion remote repository dump and load tool.
Type 'svnrdump help <subcommand>' for help on a specific subcommand.
Type 'svnrdump --version' to see the program version and RA modules.

Available subcommands:
   dump
   load
   help (?, h)
$ docker run --rm -it swh/stack:latest svnrdump --version
svnrdump, version 1.14.1 (r1886195)
   compiled Apr  5 2022, 23:23:59 on x86_64-pc-linux-gnu

Copyright (C) 2021 The Apache Software Foundation.
This software consists of contributions made by many people;
see the NOTICE file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - using serf 1.3.9 (compiled with 1.3.9)
  - handles 'http' scheme
  - handles 'https' scheme

@anlambert heads up ;)

Diff Detail

Repository
rDENV Development environment
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.