Bug 496598 - Using a configuration file for pem allowing the user to change values
Summary: Using a configuration file for pem allowing the user to change values
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pem
Version: 10
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: kushaldas@gmail.com
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-20 09:35 UTC by sankarshan
Modified: 2009-06-23 07:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-23 07:20:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description sankarshan 2009-04-20 09:35:00 UTC
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 11:56:57 UTC
(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.