pulp / pulp/pulp_deb

Synchronize translation files

Open
#408 11 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

.feature
Dominant language
Python
Stars
71
Forks
91
Avg merge
1d 19h
Merged PRs (30d)
22

Description

Author: @quba42 (quba42)

Redmine Issue: 8734, https://pulp.plan.io/issues/8734


This feature has been partially implemented, but I don't think it has ever actually worked and contains various sync breaking bugs.
As a result I will disable translation file synchronization completely for now.

The feature can then be re-added once fully completed. The following is a list of issues I have identified with the current incomplete implementation:

  • Debian references extracted versions of translation file archives in the Release file even if not actually there. This messes with the current implementation, but can be fixed by handling translation files the same way we do this for package indices.
  • We are currently synchronizing "translation diff file indexes", but not the files referenced from those indexes.
  • We are storing translation files as GenericContent, but the corresponding serializer cannot deal with multi artifact content.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified. Start by locating the disabled translation file synchronization implementation and compare it with package-index handling; review Debian Release references, translation diff file indexes and referenced files, and GenericContent serialization. Done means synchronization is fully re-added without the listed breakages.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.