Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order on msgids included in sphinx.pot is not deterministic #4630

Closed
cocoatomo opened this issue Feb 16, 2018 · 0 comments
Closed

Order on msgids included in sphinx.pot is not deterministic #4630

cocoatomo opened this issue Feb 16, 2018 · 0 comments

Comments

@cocoatomo
Copy link
Contributor

cocoatomo commented Feb 16, 2018

Subject: Order on msgids in sphinx.pot has difference even if its content has no essential changes

Problem

  • When .pot files are managed with VCS (such as Git), difference without essential changes bother project manager.

Procedure to reproduce the problem

git clone https://github.com/python/cpython
cd cpython/Doc
make build ALLSPHINXOPTS="-E -b gettext -D gettext_compact=0 -d build/.doctrees . locales/pot"

Error logs / results

Expected results

Treated as "No difference".
More concretely, msgids in sphinx.pot have deterministic order.

Reproducible project / your project

Environment info

  • OS: Linux/Travis CI
  • Python version: 3.6.3
  • Sphinx version: 1.7.0
@tk0miya tk0miya added this to the 1.7.1 milestone Feb 16, 2018
tk0miya added a commit that referenced this issue Feb 19, 2018
Fix #4630: Have order on msgids in sphinx.pot deterministic
@tk0miya tk0miya closed this as completed Feb 19, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants