cullylarson / harvest-sync Goto Github PK
View Code? Open in Web Editor NEWSyncs time-sheets between two Harvest accounts.
Syncs time-sheets between two Harvest accounts.
If two times are on the source, with the same date, hours and one time with that date and hours is on the destination, then both of those source times will think the one destination time is itself, and so one won't be copied.
For example:
Source:
2015-10-18
(1) A/B/C (1.00)
(2) A/B/C (1.00)
Dest:
2015-10-18
(3) D/E/F (1.00)
Both (1) and (2) will think that (3) is itself, on the destination, so they won't be copied.
The solution would be to make sure that one destination time isn't "found twice".
Would be useful for reporting (e.g. to see if any times on the dest are missing on the source)
Basically be able to confirm the sync in the command, so you aren't prompted (e.g. harvest-sync --yes path/to/config
)
Maybe also do a harvest-sync --no path/to/config
to just get the summary report, and not perform the sync.
This is because each sync item queries all of the days for harvest, on its own. Might be better to have a cache of days (e.g. in the repo). Maybe do the cache for all the repos.
Maybe add a flag, or sub-command (e.g. harvest-sync config
)
Doing it in some places, not in others.
They aren't very descriptive.
It would be better to let the caller determine what to do on failure.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.