-
Notifications
You must be signed in to change notification settings - Fork 1
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
git-branch-db design rationale #15
Comments
+1 Not sure about |
I'm still thinking about multiple projects. I think I want to have repository for each client that I have and push my entries to calculate total amounts. But I don't want to do any merges. Maybe we should have a subdirectory with project name. We don't have to resolve this problem now, this should be easy to fix later. |
I want to have a repository for every project that I work on, even if it means multiple repositories for multiple projects of the same client. Also I think it would be pretty cool to be able to push entries to the same repo that keeps the code. Merge is not going to be necessary for a person working on multiple projects. But rather for a client who would like to have files from multiple developers in the repository. In such case merge is required. I am not sure if I speak clearly about this topic. Am I ? |
Now i get your point... maybe a subdirectory with a project name is a good idea indeed. |
This should be fairly easy. Pushing muon branch to correct ref in git repo should be enough. BTW maybe it would make sense to call default muon branch differently than
The client has to make those merges on different branch than entries pushed from developers (otherwise developers will have to pull merge commits before pushing new entries). If we supported statistics across branches, the client would not have to create any commits. I think a stats GUI could have a list of branches and you'd just select them with checkboxes. |
New rationale after our discussion File system
File content
|
|
There is a redundancy when keeping date in filenames. I think we should clarify where does this date come form (date of entry creation, start date or stop date) and what to do if it's inconsistent with file contents. I'd say year-month-day in filename must be equal to start date. I'd prefer to relax this constraint for time because it may be convenient to fix time of an entry manually, without having to rename a file. There is also this case of entries spanning more than one day. I think we should definitely handle properly entries started before midnight and ended on next day. Not sure about entries ended two days later than started… |
File system
[email protected]
File content
Tracking stores data in
JSON
so that they can be easily parsed by third-party services.YAML
would not be ok in that case.The text was updated successfully, but these errors were encountered: