Bug 496598 - Using a configuration file for pem allowing the user to change values
Using a configuration file for pem allowing the user to change values
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: pem (Show other bugs)
10
i386 Linux
low Severity low
: ---
: ---
Assigned To: kushaldas@gmail.com
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-20 05:35 EDT by Sankarshan Mukhopadhyay
Modified: 2009-06-23 03:20 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-06-23 03:20:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sankarshan Mukhopadhyay 2009-04-20 05:35:00 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):


How reproducible:


Steps to Reproduce:
1. Install pem
2. Try to locate a configuration file via man pem
3.
  
Actual results:

No configuration file.

Expected results:

A configuration file would be useful

Additional info:
Comment 1 pjp 2009-04-20 07:56:57 EDT
(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/

    $HOME/.pem/<current-year>/<current-month>

 - 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.

Thank you.

Note You need to log in before you can comment on or make changes to this bug.