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

New schema prototype (2.x.x) #38

Closed
IonicaBizau opened this issue Feb 23, 2015 · 4 comments
Closed

New schema prototype (2.x.x) #38

IonicaBizau opened this issue Feb 23, 2015 · 4 comments
Assignees
Milestone

Comments

@IonicaBizau
Copy link
Owner

I'm thinking at the ~/.git-stats file prototype which will be implemented starting with version 2.0.0.

{
    "commits": {
       "<date>": ["628947f965..........ea9689ca747", "..."]
    },
  , "remotes": {
        "git@github.com:IonicaBizau/git-stats.git": ["git-stats-hash1", "git-stats-hash2", ... ]
      , "git@github.com:IonicaBizau/git-stats-importer.git": ["git-stats-importer-hash1", "git-stats-importer-hash2", ... ]
    }
  , "config": {
      "light": true
   }
}
  • commits: an object with dates, being arrays with unique commit hashes.
  • remotes: an object with remotes, containing arrays with unique commit hashes
  • config: defaults, aliases ❓

I'm trying to cover the feedback from the following issues:

If you have any ideas how to improve this, please leave comments here. 💬

@Flyingmana
Copy link

sounds reasonable, but I wonder if a switch to an sqlite file for storing the commits is better in the long run. But I also dont know, from which file size on this makes sense.

@IonicaBizau
Copy link
Owner Author

After reaching the 3k stars milestone I will start working on the 2.0.0 version. 😄 🌟 🎆

@IonicaBizau
Copy link
Owner Author

So, I'm planning for the next week to start the work on 2.0.0. 🌟 Any suggestions, ideas you have, please share them here and we can discuss how to implement different things.

@IonicaBizau IonicaBizau self-assigned this Jul 12, 2015
@IonicaBizau
Copy link
Owner Author

The config things are moved in ~/.git-stats-config (see #58) for more information. 💫

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants