CAcert Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001127Main CAcert Websitetranslationspublic2012-12-16 18:012015-09-29 20:45
Reporterwytze 
Assigned ToBenBE 
PrioritynormalSeverityminorReproducibilityalways
Statussolved?Resolutionfixed 
PlatformOSOS Version
Product Version2012 Q4 
Target Version2014 Q2Fixed in Version2015 Q3 
Summary0001127: messages,pot file created by www/locale/Makefile contains misleading file references
DescriptionThe Makefile in www/locale contains a recipe for creating a messages.pot file, which is uploaded to the translations.cacert.org server for translation. Messages are extracted from a wildcarded list of files. Due to the presence of a symbolic link 'crl' which points to '.' in the ../www/ directory, this file list contains file names like ../www/crl/....php, i.e. files which cannot be found in the source tar ball of the CAcert web application. This is misleading, and also redundant, since the same files have already been processed through their ../www/....php filename.
Steps To ReproduceGo to www/locale and run 'make messages.pot'
Additional InformationIn order to simplify the solution of this problem, the symbolic link 'crl' mentioned above has been renamed to 'CRL' (all uppercase). Thus a more selective wildcard (containing only directory names starting with a lowercase letter) can be used in the www/locale/Makefile recipe. This leads to the following fix for this problem:

cvs diff -u Makefile
Index: Makefile
===================================================================
RCS file: /var/lib/cvs/cacert/locale/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 29 Apr 2012 18:32:27 -0000 1.2
+++ Makefile 16 Dec 2012 16:43:51 -0000
@@ -144,7 +144,7 @@
 ../pages/*/*.php \
 ../scripts/*.php \
 ../www/*.php \
-../www/*/*.php \
+../www/[a-z]*/*.php \
 # ../tverify/*.php \
 # ../tverify/*/*.php \

This fix has been tested on the production server and the resulting messages.pot file has been uploaded to the translations server.
TagsNo tags attached.
Reviewed byNEOatNHNG, BenBE
Test Instructions
Attached Files? file icon Makefile [^] (3,933 bytes) 2012-12-16 18:01 [Show Content]

- Relationships
related to 0001113needs workBenBE Change english textes according to the wiki page https://wiki.cacert.org/Software/TranslationMisspelling [^

-  Notes
(0005462)
BenBE (administrator)
2015-09-29 20:38
edited on: 2015-09-29 20:45

After validation of the proposal by Wytze via mail regarding a20140422.2, sorry for the delay, the following thing is declared:

The change introduced by the Critical Administrator Team referenced in this bug tracker issue has caused no side effects or malfunctions. The behaviour is as it has been intended by the change.

Due to configuration changes done by the critical team in the mean time the change has become obsolete, but will be retained as it provides freedoms for the configuration of the server, while not impacting the software.

Thus while the introduction of this change did not quite follow the usual change management, this minor change is hereby accepted.

Benny Baumann
Software Assessment Team


- Issue History
Date Modified Username Field Change
2012-12-16 18:01 wytze New Issue
2012-12-16 18:01 wytze File Added: Makefile
2012-12-16 18:53 INOPIAE Relationship added related to 0001113
2013-01-10 14:48 Werner Dworak Status new => needs work
2015-09-29 20:38 BenBE Reviewed by => NEOatNHNG, BenBE
2015-09-29 20:38 BenBE Note Added: 0005462
2015-09-29 20:38 BenBE Assigned To => BenBE
2015-09-29 20:38 BenBE Status needs work => solved?
2015-09-29 20:38 BenBE Resolution open => fixed
2015-09-29 20:38 BenBE Product Version => 2012 Q4
2015-09-29 20:38 BenBE Fixed in Version => 2015 Q3
2015-09-29 20:38 BenBE Target Version => 2014 Q2
2015-09-29 20:45 BenBE Note Edited: 0005462 View Revisions


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker