Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config file in ~ #22

Closed
ushis opened this issue Feb 27, 2012 · 4 comments
Closed

config file in ~ #22

ushis opened this issue Feb 27, 2012 · 4 comments
Assignees
Milestone

Comments

@ushis
Copy link
Owner

ushis commented Feb 27, 2012

add support for config files in ~/.config/ where people can add shortcuts and stuff... something like ~/.ssh/config

Repo fancystuff
    Path /srv/ftp/fancystuff
    Foo Bar

People can call local-repo fancystuff -l

@ushis
Copy link
Owner Author

ushis commented Feb 27, 2012

will use json for that,

+1 great python support
+1 easy to read/write for humans

-1 no comments allowed in json

= +1

@ghost ghost assigned ushis Feb 27, 2012
@ushis
Copy link
Owner Author

ushis commented Mar 20, 2012

Added config file support - its in the config branch and works good for me, but some tests would be nice. anybody interested? @feuri? Here is my config file from ~/.config/local-repo (Testers should change the paths):

[ushi]
path = /home/public/Arch
cache = /tmp/local-repo-cache

[test]
path = /tmp/test

i can type $ local-repo ushi -l

@feuri
Copy link

feuri commented Mar 20, 2012

Tested, everything seems to work properly.

@ushis
Copy link
Owner Author

ushis commented Mar 20, 2012

@feuri Thx. I will merge it into 'devel'

@ushis ushis closed this as completed Mar 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants