Skip to contentSkip to conversation

gitignore: Remove po/*.po and po/LINGUAS

PATCH In review Glenn Washburn 2 participants 3 messages Nov 11, 2025 – Nov 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gitignore: Remove po/*.po and po/LINGUAS

po files will now be tracked. This has the following benefits as listed by Colin Watson:

* Build processes would no longer be vulnerable to an external server potentially going down for an extended period of time; they'd be stuck with outdated translations until the server was fixed or came up with a workaround, but that's better than nothing.

* It would be easier to manage branches of stable releases, rather than assuming that translations downloaded for master will match the POT files for a stable release.

* Tests would be able to pass from a clean git checkout without relying on an external server, improving QA reliability.

* It would be easier to make and test branches while offline.

* The translations shipped with a release tarball could be tagged in git so that it's easy to investigate bugs in them.

* Downstream distributors would be able to use git branches without having to fill in additional files.

---
Resending this patch alone as it was accidentally added to a previous patch series that it should not have been a part of.

Glenn

---
 .gitignore | 2 --
 1 file changed, 2 deletions(-)
.gitignore +0 -2
index 524f2e6d0070..9e333886c99c 100644
@@ -249,8 +249,6 @@ widthspec.bin
 /pata_test
 /po/*.gmo
 /po/*.mo
-/po/*.po
-/po/LINGUAS
 /po/Makefile.in.in
 /po/Makevars
 /po/Makevars.template
Signature · 7 lines
2.34.1


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Glenn Washburn

po files will now be tracked. This has the following benefits as listed by Colin Watson:

* Build processes would no longer be vulnerable to an external server potentially going down for an extended period of time; they'd be stuck with outdated translations until the server was fixed or came up with a workaround, but that's better than nothing.

* It would be easier to manage branches of stable releases, rather than assuming that translations downloaded for master will match the POT files for a stable release.

* Tests would be able to pass from a clean git checkout without relying on an external server, improving QA reliability.

* It would be easier to make and test branches while offline.

Quoted 7 lines

* The translations shipped with a release tarball could be tagged in git so that it's easy to investigate bugs in them.

* Downstream distributors would be able to use git branches without having to fill in additional files.

Daniel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#2 lore raw
Quoted 21 lines · On Mon, 17 Nov 2025 18:31:40 +0100 Daniel Kiper <[email protected]> wrote:
Quoted 20 lines · Glenn Washburn

po files will now be tracked. This has the following benefits as listed by Colin Watson:

* Build processes would no longer be vulnerable to an external server potentially going down for an extended period of time; they'd be stuck with outdated translations until the server was fixed or came up with a workaround, but that's better than nothing.

* It would be easier to manage branches of stable releases, rather than assuming that translations downloaded for master will match the POT files for a stable release.

* Tests would be able to pass from a clean git checkout without relying on an external server, improving QA reliability.

* It would be easier to make and test branches while offline.

* The translations shipped with a release tarball could be tagged in git so that it's easy to investigate bugs in them.

Quoted 6 lines
Quoted 4 lines

* Downstream distributors would be able to use git branches without having to fill in additional files.

And just as a reminder, one of the steps before setting a release tag should be to run linguas.sh or bootstrap (if the patch to move linguas into bootstrap has been merged), perhaps as is already done when doing your testing before the release. And then to commit the updated po files before creating the release tag and distribution bundles.

Glenn

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel