View Issue Details

IDProjectCategoryView StatusLast Update
0007934Talerexchangepublic2023-11-29 00:30
Reporterjavier.sepulveda Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.9.4 
Target Version0.9.3Fixed in Version0.9.3 
Summary0007934: ToS program, can't be executed from anywhere but from the .rst file is located + Other improvents
Description
Program: taler-terms-generator

https://git.taler.net/exchange.git/tree/contrib/taler-terms-generator.in

### When using the taler-terms-generator program from the outside of the $TOS_PATH (check in deployment.git/sandcastle: docker-compose.yml + images/exchange/scripts/startup.sh), it doesn't work.

cd $TOS_PATH
taler-terms-generator -i file # works

taler-terms-generator -i /path/to/file # doesn't work

Proposed improvement:
------------------------
1) Include the ".rst" type file, as part of the file name.

i.e : taler-terms-generator -i file.rst

2) Please check line 29

For the sake of readability, maybe it is better to use the equal symbol as delimiter, instead of a slash symbol : 's=/=\\/=g'



TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2023-09-29 11:31

manager   ~0020561

3fa3a7da..74c56c62 modifies the code to make it run from any location. I don't see the need to fix the sed-escaping, but also don't fundamentally oppose.

Issue History

Date ModifiedUsernameFieldChange
2023-09-05 09:51javier.sepulvedaNew Issue
2023-09-05 09:51javier.sepulvedaStatusnew => assigned
2023-09-05 09:51javier.sepulvedaAssigned To => Christian Grothoff
2023-09-29 11:31Christian GrothoffNote Added: 0020561
2023-09-29 11:31Christian GrothoffStatusassigned => informing
2023-09-29 11:31Christian GrothoffResolutionopen => fixed
2023-09-29 11:31Christian GrothoffFixed in Version => 0.9.4
2023-09-29 11:31Christian GrothoffTarget Version => 0.9.4
2023-11-29 00:28Christian GrothoffTarget Version0.9.4 => 0.9.3
2023-11-29 00:29Christian GrothoffFixed in Version0.9.4 => 0.9.3
2023-11-29 00:30Christian GrothoffStatusinforming => closed