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

Proposal: global configuration #48

Closed
mgaitan opened this issue Jul 2, 2015 · 3 comments
Closed

Proposal: global configuration #48

mgaitan opened this issue Jul 2, 2015 · 3 comments

Comments

@mgaitan
Copy link

mgaitan commented Jul 2, 2015

the docs says I can customize the configuration by adding a file timaglass.json in the root of my git repo. This not only increase the pollution of boilerplate files but it's also very common that we want the same config in every repo we work on.

For example, mine's is like this:

{
    "mbu": "1m",
    "commit_message": "",
    "auto_push": false
}

so, should I copy&paste this file each time I start a new project?

I propose a global editable file in ~/.config/timeglass/timeglass.json.
the priority should be

  1. local custom configuration
  2. global custom configuration
  3. defaults.
@advdv advdv mentioned this issue Jul 2, 2015
36 tasks
@advdv
Copy link
Contributor

advdv commented Jul 2, 2015

Hey Martin, thanks for the feedback. I'm in the mids off rolling out a new version #41 (0.6.0), and since you're the second person requesting this feature ( #43 ) i'll look into the possibility of including a global configuration.

@mgaitan
Copy link
Author

mgaitan commented Jul 3, 2015

cool, thanks

@advdv
Copy link
Contributor

advdv commented Jul 5, 2015

I rolled out a new release that includes a way of defining system wide default configuration, we won't be able to do this per user yet but hopefully that will be possible in the future. I hope you like it, and please try it out and let me know how it goes.

@advdv advdv closed this as completed Jul 5, 2015
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