Red Hat Bugzilla – Bug 496598
Using a configuration file for pem allowing the user to change values
Last modified: 2009-06-23 03:20:24 EDT
Description of problem:
Currently pem uses the '-f' option to allow specifying a file to store expenses in. Is it possible to have a configuration file for pem that allows such values to be stored and controlled via the component file
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install pem
2. Try to locate a configuration file via man pem
No configuration file.
A configuration file would be useful
(In reply to comment #0)
> Currently pem uses the '-f' option to allow specifying a file to
> store expenses in. Is it possible to have a configuration file for
> pem that allows such values to be stored and controlled via the
> component file
- Well actually, `-f <file-name>' is *not* the default storage for pem.
The option is meant to facilitate the custom storage.
- By default, pem stores the expense records in a CSV file named after
the current month and located under $HOME/.pem/
- This structure makes it scale through 100 years starting from 00 to 99.
- Fixing this to a single file sounds kind of dicey to me, for it'll pose
problems while generating different kinds of reports.
- Yet, the idea of <different-profiles> for a *single* user is kind of inviting.
For that way pem can be used for more than one kinds of expenses, like
personal/domestic/business etc. No promises on that though.