Page MenuHomeSoftware Heritage

deposit: Update debian packages
Closed, MigratedEdits Locked

Description

Currently, as explained in [1], swh-deposit debian packaging is:

  • python3-swh.deposit: public exposed sword api, private api/rpc server (for loaders)
  • python3-swh.deposit.loader: checker and loader (which use a client to discuss with the private api of the server)
  • python3-swh.deposit.client: http client to discuss with the public (sword) or private (rpc like) of the server

The surprise comes from the fact that no one depends on the main package.

Proposal: Rename python3-swh.deposit which is really the server code to python3-swh.deposit.server
Use the right debian keyword (Breaks, replaces) for that as well.

If there is a need for a python3-swh.deposit, that'd be for the common part.

[1] https://forge.softwareheritage.org/D1184#inline-6445

Event Timeline

ardumont triaged this task as Normal priority.Mar 12 2019, 2:44 PM
ardumont created this task.

After D1411 lands, we need to rework the packaging in regards to the changes there.

@zack @douardda @moranegg Latest adaptations packaged and deployed

The debian package did not change yet though (as per oral discussion).
That should not impact the deposit client cli (using pip install)

ardumont renamed this task from deposit: Adapt debian package for the least surprise effect to deposit: Update debian packages.Apr 17 2019, 11:20 PM