Giter Site home page Giter Site logo

Synchronize translation files about pulp_deb HOT 11 OPEN

pulp avatar pulp commented on August 22, 2024 1
Synchronize translation files

from pulp_deb.

Comments (11)

pulpbot avatar pulpbot commented on August 22, 2024

From: @quba42 (quba42)
Date: 2021-05-12T13:17:21Z


When we readd this we should also add some documentation.

from pulp_deb.

pulpbot avatar pulpbot commented on August 22, 2024

From: @quba42 (quba42)
Date: 2021-05-12T13:59:30Z


Start by reverting this commit: 98f25d846f41fc817501451daef39118d18d06b2

from pulp_deb.

stale avatar stale commented on August 22, 2024

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

from pulp_deb.

joernheissler avatar joernheissler commented on August 22, 2024

Hi,
how can the bug(s) be reproduced?

from pulp_deb.

mdellweg avatar mdellweg commented on August 22, 2024

It is more a missing feature than a bug.

from pulp_deb.

joernheissler avatar joernheissler commented on August 22, 2024

Yep. But I'm wondering what needs to be done to actually notice that features are missing or something isn't working.
A while ago I reverted 98f25d8 and as far as I remember, I couldn't see any issues.

from pulp_deb.

stale avatar stale commented on August 22, 2024

This issue is no longer marked for closure.

from pulp_deb.

quba42 avatar quba42 commented on August 22, 2024

relates to #401

from pulp_deb.

quba42 avatar quba42 commented on August 22, 2024

It looks like without this "feature" verbatim publications of upstream repos with translation files are currently unusable, because APT clients will choke on them as follows:

E: Failed to fetch http://pulp.example.net:8080/pulp/content/pr3/1/debian/bullseye-security/dists/bullseye-security/main/i18n/Translation-en  404  Not Found [IP: 192.168.1.1 8080]

In such cases, the only workaround available is to use a normal APT publication instead (which has various advantages/disadvantages when compared to a verbatim publication).

from pulp_deb.

stejoo avatar stejoo commented on August 22, 2024

One can configure APT on an already installed system to ignore Translation files. For example create a /etc/apt/apt.conf.d/50-ignore-translations

Acquire::Languages "none";

This will make an apt update work on a Debian box that is pointed to a Pulp verbatim repository, for example one holding a copy of an official Debian mirror repository.

However I have not a found an easy way to install a fresh Debian system using a Pulp verbatim mirror of a Debian repository. I am testing with Debian bullseye (11) and it fails to fetch the main/i18n/Translation-en file. This feature to also synchronize the Translation file would be very welcome. I have no idea of the amount of work involved though. Thank you for the efforts so far! 😄

from pulp_deb.

quba42 avatar quba42 commented on August 22, 2024

Thanks for the extra information. Ultimately the scenario we want to support is precisely installations from synced content. However, we don't yet have a time plan for when we will get to it. 😐

from pulp_deb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.