Page MenuHomeSoftware Heritage

conf/deposit: Update deposit configuration
ClosedPublic

Authored by ardumont on Oct 6 2020, 5:30 PM.

Details

Summary
  • Rename storage to storage_metadata
  • Drop no longer used loader-version

(I also updated the hackmd page accordingly and the production configuration)

Test Plan
$ doco up
# deposit starts fine and is happy nonetheless
$ curl http://localhost:5006
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>The Software Heritage Deposit</title>



    <!-- BEGIN: bootstrap -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

    <link rel="stylesheet" href="/static/css/bootstrap-responsive.min.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />

    <!-- END: bootstrap -->

    <link rel="stylesheet" type="text/css" href="/static/css/style.css" />
    <link rel="icon" href="/static/img/icons/swh-logo-32x32.png" sizes="32x32" />
    <link rel="icon" href="/static/img/icons/swh-logo-deposit-192x192.png" sizes="192x192" />
    <link rel="apple-touch-icon-precomposed" href="/static/img/icons/swh-logo-deposit-180x180.png" />
    <meta name="msapplication-TileImage" content="/static/img/icons/swh-logo-deposit-270x270.png" />
  </head>
  <body
    <a id="top"></a>
    <nav class="navbar navbar-default navbar-static-top" id="swh-navbar-collapse">
      <div class="navbar-header">
        <div class="logo">
          <a class="navbar-brand" href="/"> <!-- logo -->
            <img alt="SWH Deposit" src="/static/img/swh-logo-deposit.png" class="swh-logo" />
          </a>
          <a class="navbar-brand sitename" href="/">
            <span class="first-word">Software</span> <span class="second-word">Heritage</span>
          </a>
        </div>
      </div>
    </nav>

    <div class="container">
      <div class="container">
      </div>
      <div class="container content">

<h1>Welcome to the Software Heritage deposit</h1>

<h2>Overview</h2>

<p>
The long term goal of the Software Heritage initiative is
to <strong>collect</strong> all publicly available software in source
code form together with its development history, replicate it
massively to ensure its <strong>preservation</strong>,
and <strong>share</strong> it with everyone who needs it.
</p>

<h2>What's the deposit?</h2>

This is <a href="https://www.softwareheritage.org">Software Heritage</a>'s
<a href="http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html">SWORD
2.0</a> Server implementation.

<strong>S.W.O.R.D</strong> (<strong>S</strong>imple <strong>W</strong>eb-Service <strong>O</strong>ffering <strong>R</strong>epository
<strong>D</strong>eposit) is an interoperability standard for digital
file deposit.

This implementation allows a client (a repository, e.g. hal) to deposit
software source archives and its associated metadata to the (<a
href="https://archive.softwareheritage.org">SWH archive</a>).

<h2>Documentation</h2>

<p>
  <ul>
    <li><a href="https://docs.softwareheritage.org/devel/swh-deposit">Index</a></li>
    <li><a href="https://docs.softwareheritage.org/devel/swh-deposit/getting-started.html">Getting Started</a></li>
    <li><a href="https://docs.softwareheritage.org/devel/swh-deposit/spec-api.html">Specification</a></li>
  </ul>
</p>


      </div>
    </div>
    <div id="footer" class="panel-footer">
      <a href="https://www.softwareheritage.org">Software Heritage</a> &mdash;
      Copyright (C) 2015&ndash;2018, The Software Heritage developers.
      License: <a href="https://www.gnu.org/licenses/agpl.html">GNU
      AGPLv3+</a>. <br /> The source code of Software Heritage <em>itself</em>
      is available on
      our <a href="https://forge.softwareheritage.org/">development
      forge</a>. <br /> The source code files <em>archived</em> by Software
      Heritage are available under their own copyright and licenses. <br />
      <a href="https://www.softwareheritage.org/software-heritage-api-terms-of-use/">Terms of use</a> -
      <a href="https://www.softwareheritage.org/contact/">Contact</a>.
    </div>
    <div id="back-to-top">
      <a href="#top"><img alt="back to top" src="/static/img/arrow-up-small.png" /></a>
    </div>
  </body>
</html>

Diff Detail

Repository
rDENV Development environment
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 15946
Build 24539: arc lint + arc unit

Event Timeline

Actually update configuration to correct one

ardumont retitled this revision from docker/conf/deposit: Drop no longer used configuration to conf/deposit: Update deposit configuration.Oct 6 2020, 6:00 PM
ardumont edited the summary of this revision. (Show Details)

er, I missed the name change in D4013.

I think we should rename it to "metadata_storage", for consistency with how we usually call it + "indexer_storage"

Well, ok but later.

I've already deployed the deposit with this ;)

This revision was not accepted when it landed; it landed in state Needs Review.Oct 7 2020, 2:12 PM
This revision was automatically updated to reflect the committed changes.