-
Notifications
You must be signed in to change notification settings - Fork 35
Wakatime.com migration #196
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
base: main
Are you sure you want to change the base?
Conversation
@maxwofford how do i test hackatime v1 migrations? i need a database url apparently... |
any progress? |
migrating is done, but i want to polish more things down the line |
Is this abandoned @SrIzan10? |
no, just waiting for max to respond. wanted to check if hackatime v1 heartbeats weren't duplicated when migrating. i'll probably find a way to do it myself, so i guess i can move on to mirroring the heartbeats |
see muety/wakapi#87 |
technically yes, but this project is using ruby on rails, not golang. and he had some problem to integrate this, because it will overlap the hackatime v1 data so ended up doubling the data on the hackatime. not sure how he'll fix this problem tho. i wish i can code ruby languange. i'll help this man fr |
I'm referring to their techniques to prevent duplication. That is not language bound |
i didn't notice that, thank you! i'll work on it this weekend. |
they don't have 2 wakatime datas at the same time tho, i don't know which one did you call "duplication" |
alright, i think it's good enough, though i think that if you first migrate wakatime and then hackatime it might still duplicate |
maybe it'd not because of the unique constraint in |
|
fairly certain we do store it differently there. I'm not entirely sure as that was something I didn't touch that much when creating hackatime. I think I adjusted it to account for some new fields but that was it |
@taciturnaxolotl have you touched this? |
Nope; only bit im familiar with is the summary endpoint since I made it |
i think we're one step closer, then! i don't know when wakatime syncing will be pushed to production though, so maybe this pr will get pushed back until that gets done since it's getting the api key from there. |
i had #85 in mind for this pr, but max already has done this upstream, though still not in production. |
So if it's already in main, what does this PR do? |
initial work for migrating wakatime.com heartbeats to hackatime v2.
still not done:
mirror to wakatime.com (i'll probably leave this for another pr)max has already implemented this